Skip to content

ufnalski/pwm_signal_generator_g431kb

Repository files navigation

Adjustable PWM generator with presets (STM32G431KB)

If you don't have a bench PWM signal generator, build one. Take an inspiration from my STM32 HAL example of an adjustable PWM generator with presets - a rudimentary one, yet quite useful 🙂 For starters, our DUTs (devices under test) will be: an SG90 servo (180 degrees), an SG90 drive (continuous 360 degrees), an Audi A4 throttle body, and a drone BLDC motor ESC.

PWM signal generator and SG90 servos PWM signal generator (back view) PWM signal generator and drone BLDC motor ESC Audi A4 (B6) throttle body Audi A4 (B6) throttle body closed Audi A4 (B6) throttle body open BMW F60 coolant pump PWM (Bosch PCE) BMW Countryman (F60) coolant pump

Missing files?

Don't worry 🙂 Just hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32G4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.

Exemplary DUTs

What's inside the Bosch PCE circulation pump?

Coming soon 🔜

What next?

I challenge you to develop a closed-loop control of a butterfly valve 😎

Call to action

Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, ElectroBOOM, Electronoobs, Phil's Lab, atomic14, That Project, Paul McWhorter, Sara and Rui Santos (Random Nerd Tutorials), and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them!

Warning

Control in drives - do try this at home ❗

200+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.

Stay tuned ❗