Help! servo reverse! RC DRIFT

Hi everyone! I'm looking to program a servo on my rc to run the other direction while in tandem with the steering servo to run the steering wheel in the correct direction.

I'm thinking I should be able to splice the signal cable through a nano board to change the direction but I'm unsure how to code.

I'd like to be able to control the EPA as well but if that's easier said than done I'll at least settle to have the correct direction.

I am aware of ways of doing this by modding the servo itself but it doesn't appear feasible on the tiny ones I'm using.

Thanks in advance!

1 Like

What servos? Tiny isn't really enough specification. Are you talking about a continuous rotation servo or a real positional servo? Also what is "the EPA"?

Steve

1 Like

You can buy servo reversers that will do this, check out eBay.

1 Like

yep, but i have nano boards here.

1 Like

epa is end point adjustment. the servos are irrelevant really. Just want to flip the signal.

1 Like
  // Translate 2000 uS pulse to 1000us and 1000us to 2000us.
  Servo.writeMicroseconds(ServoPin, 3000 - pulseIn(InputPin, HIGH, 25000UL));
1 Like

How would that be wired? Sorry I'm very new to this.

1 Like

Post your code.

1 Like

I have no code

1 Like

Then you need to write (or find) some. The process is approximately

  1. Read in the existing servo signal - pulseIn() is the command you'll need.
  2. Write the value you've read to one servo using writeMicroseconds().
  3. Write (2400 - that value) to the other servo.

There are many examples available of reading a value from an RC receiver channel and sending it on to one or more servos with or without modifications. A search on "arduino RC receiver servo"willfind loads of them. No fiddling about with wiring. Both servos are wired exactly as normal.

Steve

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.