Motors

To Do : Make something move. Try to use an analog sensor.

Here is my schematic: 

Schematic of of servo motor controlled by an FSR











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 using analogRead() to read the sensor and printing out the results.

And my motor worked:





Comments

Popular posts from this blog

Input/Output

Midterm projects, Analog output

FINAL PROJECT