My servo controlled by serial input
My first ‘real’ project, in which I’m planning to use Arduino is the use of a motor to move my blackout synchronized with my snooze.
So I decided that my first step is to control a servo using serial communication to move forward or backward the motor, accordingly with my keyboard input (’s’ and ‘w’).
Code, Assembly Video and
Video of controlling a servo using my keyboard: