Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

48. Tutorial on how to control a Servo using the ADC Potentiometer on the ARM STM32 Microcontroller

8.8K views on YouTube

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1

I recommend using the STM32CubeIDE:
https://www.st.com/en/development-tools/stm32cubeide.html

You can still download the CoIDE here:
https://sourceforge.net/projects/coide/

Please watch: “Buildyourcnc CNC Router on Love Yurts”
https://www.youtube.com/watch?v=90KkIO-67Qk –~–

In this video, a hobby servo is controlled by an ARM Microcontroller. The duty cycle of the PWM signal controlling the servo is adjusted by the ADC using a potentiometer to adjust the analog signal in order to adjust the duty cycle of the PWM.

●●●●●●●●●●●●●●●

Hitec Standard Servo: http://amzn.to/2rSh7JQ
Hitec Hi Torque Metal Gear Servo: http://amzn.to/2sBk1Ay
Futaba Standard Servo: http://amzn.to/2sBmECp
Futaba Standard Ball Bearing Servo: http://amzn.to/2se0RmI
Futaba Standard High-Torque Servo: http://amzn.to/2sBEvZS

●●●●●●●●●●●●●●●

Equipment that I use to make videos:
Canon EOS Rebel: http://amzn.to/2rJSeh0
Macro Lens: http://amzn.to/2qaSKmK
Microphone: http://amzn.to/2qO2RB4
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): http://amzn.to/2ruFnSn
The drafting pencil I use on these videos: http://amzn.to/2qioYg2
The cheap oscilloscope that I use (because it’s cheap and will work all of the projects in these tutorials): http://amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: http://amzn.to/2qizK5M
The brand of multimeter that I use and the one I recommend: http://amzn.to/2qicUez

Want to have your own Patreon campaign? https://patreon.com/invite/wpllxz