DIY buck converter with microcontroller

Tags: #<Tag:0x00007fa496d52680> #<Tag:0x00007fa496d52540>

Hi, I’m Mauro, I’m new here.

I watched this video from GreatScott https://youtu.be/ZiD_X-uo_TQ that shows how
he managed to create a buck/boost converter using a microcontroller.

There is also an short article about it here: https://hackaday.com/2016/11/22/a-buck-boost-converter-from-the-ground-up/

After watching that video, I thought I would have a go and try to build one too.
Someone may suggest it’s easier to buy something like that cheap from China,
but trying to build something like that could be a good learning experience.

I don’t have a lot of time, so this is likely to take me several months, so this post is a bit premature, but I thought I would mention it.

I’m currently looking at the microcontroller side using a beaglebone (just because I already have one), I’m happy to put the code in github once I have something decent going.

At some point (maybe Novemeber) if it’s possible, would be great if I could use the oscilloscope in your lab to see how it works.

Cheers, Mauro

welcome :slight_smile:

1 Like

That’s a awesome project! you can even use the PRUs inside the beaglebone!

1 Like

Thanks! yes I will use the PRU ( This repo shows some examples and documents on how to use the PRU, a bit challenging but interesting). Cheers

I did a good amount of experimenting with the beaglebone black that was a good learning experience, but I’ve then realised that the ADC provided on the board is not reliable, I wanted to continue using it so I wrote an assembly app that attempts to use hardware spi (using mcspi) to capture data from an external adc. However the mcspi peripheral doesn’t behave as I would expect and the documentation is not good.
So I’m thinking about switching to a more popular STM32 nucleo