PWM Speed control of DC motor

58 Views
Published
Using a MAX14870 to set speed of a brushed DC motor using the duty cycle of a PWM signal. This is using a 100Hz PWM frequency with 10,000 steps between 0 and 100% duty cycle.

The microcontroller is an STM32L476RG on a Nucleo development board.

The next step is testing the current monitoring capabilities of the MAX14870. The program sets the output low for 3 seconds, then sweeps the duty cycle for 10 seconds to 100%, then holds the output high for 3 seconds before repeating.
Be the first to comment