embedded:adventures:pots
Servos can be controlled directly by using a potentiometer or variable resistor. That is, turning the potentiometer clockwise will make the servo turn clockwise, and vice versa (or the opposite, depending on your code). This works by the mBed reading the value of the potentiometer as an input, then outputting a signal to the servo depending on the value it read in.
Video 1: https://www.youtube.com/embed/RNStyzFwntw
- Here we moved a servo by using a potentiometer
Video 2: https://www.youtube.com/watch?v=fa3wEQgZdTA
- Here we moved multiple servos in the robot arm using just one potentiometer
Code: coming soon
embedded/adventures/pots.txt · Last modified: 2024/08/20 21:38 by 127.0.0.1