Receiver Specifications
Detail | Specification | Image |
---|---|---|
Product Model | XD-RF-5V | |
Operating voltage | 5V | |
Quiescent Current | 4 mA | |
Receiving frequency | 433.92MHZ | |
Receiver sensitivity | -105DB | |
Pinout from left → right | VCC, DATA,DATA,GND |
Transmitter Specifications
Detail | Specification | Image |
---|---|---|
Product Model | XD-FST | |
Launch distance | 20-200 meters (different voltage, different results) | |
Operating voltage | 3.5-12V | |
Operating mode | AM | |
Transfer rate | 4KB / S | |
Transmitting power | 10mW | |
Transmitting frequency | 433M | |
Pinout from left → right | DATA; VCC; GND |
Antenna
Length should be cut to a 1/2 to a 1/4 of the wavelength. Since our wavelength is 69.24 cm. A 1/4 of that would be 17.31 cm. The antenna can be coiled to make it shorter.
How does it work?
Our RF signal will use Amplitude Shift Keying.
A digital 1 turns the carrier on while a digital 0 turns tit off.
Sample Code
#include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); void setup() { Serial.begin(115200); Serial.println("\n\nRF Sniffer\n\n"); mySwitch.enableReceive(0); // Receiver input on interrupt 0 (GPIO 0) pinMode(LED_BUILTIN, OUTPUT); } void loop() { if (mySwitch.available()) { Serial.print("Received "); Serial.print( mySwitch.getReceivedValue() ); Serial.print(" / "); Serial.print( mySwitch.getReceivedBitlength() ); Serial.print("Bit "); Serial.print(" // "); Serial.print("Protocol: "); Serial.println( mySwitch.getReceivedProtocol() ); digitalWrite(LED_BUILTIN, HIGH); // Toggle the onboard LED delay(1); digitalWrite(LED_BUILTIN, LOW); mySwitch.resetAvailable(); } }
Reference
Reference | URL |
---|---|
Spec Sheet | http://www.mantech.co.za/Datasheets/Products/433Mhz_RF-TX&RX.pdf |
Complete Guide for RF 433MHz Transmitter/Receiver Module With Arduino | https://randomnerdtutorials.com/rf-433mhz-transmitter-receiver-module-with-arduino/ |
Using Inexpensive 433 MHz RF Modules with Arduino | https://www.youtube.com/watch?v=b5C9SPVlU4U |
Radio Head Library | http://www.airspayce.com/mikem/arduino/RadioHead/ |
RF Sniffer | https://www.electroschematics.com/13682/433mhz-rf-sniffer/ |
RC Switch Library | https://github.com/sui77/rc-switch |