Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upESP8266 RF Send and Receive
ESP8266 - RF Send and Receive
Prerequisites
Note: Gateways can be used separately. Follow this Link for a quick overview about all Modules and possible Combinations.
Tested Modules for the RF Addon:
Module | Purpose | Where to Buy (examples) |
---|---|---|
XD RF 5V | 433Mhz Receiver | - |
FS1000A | 433Mhz Transmitter | - |
- or better alternative superheterodyne STX882 & SRX882
Hardware setup:
Module Pin | NodeMCU / ESP8266 RX Pin | NodeMCU / ESP8266 TX Pin |
---|---|---|
RF Receive Module data pin | D2 or D3 or D1 | - |
RF Send Module data pin | - | RX |
If the gateway works only when serial monitor is connected don't use D3 use D2 instead (gpio 4) and modify config_RF.h accordingly.
Iwith SRX882 some users reported that D3 is not working use D1 instead in this case and modify config_RF.h accordingly.
Vcc pin of the ESP8266, the RF Emitter and RF Receiver to a 5V supply source Ground pins of the ESP8266, the RF Emitter and RF Receiver to the ground of the supply source.
Software setup:
For the libraries take the version linked into Libfolder
If you want to use this gateway uncomment in user_config
#define ZgatewayRF
If you want to use KAKU protocol uncomment also
#define ZgatewayRF2
If you want to use the protocols supported by Pilight library comment also
#define ZgatewayRF2
#define ZgatewayRF
and uncomment
#define ZgatewayPiLight
For your first tests comment the others Zgateway.