|
|
|
|
|
Thanks you very much for this extremely useful hack offered to the community!
Can you confirm this will work? http://rctimer.com/index.php?gOo=goo...7&productname= |
|
|
|
|
|
|
||
|
|
Quote:
|
|
|
||
|
|
||
|
Slovakia
Joined Apr 2005
3,380 Posts
|
Quote:
I get interested in 2in1 version, as there is a lot of tanks/robots/construction machines or even toy ships and so on, driven by two motors.. and there are three wires at BL ESC ![]() It may need carefull control in case of running opposite ways, to avoid brake effect of second motor when first gets power... 50:50 in oposite direction could be trouble-free just by turning the middle fets off and apply some PWM to both motors in series, but how is it when one should get more power and second should keep turning, even if slow? I just guess mow but I will try that... Those two signal lines from Rx are coupled together into ESC signal, simply by diodes ? Perhaps must not be neighbour pins to detect gap between two pulses? |
|
|
||
|
|
|||
|
Slovakia
Joined Apr 2005
3,380 Posts
|
Well, a brake is there, but only in center it is real brake - pulling the stick applies battery power in reverse, no detection whether motor still turns..
I did succesfull 2in1 hack by very simle cheat - doubled few lines of code (Throttle1/Throttle2, PWMOUT1/PWMOUT2) , turning YOUR code it into 2in1. Tested succesfully, even with two neighbour outputs of receiver, }coupled by two diodes and with resistor to gnd) - it works with zero problems. For today, for a case of opposite direction motors, I did just turned backward motor OFF completely. So You may proportionaly control both forward, or both backward, or only one forward instead of two opposite (one dead-stick if pulling down from center with other motor forward).. A bit cheating, but one evening job with result great for me.. and I should upgrade this part.. Thank You once again. EDIT: i took a test video ]xxxxold_versionxxxxhttp://www.youtube.com/watch?v=uJh8V3VKyrQ EDIT2: Added "failsafe" to stop without signal, and opposite motor rotation at 50%:50% of PWM. And mix of two channels to use oldest transmitter without mixes, so one signal is throttle and second steering. Attached is also my moddified code. I am sorry but the code is now far from nice, it was made just by attempts and errors and it is visible in it. (in contrast with beautifull original.. shame on me). But it works:
|
||
|
|
||
|
Northern Interior BC, Canada
Joined Dec 2008
18 Posts
|
Quote:
![]() Wondering if this will work well, then, as a MOA crawler esc for a single brushed motor? How do you adjust the deadband and drag brake? Will this work for all ESCs that SimonKs firmware works with? And does it work with only NFet ESCs? |
|
|
||
|
|
||
|
Canada, BC, North Vancouver
Joined Dec 2010
895 Posts
|
Quote:
![]() The deadband and brake are set at the top of the .asm file. I was testing V3 on an all-N ESCs (RCTimer 40A) with ir2101s FET drivers, and had some problems. The PWM frequency seemed really low, like 700Hz, with V3, so I tried V2. V2 worked fine, but there some some current burst when switching directions. I was fiddling with it, then pop goes a FET, even on my current-limited supply. Hmm. Anyway, what's up with V3? I don't see in the source why PWM would be slow. Maybe some interaction with my servo tester's pulse rate. Also, I wonder how long it takes the bootstrap capacitor to discharge. With this sort of design, it probably needs to be off every so often to let it recharge. Edit: Nah, looks like it's intentional. Didn't want to make the PWM frequency fully adjustable, eh? Maybe I'll merge some of my code with yours.
|
|
|
|
|
|
|
I have one 40A that was dead on arrival. Tried replacing the 5 volt regulator that powered the board's elections (Not the BEC) because when the ESC was powered from the ISP programmer, the motor beeped and it would acceptflashing. However, when the ESC was powered normally, it was dead. Because I had flashed it, I could not return it. Based upon this experience, I now check all ESCs before flashing. Not sure if this is a similar situation as your but again, maybe it is.
|
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion Brushless ESC with a brushed motor | soprano1 | Power Systems | 7 | May 05, 2012 01:10 PM |
| Discussion ESC - brushed/brushless | emeraldPark | Electric Motor Design and Construction | 1 | Mar 14, 2012 09:13 PM |
| Found WTT: My Pro Boat Brushless ESC for your Pro Boat Brushed ESC | Diegoboy | Boats (FS/W) | 12 | Dec 23, 2011 09:48 PM |
| need reversable speed control with no delay | aaronredbaron | Power Systems | 0 | Jul 31, 2003 04:40 PM |