Yet another BLDC controller

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
Post Reply
kjellhar
Posts: 39
Joined: Sun Jul 08, 2012 10:44 pm

Yet another BLDC controller

Post by kjellhar »

Hi everyone,
I have started a small project to educate myself in Chibios, STM32 programming, and of course the art of making a BLDC motor turn. I have made an add-on card to the STM32F4Discovery, and I am currently writing software. The motor started to turn for the first time only a couple of hours ago, so it made sense to brag about it. I have not implemented the zero crossing detection yet since I wanted to measure with an oscilloscope on a running motor first. I'll add functionality in the coming weeks, and once I have tested the electronics, I will make it public for anyone to build. It's quite cheap, with all the components available at Farnell, and the PCB is a two layer card made at OSHPark.

Here is a video of the running motor: http://www.youtube.com/watch?v=LCDkIbIY6yk

And here is the source code: https://github.com/kjellhar/chibi-bldc

Also, I have implemented a pretty nice USB module on top of the chibios driver. If you want to talk USB, just plug it in and you can push packets through Chibios mailboxes. Libusb in the other end. I'm using Python and C on a Mac, and it is very easy.

Cheers,
Kjell
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Yet another BLDC controller

Post by Giovanni »

Ok, you gained bragging rights :)

Good work.

Giovanni
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Yet another BLDC controller

Post by Tectu »

Giovanni wrote:Ok, you gained bragging rights :)

Totally agreeing with this one. Impressive work, really well done!


~ Tectu
kjellhar
Posts: 39
Joined: Sun Jul 08, 2012 10:44 pm

Re: Yet another BLDC controller

Post by kjellhar »

Thanks,
I have had some more progress, but I will post more when I get the zero crossing detection going.
Post Reply