SMPS Chronicles I: Chapter 2 – PWM Modulator, Power Stage and Error Amp

With the addition of these 3 components, I had a fully functional boost converter! However, it is not without its (huge) caveats, and let’s just say that along the way, Murphy has paid me many, many visits. In Chapter 1 , we talked about the sawtooth generator, which connects directly to the an opamp responsible for generating a PWM gate drive signal. So, I thought it made sense to take a closer look at that next....

July 19, 2021 · 8 min · Infinus

STM32 MIDI Controller Part 4: Bit Angle Modulation LED Dimming

While PWM certainly is a mighty fine option to add dimming control to LEDs in your projects, there may be certain cases where it simply isn’t the best option. Maybe you don’t have enough PWM capable IO pins on your microcontroller? Or maybe manually bit-banging PWM control takes up too much CPU time? And you certainly aren’t about to fork out a bunch of cash for something like a TLC5940, and cheaper chips either are out of stock, are only stocked in pain-in-the-neck QFN packages, or are hopelessly backordered....

June 27, 2021 · 5 min · Infinus