# RC Lawnmower: Joystick emulation: RC PWM to _custom_ DC conversion

TL;DR I need something to map 0-5v PWM signal to 4.6v-7v DC (~10mA), kind of like what an RC speed controller does.

I'm trying emulate a 2-axis, hall-effect joystick so that it can be controlled by PWM from a RC receiver. (The only part of the power chair I'm using is the 24v motors, batteries, wheels and controller.)

Now the joystick is a hall effect 2-axis joystick. I want to emulate the signals it is sending out. I already measured its outputs. It has five wires:

Red: 11.88v steady
blue: (left/right axis) 4.6v-6.95v, depending on joystick position - slight, static pulse
yellow: (forward/reverse axis) 4.6v-6.95v, depending on joystick position - slight, static pulse
black: ground


What I know so far:

• Arduino: can't output more than 5v, slightly overkill anyway
• RC speed controller: overkill in \$ and performance, and not typically customizable enough to allow for ~4.5v center, 7v forward, and 4.5v reverse
• custom circuit: Very time consuming - we would much rather use something off the shelf

Do you know of a path of lower resistance for solving this problem?

• Using PWM signals to control motor speed is very straightforward, you just need an amplifier (typically a single transistor) to increase the drive current. To add forward and reverse, try looking up 'H' bridges. – Icy Oct 16 '15 at 8:40
• I'm not trying to get forward and reverse. RC transmitter joystick full down needs to result in 4.5v steady DC. RC transmitter joystick full up needs to result in 7v steady DC. – John Oct 16 '15 at 12:28