SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
Old May 15, 2012, 05:39 PM
Quad Whisperer
Joined Jul 2008
945 Posts
Here is a new version. It has arming and the motor is stopped if signal is lost.
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Sign up now
to remove ads between posts
Old May 16, 2012, 04:49 AM
hacker
Canada, BC, North Vancouver
Joined Dec 2010
936 Posts
Nice minimal code. Impressive! I like your "ldy" macros and pwm measurement, and it's nice that the hardware PWM can work on those boards. Cheers
simonk is offline Find More Posts by simonk
Reply With Quote
Old May 16, 2012, 01:40 PM
Quad Whisperer
Joined Jul 2008
945 Posts
Thanks!

I would like to to see a C compiler make a same size binary.

But then C code is actually human readable!

At least AVR ASM is better than the train wreck called PIC ASM
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old May 23, 2012, 05:12 PM
Quad Whisperer
Joined Jul 2008
945 Posts
RC Switch

Here is a firmware to convert the ESC to a RC controlled switch.

Load+ is connected to battey+ and load- to any or all of the motor wires.

It looks for 10 input pulses in a row, without timeout, above 1500 uS to turn on. Else it stays off. It will not turn on due to a few glitches.
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old May 28, 2012, 12:29 PM
Registered User
Joined May 2011
9 Posts
Yes that binary size is impressive. Probably could have done my implementation in assembly but I chose not to to keep myself sane.

I also do lots of things in software to keep it generic for multiple ESCs I think I have done about 15 different ESCs myself though I haven't pushed up to the repository lately.

Feel like re-implementing my 2in1 controller in assembly so I can then port it to the 4k SiLabs chips.....
2in1 Test Drive (0 min 48 sec)
SteveQRSC is offline Find More Posts by SteveQRSC
Reply With Quote
Old Jun 02, 2012, 03:23 AM
Quad Whisperer
Joined Jul 2008
945 Posts
Quote:
Originally Posted by SteveQRSC View Post
...in assembly but I chose not to to keep myself sane. ...


Good job on the 2in1 controller. I assume motor power is max 50% when motors goes opposite ways and 100% when going same direction? Motors are controlled simultaneously when going in the same direction and alternating when going opposite ways?

I wish there was robot fighting here in Norway, it seem like a load of fun!
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old Jun 02, 2012, 03:40 AM
Quad Whisperer
Joined Jul 2008
945 Posts
Here is the newest version. It solves a problem that is common to many bi-directional brushed motor controllers without brake.

The problem: driving at full speed, lower the throttle to coast, and just passing to the reverse side causes full braking.

This is caused when only lower or upper side of the bridge is switched.

This version switches both low an high side. Now it is possible to get a seamless transition from braking to reverse just by giving reverse throttle.

Makes it much more fun to drive cars like the Lunch Box or the Wheelie king. No need for braking, neutral, then reversing. Brake and reverse in one throttle movement. This also applies for going reverse, then forward.

I also have applied sounds: power on, arming and over temp alarm.

And I almost forgot: a adjustable dead band and adjustable drag brake for crawling! Works very well!

Enjoy
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old Jun 19, 2012, 08:20 AM
Quad Whisperer
Joined Jul 2008
945 Posts
Here is a video of my Nikko Razer with modded ESC's:

The resurected Nikko Razer (1 min 19 sec)
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old Jun 24, 2012, 04:17 AM
Registered User
Joined Jun 2012
1 Posts
Turnigy 20A esc non reversible

i have a few lying around. can i mod the esc to have reverse? how? please reply
tawandapro is offline Find More Posts by tawandapro
Reply With Quote
Old Jun 24, 2012, 09:13 AM
Quad Whisperer
Joined Jul 2008
945 Posts
Brushed or brushless ESC?
kapteinkuk is offline Find More Posts by kapteinkuk
Reply With Quote
Old Aug 02, 2012, 05:52 PM
Registered User
Joined May 2012
3 Posts
How do you actually put the firmware on the ESC?
Masa159 is offline Find More Posts by Masa159
Reply With Quote
Old Aug 03, 2012, 07:49 AM
Registered User
tigar's Avatar
Athens, Greece
Joined Sep 2001
1,167 Posts
Quote:
Originally Posted by Masa159 View Post
How do you actually put the firmware on the ESC?
I think the same way they flash the Simonk firmware for multis.
tigar is offline Find More Posts by tigar
Reply With Quote
Old Aug 03, 2012, 09:36 AM
We want... Information!
Bruce Abbott's Avatar
Hastings, New Zealand
Joined Jan 2001
5,193 Posts
Quote:
Originally Posted by Masa159
How do you actually put the firmware on the ESC?
RCTimer/Turnigy/Hobbywing ESC DIY Firmware Flashing
Bruce Abbott is offline Find More Posts by Bruce Abbott
Reply With Quote
Old Sep 15, 2012, 04:43 PM
Registered User
danielnc06's Avatar
United States, NC, Charlotte
Joined May 2010
150 Posts
Edit: I tried the rc switch a second time and it worked!, no more heat either.... just no variable brightness.. oh well.

One observation... with the LEDs... in the Off position.. they glow just faintly....is this bleed through or possibly part of the code?

Thank You KK
__________________________________________________ _____________________________
A quick question regarding this. I reflashed this model of esc (hobbywing 25A):


to the brushless firmware.. works great although I am using it to act as a variable brightness led switch.. and i am testing it out while powering an stick-on led strip of about 45 leds..... it works great except that it is getting pretty warm..much warmer than i would of though I would estimate about 120-130degrees F. Is this the model with the "bootstrap" capacitor that was mentioned earlier and this is a malfunction or do you think its just running this hot since because its leds...I would not think it get this hot... they should only be pulling about .3-.4 A total max...

I did try the rc switch firmware with no luck before this.....
__________________________________________________ _____________________________________________
danielnc06 is online now Find More Posts by danielnc06
Last edited by danielnc06; Sep 15, 2012 at 11:26 PM.
Reply With Quote
Old Sep 15, 2012, 09:02 PM
Registered User
danielnc06's Avatar
United States, NC, Charlotte
Joined May 2010
150 Posts
A very good thread for this topic with the pinouts of most esc's on the market:

http://www.rcgroups.com/forums/showt...ght=esc+pinout
danielnc06 is online now Find More Posts by danielnc06
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Brushless ESC with a brushed motor soprano1 Power Systems 7 May 05, 2012 02:10 PM
Discussion ESC - brushed/brushless emeraldPark Electric Motor Design and Construction 1 Mar 14, 2012 10:13 PM
Found WTT: My Pro Boat Brushless ESC for your Pro Boat Brushed ESC Diegoboy Boats (FS/W) 12 Dec 23, 2011 10:48 PM
need reversable speed control with no delay aaronredbaron Power Systems 0 Jul 31, 2003 05:40 PM