devices.esphome.io

Sonoff RE5V1C - 5V Relay Module

Sonoff RE5V1C - 5V Relay Module

Device Type: relay
Electrical Standard: global
Board: esp8266
Difficulty: Plug-n-flash, 2/5

Product Images

Product Image PCB Top PCB Bottom

Specification

  • Power Supply: 5V DC
  • Dry contact output
  • Max Current: 10A
  • Humidity: 5%-90%RH, Non-condensing
  • Operating Temperature: 0ºC-40ºC(32°F-104°F)
  • Nano size: 34.52519mm

Notes

  • For programming use ERX/ETX - marked on image
  • Red LED connected to Relay operated by GPIO12
  • Green LED operated by GPIO13
  • More GPIO available on top of PCB

GPIO Pinout

Wired on board

PinFunction
GPIO00Button
GPIO12Relay, Red LED
GPIO13Green LED

On Top of PCB

PinNameComment
GPIO02I02
3V3
GPIO04RXPWM out
GPIO05TX
GND
GPIO03ERXU0RXD
GPIO01ETXU0TXD

Board Configuration

esphome:
name: Sonoff RE5V1C
esp8266:
board: esp8285
restore_from_flash: true
# OTA flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
esp8266_store_log_strings_in_flash: False
# Enable Home Assistant API
api:
# Enable the captive portal
captive_portal:
Edit this page on GitHub