Reprogramming Brushless ESCs - Complete - No Support Offered
Brushless ESC are now a very cheap device which can be bought from our friend hobbyking. These ESCs are great for planes but they don't quite fit what we need. So lets reprogram them to do what we want.
Controllers are now using Atmel and Silicon Labs microcontrollers. Both can be reprogrammed, however silicon labs MCU requires a different programming adapter.
Brushed Motor ESC
The brushless ESC consists of 3 half bridges. It should be possible to repurpose two of these to make a single H-bridge. This is similar to a brushed motor mode which is available in some high end controllers. This should be able to be done with most HK controllers.
Goals for Brushed Controller
This TODO list is much more complex in reality due different code for SiLabs and Atmel MCUs
Controller State
Special 2in1 Antweight Controller -Complete
Battle Tested in Antweight - Complete
Battle Tested in Beetle - Complete
Battle Tested in Feather- Complete
Compatible Controllers
TZ85A - Proven in Feather
F20A - Tested in Beetle & 2in1
Sentilion HV 100A (only tested on old version) - Testing with 12S on 100W scooter motors
Plush10 - Tested - Proven In Ant
TZ12A - requires soldering to MCU
HK10 - Proven in ant
Turnigy TI-PY 25A - Proven in Beetle, and still running @ 6S on drills in feather
Controllers Under Development
No more opensource development is current being undertaken.
Reversible Brushless Motor - Not currently under development
This would involve reprogramming and removing the delay with reverse. Some initial investigations have been made into this and it is definitely possible. For drive train applications it would almost certainly require sensored motors and controller. I could develop this but at this point in time I don't have time.
I am no longer providing support for those trying to program their own controllers. If you want pre-programmed controllers goto botbitz.com
_________________ Steven Martin
Twisted Constructions
http://www.botbitz.com
Last edited by marto on Fri Aug 07, 2015 9:25 pm; edited 32 times in total
Last edited by marto on Sat Feb 05, 2011 11:35 pm; edited 2 times in total
Sat Feb 05, 2011 10:10 pm
Knightrous Site Admin
Joined: 15 Jun 2004
Posts: 8511
Location: NSW
As per discussions on MSN, I suggest looking at Turnigy Brushless ESC 85A w/ 5A SBEC (
TZ85A
). This looks like a more combat ready controller physically and the amperage and voltage ranges should be suitable for the featherweight class. The size, weight and price of the TZ85A are very attractive.
Research still has to be done into each controller, but if it does prove successful, it might mean a new era for cheap, disposable speed controllers for everyone. _________________ https://www.halfdonethings.com/
Sun Feb 06, 2011 8:40 pm
Knightrous Site Admin
Joined: 15 Jun 2004
Posts: 8511
Location: NSW
Just to add some extra stuff to this project. If you blow up one side of h-bridge (half-bridge) on these controllers, it should be a simple case of reprogramming them to use the spare, 3rd half-bridge instead so the controller works as normal again. Therefore you might get a chance to blow it up twice before throwing it away _________________ https://www.halfdonethings.com/
As for amps I am not sure. Only way we will know is to test. But odds are for beetles it will still be cheapest option. Even if we can't do feather sized motors.
Also the schematic I uploaded is incorrect High C actually = High A
I am going to start a launchpad repository for the code as revision control is something which I really need. As I have a tenancy to throw away all the code then realise I need it all back.... _________________ Steven Martin
Twisted Constructions
http://www.botbitz.com
Last edited by marto on Sun Feb 06, 2011 9:16 pm; edited 1 time in total
I am pretty sure it should work. I just probably have bugs in my Code.
I am going to strip it back a little tonight and just see if I can get Bang-Bang with a RC input working. Might also wire up a LED to the spare motor wire for debugging. Finding uses for that extra channel already.
I am still wondering why no one has done this before.....
After quick look at PWM code I think there is something wrong with my timer setup. Sleep will tackle full PWM tomorrow. _________________ Steven Martin
Twisted Constructions
http://www.botbitz.com
Tue Feb 08, 2011 12:28 am
dyrodium Experienced Roboteer
Joined: 24 Aug 2004
Posts: 6476
Location: Sydney
Words do not describe the awesomeness, even proving bang/bang control via RC is enough, the days of grossly overpriced esc's are nearing their end... Wonder if any of the american guys have seen this yet... _________________ ( •_•)
Good work Steve.
I'll start testing the code on a few of my BESC's when I get back from NSW. I also have a few other ideas to bouce off you with regards to functionality.
Also, cheers for making me the 'Driver' on Launchpad _________________ https://www.halfdonethings.com/
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum