BlogContact

Pin mapping

Which ESP32 and expander pins the inputs, outputs and peripherals of the boneIO ESP Input24 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-input24_gen2-v0_1.yaml

I2C buses

BusSDASCL
i2cGPIO10GPIO11

Chips on I2C

ChipBusAddressYAML ID
PCF8575i2c0x20pcf_inputs_9_to_24
PCF8574i2c0x38pcf_inputs_1_to_8
lm75bi2c0x48boneIO_temp

Inputs

NameYAML IDOnPinInverted
IN_01in_01PCF8574 0x38 (pcf_inputs_1_to_8)0 (P0)yes
IN_02in_02PCF8574 0x38 (pcf_inputs_1_to_8)1 (P1)yes
IN_03in_03PCF8574 0x38 (pcf_inputs_1_to_8)2 (P2)yes
IN_04in_04PCF8574 0x38 (pcf_inputs_1_to_8)3 (P3)yes
IN_05in_05PCF8574 0x38 (pcf_inputs_1_to_8)4 (P4)yes
IN_06in_06PCF8574 0x38 (pcf_inputs_1_to_8)5 (P5)yes
IN_07in_07PCF8574 0x38 (pcf_inputs_1_to_8)6 (P6)yes
IN_08in_08PCF8574 0x38 (pcf_inputs_1_to_8)7 (P7)yes
IN_09in_09PCF8575 0x20 (pcf_inputs_9_to_24)7 (P07)yes
IN_10in_10PCF8575 0x20 (pcf_inputs_9_to_24)6 (P06)yes
IN_11in_11PCF8575 0x20 (pcf_inputs_9_to_24)5 (P05)yes
IN_12in_12PCF8575 0x20 (pcf_inputs_9_to_24)4 (P04)yes
IN_13in_13PCF8575 0x20 (pcf_inputs_9_to_24)3 (P03)yes
IN_14in_14PCF8575 0x20 (pcf_inputs_9_to_24)2 (P02)yes
IN_15in_15PCF8575 0x20 (pcf_inputs_9_to_24)1 (P01)yes
IN_16in_16PCF8575 0x20 (pcf_inputs_9_to_24)0 (P00)yes
IN_17in_17PCF8575 0x20 (pcf_inputs_9_to_24)15 (P17)yes
IN_18in_18PCF8575 0x20 (pcf_inputs_9_to_24)14 (P16)yes
IN_19in_19PCF8575 0x20 (pcf_inputs_9_to_24)13 (P15)yes
IN_20in_20PCF8575 0x20 (pcf_inputs_9_to_24)12 (P14)yes
IN_21in_21PCF8575 0x20 (pcf_inputs_9_to_24)11 (P13)yes
IN_22in_22PCF8575 0x20 (pcf_inputs_9_to_24)10 (P12)yes
IN_23in_23PCF8575 0x20 (pcf_inputs_9_to_24)9 (P11)yes
IN_24in_24PCF8575 0x20 (pcf_inputs_9_to_24)8 (P10)yes

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—