Search the web
Sign In
New User? Sign Up
intellibrain · IntelliBrain Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
using continuousrotationservo to control an esc   Message List  
Reply | Forward Message #254 of 418 |
Re: using continuousrotationservo to control an esc


Hi William,

You might try using the Servo interface directly, rather than the
ContinuousRotationServo facade. This will allow you to experiment with
various pulse widths to see how the ESC responds. Another option is to
use one of the pulse output ports. These have more flexibility in terms
of pulse duration and frequency. To create a pulse train similar to
what the servo ports do, you would have to have a high priority thread
wake up every so often to fire a pulse on the port.

Regards,

RidgeSoft Support


--- In intellibrain@yahoogroups.com, "William J. Rust" <wjr@...> wrote:
>
> Hi,
>
> I've finally gotten back to using my IB to control a TA RC car. The
> problem that I am having is that it won't go into reverse. When I use
> the RC controller, I have to flip it into reverse twice before it
> actually takes but I believe that to be an artifact of the controller
> instead of the esc. In any case, I recently got a javelin stamp and
used
> its servo port to make it go both forward and reverse. When I hooked
up
> both the IB and the JS to a 'sillicope, I found that the IB has a
> slightly shorter period than the JS. This might mean that the esc sees
> the pulse as being longer than it really is. When I shortened the
pulse
> times on the JS, it acted just like the IB does, not going into
reverse.
> The JS gives you really nuts and bolts access to the servo pwm. Is
there
> somewhere in the servo code that lets you do the same thing?
>
> Thanks,
>
> wjr
>
> --
> William J. Rust, PhD
>






Sat Mar 29, 2008 1:14 pm

ridgesoft
Offline Offline
Send Email Send Email

Forward
Message #254 of 418 |
Expand Messages Author Sort by Date

Hi, I've finally gotten back to using my IB to control a TA RC car. The problem that I am having is that it won't go into reverse. When I use the RC...
William J. Rust
wjrust
Offline Send Email
Mar 29, 2008
1:08 pm

Hi William, You might try using the Servo interface directly, rather than the ContinuousRotationServo facade. This will allow you to experiment with various...
ridgesoft
Offline Send Email
Mar 29, 2008
2:07 pm

I tried using Servo directly and it didn't work. However, using a pulse output port does work. I got the motors to turn both ways. I should know this but is...
William J. Rust
wjrust
Offline Send Email
Mar 31, 2008
8:41 pm

William, It's preemptive. All you need to do is give the thread higher priority. It isn't a simple matter to expose the lower level servo PWM control. The...
ridgesoft
Offline Send Email
Mar 31, 2008
8:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help