Hi Everyone
I am currently working on making a portable alarm system and have run into a bit of a snag.
That being I can't figure out how to connect the receiver I have to the arduino board and check that it is responding to the transmitter properly. The receiver has been set to accept the code that the transmitter sends.
Receiver: RX1-RC+ (30 user). single channel. Rolling code reciver. Identification: Reciver: cobalt blue. Transmitter: cobalt blue
http://www.et.co.za/receivers_rc.htmlTransmitter: E.T. Systems, set with my gate remote code (binary, dip switch).
Code:
int ledPin = 13;
int reciverPin = 2;
//reading ints
int reciverReading;
void setup(){
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
pinMode(reciverPin, INPUT);
}
void loop(){
reciverReading = analogRead(reciverPin);
Serial.println(reciverReading);
delay(100);
digitalWrite(ledPin, HIGH);
}
Would I need to code for the rx and tx pins? And if so how would I do that?
Any advice would be much appreciated, especially on how to hook the receiver up to the arduino.