06 Arduino to control a servomotor with potentiometer

Опубликовано: 13 Июнь 2026
на канале: Marco Formentini
465
1

in this video we are going to control a servo motor with the potentiometer,
the servo motors are composed of an engine that allows for the movement and a position sensor indicates in exactly which point is located.
servo motors have the characteristic to normally rotate for a maximum of 180 degrees.
the Arduino will serve in this case to read a value of a variable resistance (potentiometer) and transform it into a signal to be sent to the yellow wire of the servomotor.
Once you uploaded the sketch by turning the potentiometer clockwise and counterclockwise servomore turn.
I have added the ability to read the serial port degrees