Go Down

Topic: R/C receiver --> arduino? (Read 684 times) previous topic - next topic

creack

Hello,

here is what I have : an R/C car. It has 2 servo connected to a receiver and I have a remote control.

So the receiver conrol the servo.

Here is my question : how can I get that value?  I would like to do exactly the same but through the arduino.  Remote -> receiver -> arduino -> servo.

Is it possible? How?

I tried to put it on analog input but without success :(

Regards

vinceherman

You need to start educating yourself on how servos work.  You will need to use digital IO for this, not analog.

http://www.servocity.com/html/how_do_servos_work_.html

Here is a tutorial on how to make the arduino talk to a servo:
http://www.arduino.cc/en/Tutorial/Sweep

I believe that there are libraries on how to read the output of a RC receiver, but I wrote my own routines.
Here are some threads.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1220617779
http://diydrones.com/profiles/blog/show?id=705844:BlogPost:38418

That should get you started.



creack

Actually, I am OK with controlling servo. It was the receiver part which with I had issues.

pulseIn(), that's what I was looking for. Thank you very much!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy