devices.esphome.io

ESP-12F_Relay_X8

ESP-12F_Relay_X8

Device Type: relay
Electrical Standard: global
Board: esp8266

Product

Product description

This is a 8-relay board with an ESP-12F.

Each relay has COM+NO+NC exposed. Product descriptions don't seem to specify maximum load.

The board can be powered either via 7-30VDC or via 5VDC (separate connectors).

I bought it from: https://s.click.aliexpress.com/e/_DnEOi2r (affiliation link so i can make others like this, no guarantee it will continue to exist).

GPIO Pinout

This board has headers for every GPIO pin on its ESP-12F.

PinComment
5VDo not use 5V for programming
TXExposed on board 3.3V level!
RXExposed on board 3.3V level!
GPIO03.3V level! (pulled up, connect to GND for programming)
GND
GND
PinComment
3V3For programming, inject 3.3V power here
3V3For programming, inject 3.3V power here
5V
5V
GND
GND
GPIO5Relay 8
GPIO4Relay 7
GPIO0Relay 6
GPIO2Exposed on board
GPIO15Relay 5
GND
PinComment
ADCExposed on board ( 0V-1V only )
ENPulled up
GPIO16Relay 1
GPIO14Relay 2
GPIO12Relay 3
GPIO13Relay 4

Basic Config

esphome:
name: relayboard
platform: ESP8266
board: esp12e
# Four relay outputs, exposed as switches in Home Assistant
switch:
- platform: gpio
pin: GPIO16
name: Relay1
id: relay1
- platform: gpio
pin: GPIO14
name: Relay2
id: relay2
- platform: gpio
pin: GPIO12
name: Relay3
id: relay3
- platform: gpio
pin: GPIO13
name: Relay4
id: relay4
- platform: gpio
pin: GPIO15
name: Relay5
id: relay5
- platform: gpio
pin: GPIO00
name: Relay6
id: relay6
- platform: gpio
pin: GPIO04
name: Relay7
id: relay7
- platform: gpio
pin: GPIO05
name: Relay8
id: relay8
Edit this page on GitHub