Archive

Posts Tagged ‘motor’

Arduino: Servo motor control with potentiometer and calibration.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external potentiometer (input device) can move the position of a servo motor (output device) clockwise or counterclockwise. The system also features two LEDs which – each time the value of the potentiometer changes – change their brightness in such a way that it is obvious in which side of the servo motor are.

For example, when the potentiometer is in the extreme left position then the left LED is lit 100% while the right one 0% (or vice versa). Finally, when the sketch starts running, it calibrates first the potentiometer.

Read more…

Arduino: Servo motor control with a light sensor.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external light sensor, as e.g. a photoresistor, one can move the position of a servo motor clockwise or counterclockwise.

Read more…

Arduino: Direct control of a servo motor.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which moves continuously a servo motor but without the help of the pre-developed “Servo” library but by direct communication, sending the appropriate PWM output to the motor. That way you have clearly complete control of the servo motor, saving enough memory and achieving better response times with less delay.

Read more…