Tag Archive: motor


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.

Continue reading

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.

Continue reading

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.

Continue reading