BlogContact

Pin mapping

Which ESP32 and expander pins the inputs, outputs and peripherals of the boneIO ESP Dimmer gen2 use

This page is for people writing their own firmware (e.g. SUPLA, Tasmota) or a configuration from scratch. You don't need it for normal setup — the installer at boneio.eu/esp and the ready YAML files already contain these pins.

The tables are generated from the controller's public ESPHome configuration, so they match the firmware. "Inverted" means the active state is low. Ports commented out in the YAML (e.g. Modbus, 1-Wire) are not in the tables — their pins are in the comments of the source file.

v0.1

Source: boneio-dimmer_gen2_8ch-v0_1.yaml

I2C buses

BusSDASCL
i2cGPIO10GPIO11

Chips on I2C

ChipBusAddressYAML ID
PCF8574i2c0x38pcf_inputs
lm75bi2c0x48boneIO_temp

Inputs

NameYAML IDOnPinInverted
IN_01in_01PCF8574 0x38 (pcf_inputs)0 (P0)yes
IN_02in_02PCF8574 0x38 (pcf_inputs)1 (P1)yes
IN_03in_03PCF8574 0x38 (pcf_inputs)2 (P2)yes
IN_04in_04PCF8574 0x38 (pcf_inputs)3 (P3)yes
IN_05in_05PCF8574 0x38 (pcf_inputs)4 (P4)yes
IN_06in_06PCF8574 0x38 (pcf_inputs)5 (P5)yes
IN_07in_07PCF8574 0x38 (pcf_inputs)6 (P6)yes
IN_08in_08PCF8574 0x38 (pcf_inputs)7 (P7)yes

Outputs

YAML IDNameOnPinInverted
chl01CHL 01ESP32GPIO18—
chl02CHL 02ESP32GPIO17—
chl03CHL 03ESP32GPIO16—
chl04CHL 04ESP32GPIO15—
chr01CHR 01ESP32GPIO7—
chr02CHR 02ESP32GPIO6—
chr03CHR 03ESP32GPIO5—
chr04CHR 04ESP32GPIO4—

Other pins

FunctionNameOnPinInverted
ethernet.reset_pinethESP32GPIO1—
ethernet.interrupt_pinethESP32GPIO2—
switch.gpioBuzzerESP32GPIO9—
ethernet.cs_pinethESP32GPIO12—
ethernet.clk_pinethESP32GPIO13—
uart.tx_pinboneio_uartESP32GPIO14—
uart.rx_pinboneio_uartESP32GPIO21—
switch.gpioCAN Bus SwitchESP32GPIO35—
ethernet.miso_pinethESP32GPIO38—
ethernet.mosi_pinethESP32GPIO39—