Motors
To Do : Make something move. Try to use an analog sensor.
Here is my schematic:
And my motor worked:
Here is my schematic:
Connect power and ground on the breadboard to power and ground from the
microcontroller. On the Arduino module, use the 5V or 3.3V (depending on
your model) and any of the ground connections, as shown in Figures 9
and 10.
Program the Microcontroller
First, find out the range of your sensor by usinganalogRead()
to read the sensor and printing out the results.And my motor worked:
Comments
Post a Comment