Serial RF Module
Introduction¶
Using the Serial RF Module can provide the easiest way for your application to have wireless communication and control functions, just as easy as reading the signal from the serial port.
You can use two or more Serial RF Modules in your system. When you output data to the serial port of one of the modules, the serial ports of all other Serial RF Modules can be received immediately.
The communication distance of Serial RF Module can reach 120 meters in open places, which can meet most applications.
Note
You have to order 2 or more to complete the wireless communication function.
Features¶
- Uart to 2.4G RF
- Communication distance: 120 in the wild
- Transmit power: MAX 12db
- Power input: 3.3 or 5 V
- Baudrate: 9600 (default)
Usage¶
You need 2 Arduino and 2 piece of Serial RF Module here. Connect Serial RF Module to D2/D3 of Arduino, and upload below code to the Arduino.
// example for Serial RF Module
#include <SoftwareSerial.h>
SoftwareSerial rf(2, 3);
void setup()
{
Serial.begin(9600);
rf.begin(9600);
}
void loop()
{
while(Serial.available())rf.write(Serial.read());
while(rf.available())Serial.write(rf.read());
}
Then, open Serial of your Arudino IDE, input anything, you will get the same thing in the other boards.
FAQ¶
How to find the tech support
Please feel free to contact joney.sui@longan-labs.cc if you need more help.