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.
kjellhar
Posts: 39
Joined: Sun Jul 08, 2012 10:44 pm

Yet another BLDC controller

Postby kjellhar » Mon Aug 19, 2013 6:06 pm

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: 13125
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 769 times
Been thanked: 653 times
Contact:

Re: Yet another BLDC controller

Postby Giovanni » Mon Aug 19, 2013 7:42 pm

Ok, you gained bragging rights :)

Good work.

Giovanni

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Yet another BLDC controller

Postby Tectu » Mon Aug 19, 2013 9:50 pm

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

Postby kjellhar » Tue Aug 20, 2013 5:10 pm

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


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 1 guest