couin3 / RFLink

RFLink for ESP, with MQTT client
Other
72 stars 37 forks source link
433mhz arduino-mega arduino-uno esp32 esp8266 mqtt-client rflink rfm69 rxb6

RFLink ESP

This is an RF to MQTT gateway build for an ESP8266 board (see #MCU for more).

It receive OOK 433MHz signals, then it identifies, decodes and push them over MQTT.

Projet is based on RFlink project "R29" (see rflink.nl, latest known open source shard version).

1. MCU

We use extensively Wemos ESP8266 D1 mini clone.

This is default settings in Platformio.ini and RFLink.h files.

You may use:

2. Receiver / Transmitter / Transceiver

We mainly use RXB6 receiver. It is simple, steady, running on 3.3v, easy to find and cheap.

Many other receivers will do! Simply Please avoid generic noname receiver

Receivers

3. OLED display

You can use an OLED display! We used SSD1306 128x64 I2C screen for our testings.

This is highly experimental , and thus not activated by default.

OLED

4. IDE

5. Framework

We use Arduino Core for ESP8266 https://github.com/esp8266/Arduino

6. Libraries

So far, in addition of core libraries, we use:

7. COMPILE OPTIONS AND FLAGS

Many features are not enabled by default or can be disabled for various reasons : firmware size, compability etc etc. Here is a listing with some instructions:

MQTT Server (disabled by default)

8. Additional info

Pinout

Name D1 mini RXB6
PIN_RF_TX_VCC D5 5 VCC
PIN_RF_TX_NA D6 6 DER
PIN_RF_TX_DATA D7 7 DAT
PIN_RF_TX_GND D8 8 GND

Pinout

Alternative Pinout

Name (Alt) D1 mini RXB6
PIN_RF_TX_VCC 3v3 5 VCC
PIN_RF_TX_NA N/A 6 DER
PIN_RF_TX_DATA D7 7 DAT
PIN_RF_TX_GND GND 8 GND

Thanks

Special thanks to: Axellum, Etimou, Schmurtz, Zoomx