Control motorized stand with arduino

hello together

I wanted to control a motorized stand with an RC-controller and a receiver to control it a little bit away. So i saw in the internet some projects in which they just replaced the original remote control with a Wii-Nunchuk (See here: http://protechy.com/bescor-mp-101-and-arduino-tutorial/)

But my receiver transfers a PWM Signal. The pulse on 0-Position is 2ms, on 100% Position 2,2ms, on -100% Position 1,8ms.That's the data for the x, and y axis (Output is from 2 different channels) The full pulse (with pause) is 20ms

How can i programm the arduino that i can convert a PWM-Signal into the needed signal (see on the website on top)? (Sorry if my english isn't that well, but i didn't found another active arduino forum ;))

Greez Turmalin

Gruss

Turmalin

You seem to describe the signals produced by the Arduino Servo library.

Turmalin: I wanted to control a motorized stand with an RC-controller and a receiver to control it a little bit away.

So far I don't see anything stopping you from using a perfectly ordinary model radio control system. Do you actually need a microcontroller at all?

The point is that, in the end i need a DIN signal. But if it's possible to inverse the servo library, so that i can read the PWM signal on an arduino i can go on working by myself ;)

so that i can read the PWM signal on an arduino

Take a look at pulsIn() in the refernce http://arduino.cc/en/Reference/PulseIn

Turmalin: The point is that, in the end i need a DIN signal.

Sorry, I don't know what that means.

Turmalin: But if it's possible to inverse the servo library, so that i can read the PWM signal on an arduino i can go on working by myself ;)

Yes, that is certainly possible. An Arduino can receive and decode PWM servo control signals, as well as generate them.

Erni:

so that i can read the PWM signal on an arduino

Take a look at pulsIn() in the refernce http://arduino.cc/en/Reference/PulseIn

great! thanks!! that's what I need!