4- reply cue
DISCOVER: mapping value , servo motor , using built-in libraries
use a servo motor to make a mechanical reply to point out if i agree when my sisters or friends ask me to give them one of my things :)
SERVO MOTOR : are a special type of motor that don't spin around in a circle but move to specific position .. servo motor usually only rotate 180 degrees
i use a function called map( ) to change the scale of the values coming from the potentiometer , because the servo only rotate 180 degrees and the analog input goes from 0 to 1023 .
A potentiometer is a type of voltage divider , simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value.
INGREDIENTS : potentiometer , servo motor , 100 uf capacitor