47. How to Control the PWM Output with the ADC and a Potentiometer  - STM32 ARM Microcontroller @PatrickHoodDaniel
47. How to Control the PWM Output with the ADC and a Potentiometer  - STM32 ARM Microcontroller  @PatrickHoodDaniel
Uploaded September 2017 | Updated November 2026, 3 days ago
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
amazon.com/dp-B09PHBT859/dp/B09PHBT859

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

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



Please watch: "Buildyourcnc CNC Router on Love Yurts"
youtube.com/watch?v=90KkIO-67Qk --~--
Patrick's Tip Jar:
bitcoin:1Gtawd29Sgu5CdvfUnkRg1YBfowCawjFdH
Ether:0xa962365100011B79097A7bb9DD51A53eE98266bb
If you have found this video to be helpful, consider making a tip. Thanks.

In this video, I start out trying a experiment that does not work where I try to read the PWM voltage out using the ADC, but the speed that the ADC reads the pin is too fast to discern the PWM output as a voltage (only as a pulse).

I continue with a more promising experiment where I control the PWM using the ADC that is varied with a potentiometer.



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


Want to have your own Patreon campaign? patreon.com/invite/wpllxz
47. How to Control the PWM Output with the ADC and a Potentiometer  - STM32 ARM Microcontroller45. How to: Edge Aligned PWM (Pulse Width Modulation) Signal Part 3 - STM32 ARM MicrocontrollerEpic 6-Hour CNC Electronics Retrofit Crushed into 14 Mins: The Ultimate DIY Overhaul!Watch Me Build Closed-Loop CNC Electronics in 25 Minutes1) STM32 ARM Microcontroller Series IntroductionPokeys57CNC and Mach4 Part 1: Software Installation, Connect to Power and Test Software ConnectionLast Daily Live Stream. Discord: https://buildyourcnc.com/discord8) ARM STM32 Microcontroller Tutorial Change the Internal Clock Speed! Using CubeMX and Register58. How to: I2C Circuit and Initialization - ARM STM32 Microcontroller TutorialLaser Controller Trocen AWC708C Setup Part 2Customer Plasma Electronics (Internal - For Reference Only)57. I2C How to. An introduction to the I2C Protocol for the ARM STM32 Miorcocontrollers - Tutorial
BuildYourCNC |

47. How to Control the PWM Output with the ADC and a Potentiometer - STM32 ARM Microcontroller

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER