

Add to Cart
315 MHz RF Module Kit
This 315MHz RF Module Kit including one 315MHz RF Receiver Module
and one 315MHz RF Transmitter Module.
This is the update version of this module kit, and the useage is
the same as old versin as below :
This group RF modules contain : transmitter and receiver module,it
can supply 4 channels to communicate,that's to say if you use them
to control mini car,they have just four direction key.this is
transmitter module:
This is cooresponding receiver:
If you want to experiment these two module,only need to connect
them to sensor shield by cables,for example you can connect the
first channel of the transmitter module with the Arduino digital
I/O pin 7,and the receiver to Arduino digital I/O pin 8:
I wish once push one button,RF transmitter module send the
signal,and after the receiver module receive the signal,light the
Arduino's LED.
So you can connect Arduino digital I/O pin 2 with a digital button
module,in order to receive the signal :
Download the program into Arduino :
int ledPin = 13;
int switchPin = 2;
int sendPin = 7;
int recvPin = 8;
int value = 0;
void setup() {
pinMode(switchPin, INPUT);
pinMode(recvPin, INPUT);
pinMode(ledPin, OUTPUT);
pinMode(sendPin, OUTPUT);
}
void loop() {
value = digitalRead(switchPin);
if (HIGH == value) {
digitalWrite(sendPin, HIGH);
} else {
digitalWrite(sendPin, LOW);
}
value = digitalRead(recvPin);
if (HIGH == value) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
}
Once push one button,RF transmitter module send the signal,and
receiver module receive the signal,at last light the LED of pin 13.