Society of Robots - Robot Forum

Software => Software => Topic started by: renepaulsen on June 18, 2012, 11:39:51 AM

Title: How to control a brushless motor
Post by: renepaulsen on June 18, 2012, 11:39:51 AM
Hello guys.
I have just finished my 2nd semester in mechatronic engineering (so yeah, I am kind of a beginner), and now I want to make a project on my own.
I want to build a quadcopter. In the beginning just rather simple.
However, I do not know how to program the motors (I know about programming servos). And everytime I search for it on Google, all I get is some DIY kit, or a link to an arduino site (Arduino Autopilot).

I am thinking about using this motor:
http://www.hobbyking.com/hobbyking/store/__5423__FC_28_12_Brushless_Outrunner_1534kv.html (http://www.hobbyking.com/hobbyking/store/__5423__FC_28_12_Brushless_Outrunner_1534kv.html)

This ESC:
http://www.hobbyking.com/hobbyking/store/__25112__HobbyKing_Red_Brick_20A_ESC.html (http://www.hobbyking.com/hobbyking/store/__25112__HobbyKing_Red_Brick_20A_ESC.html)

Microcontroller:
NXP P89V664 (based on the 8051 by Intel)
http://www.nxp.com/documents/data_sheet/P89V660_662_664.pdf (http://www.nxp.com/documents/data_sheet/P89V660_662_664.pdf)

So basically, my questions are:
Could this setup work?
How do I program the motors?
Title: Re: How to control a brushless motor
Post by: adanvasco on June 21, 2012, 11:11:22 PM
Is it going to be radio controlled (RC)? If that is the case, I think that you probably won't need the uC.