Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 3.59 KB

File metadata and controls

60 lines (43 loc) · 3.59 KB

Home-Assistant-RFLink-Gateway-ESP8266

Home Assistant to RFLink Gateway using a NodeMCU (ESP8266 Wifi module)

My Setup

My Home Assistant Config  

Detail

Home Assistant to Arduino RFLink gateway using the RFLink component.

Serial data is sent via the esp-link V2.2.3 Wi-Fi serial bridge running on a NodeMCU (ESP8266 Wifi module) with ESP8266 TXD0 (pin D10) and RXD0 (pin D9) connected to Arduino MEGA 2560 RX (Pin 2) and TX (Pin 3) respectively.

Wiring of transmitter and receiver is as per Arduino Wiring on RFLink Gatway.

Example Bill Of Materials

Voltage Level Shifters

Due to different logic levels, a voltage level shifter is required between the 3.3V NodeMCU and 5V Arduino MEGA 2560 pins. The BSS138 bidirectional logic level converter has been tested for serial pins

esp-link Configuration

WiFi mode: STA esp-link pin assignment:

  • Reset: GPIO5 (Connected to Arduino reset pin)
  • Conn LED: GPIO2/TX1 (LED on ESP module)
  • Serial LED: GPIO4 (With external LED connected)
  • UART pins: Normal
  • RX pull-up: enabled

Supporting Links

My setup, wiring: Diagram

My setup, photo:

Rev 1

Diagram

Rev 2

Diagram

Diagram

Diagram