RC receiver to Arduino UNO?

I had just dissassembled my RC car, and I found this:

DSCF0821.jpg

I just know which goes to the GND and 5V of the arduino but no idea which goes to the signal.

I wanted to make a RC controlled arduino bot.

Hope you can help

Please ask me if you want more pics or info regarding the same.

______________________________________________________________________________________________________

UPDATE:
It works perfectly now!!!!!!

thanks guys 

______________________________________________________________________________________________________

UPDATE 2:

I made a tutorial https://www.robotshop.com/letsmakerobots/node/26905 hope it will be useful :)

Cheers

datasheet

http://www.datasheetarchive.com/pdf-datasheets/Datasheets-9/DSA-179785.html

Now that I have a better understanding of what you want.

Continuing from the Shoutbox discussion.

Using the board for remote input to an arduino should be relatively straight forward. The datasheet shows 5 outputs that are available. 6 & 7 for Right & Left, 10 & 11 for Backward & Forward, and 12 for Turbo. The Turbo function would require some modification to the transmitter, add a button to probably pull it to ground.

Since the 5 pins are outputs, you can just use them as inputs to your arduino and then program the arduino to respond to those 5 inputs.

So how am I going to get it

So how am I going to get it to talk to the arduino??

I know digital write( x, INPUT)

how can I make it do something when I move the controller forward?

Ah great now I have troubles

Ah great now I have troubles connecting the 5V and GND to the board! :frowning:

Making sure we are on the same page.

When you use the transmitter to send ‘forward’ to the receiver, the receiver pulls pin 11 HIGH. Whatever pin you have connected on the arduino will be set as input and when that pin goes HIGH the arduino will be programmed to perform some manner of output.

I don’t know how to code exactly for an arduino, but, according to what I can understand from www.arduino.cc, this might work.

pinMode(pin, INPUT);           // set pin to input

digitalWrite(pin, HIGH);       // turn on pullup resistors

val = digitalRead(pin);        // read the input pin

According to this page, there is more code required, but, it should give you an idea.

yea I got that but how do I

yea I got that but how do I connect the GND and 5V to arduino UNO??

*/ Basic Digital Read
**

/

Basic Digital Read


  • turns on and off a light emitting diode(LED) connected to digital
  • pin 13, when pressing a pushbutton attached to pin 7. It illustrates the
  • concept of Active-Low, which consists in connecting buttons using a
  • 1K to 10K pull-up resistor.
  • Created 1 December 2005
  • copyleft 2005 DojoDave <http://www.0j0.org>
  • http://arduino.berlios.de

*/

int ledPin = 13; // choose the pin for the LED
int inPin = 7; // choose the input pin (for a pushbutton)
int val = 0; // variable for reading the pin status

void setup() {
pinMode(ledPin, OUTPUT); // declare LED as output
pinMode(inPin, INPUT); // declare pushbutton as input
}

void loop(){
val = digitalRead(inPin); // read input value
if (val == HIGH) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
} else {
digitalWrite(ledPin, HIGH); // turn LED ON
}
}

DID NOT WORK

Would you show what you did

maybe in diagrams and code, possibly as a TIP or walkthrough?

that could be little bit

that could be little bit hard because I got it by trial and error

A blog post?

You could show the board and arduino and explain the pins you connected, maybe even show some working code?

okay :slight_smile: I will soon

okay :slight_smile: I will soon