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.
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.
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
}
}