Pages: [1]   Go Down
Author Topic: R/C receiver --> arduino?  (Read 618 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-sad

Regards
Logged

Ohio
Offline Offline
Full Member
***
Karma: 0
Posts: 227
Arduino Hexapod
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Pages: [1]   Go Up
Jump to: