Go Back  R/C Tech Forums > General Forums > Radio and Electronics
Getting an esc to do reverse from a microcontroler >

Getting an esc to do reverse from a microcontroler

Getting an esc to do reverse from a microcontroler

Old 07-22-2013 | 01:30 AM
  #1  
Thread Starter
Tech Rookie
 
Joined: Jul 2013
Posts: 3
Default Getting an esc to do reverse from a microcontroler

HI


i'm trying to use a microcontroler (arduino) to control an ESC (the Dynamite tazer 15T)


i am giving it a PWM signal sweeping from 1 to 255 (when i hook up a servo it does a 180 back and forth) but i only seem to be getting forward
can anyone tell me what signal i should send it to get it to go reverse??

any suggestions welcome

Kind regards

Wouter

Last edited by wouter; 07-22-2013 at 04:07 AM.
wouter is offline  
Old 07-22-2013 | 04:14 AM
  #2  
Tech Champion
 
Joined: Oct 2007
Posts: 7,342
Default

Did you go through the ESC calibration-programming procedure? Also there may be a delay going into reverse to allow for braking and reduce abuse on the transmission and such.
Dave H is offline  
Old 07-23-2013 | 01:07 AM
  #3  
Thread Starter
Tech Rookie
 
Joined: Jul 2013
Posts: 3
Default

I tried to last night, hooked up a pot to do so, but couldn't get it to work it does stay still for about 50% of the travel on the pot


i looked at the manuel for this esc and it mentions a programing button, but i dont see a buton annywhere , just an off-on switch and 2 leds, onbe red and one green, the red one had a icn of a shield next to it.
wouter is offline  
Old 07-23-2013 | 04:05 AM
  #4  
howardcano's Avatar
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,784
From: Olathe, KS
Default

Originally Posted by wouter
i looked at the manuel for this esc and it mentions a programing button, but i dont see a buton annywhere , just an off-on switch and 2 leds, onbe red and one green, the red one had a icn of a shield next to it.
You might be looking at the wrong manual. The shield icon next to the red LED is on the 15T WP (WaterProof) version. The WP version has no calibration button.

Here is the manual for the 15T WP:

http://www.horizonhobby.com/pdf/DYN4925WP_Manual.pdf

The manual has absolutely no instructions for calibration! However, the 12T WP manual does, so you might try that:

http://www.horizonhobby.com/pdf/DYN4927WP_Manual.pdf
howardcano is offline  
Old 07-23-2013 | 08:27 AM
  #5  
Tech Fanatic
iTrader: (13)
 
Joined: Oct 2011
Posts: 875
From: Round Lake, IL
Default

If I'm remembering correctly, isn't Neutral Throttle actually 50% duty cycle, forward is 51-100% and reverse is 49-0%? If your ESC is auto-calibrating (whatever duty cycle it sees on boot = neutral) this could be your issue.
WindDrake is offline  
Old 07-23-2013 | 09:25 AM
  #6  
howardcano's Avatar
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,784
From: Olathe, KS
Default

Originally Posted by WindDrake
If I'm remembering correctly, isn't Neutral Throttle actually 50% duty cycle, forward is 51-100% and reverse is 49-0%? If your ESC is auto-calibrating (whatever duty cycle it sees on boot = neutral) this could be your issue.
No, the usual control range is from a positive-going pulse of about 0.9 to 2 milliseconds length. (The repetition rate is usually in the range of 7 to 20 milliseconds, but that doesn't determine servo or throttle position.) The so-called neutral point is different for different manufacturers and radios. It's usually around 1.2 to 1.5 milliseconds.

That's for old-school equipment, not the latest, proprietary "high-rate" stuff.
howardcano is offline  
Old 07-24-2013 | 04:07 PM
  #7  
Tech Champion
 
Joined: Oct 2007
Posts: 7,342
Default

+1 Pretty much what I have seen including some variance on neutral. Many of the newer transmitters have a shorter period (aka frame rate on some radios) that requires digital or at least modern servos. Helps increase responsiveness and reduce latency.

Here is a typical graphical representation of the traditional signal (of course in practice it won't be this square):

Dave H is offline  
Old 07-24-2013 | 06:25 PM
  #8  
Tech Fanatic
iTrader: (13)
 
Joined: Oct 2011
Posts: 875
From: Round Lake, IL
Default

Aha, that's right. PWM, not PFM. Whoops.
WindDrake is offline  
Old 02-28-2014 | 09:00 PM
  #9  
ErikP's Avatar
Tech Rookie
 
Joined: Feb 2014
Posts: 6
From: Houston
Default DYN4925WP Control

I see that you were working on this.
With mine, I can not get it to do reverse after doing forward movement.
I've tried many different versions of the code following the forward movement. I had similar code work in the past and lost it.


Can you help me?
CODE: (with attempts commented out)

steeringPin.write(Left);
delay(1000);

//throttlePin.write(Stop);
// delay(5000);
throttlePin.writeMicroseconds(2000);
throttlePin.write(RVS);
//throttlePin.writeMicroseconds(2000);
throttlePin.write(Stop);
delay(2500);

throttlePin.write(RVS);
delay(150);
throttlePin.writeMicroseconds(0);

steeringPin.write(Strait);
delay(1000);
ErikP is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.