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
| Bus | SDA | SCL |
|---|---|---|
| i2c | GPIO10 | GPIO11 |
Chips on I2C
| Chip | Bus | Address | YAML ID |
|---|---|---|---|
| PCF8575 | i2c | 0x20 | pcf_inputs_9_to_24 |
| PCF8574 | i2c | 0x38 | pcf_inputs_1_to_8 |
| lm75b | i2c | 0x48 | boneIO_temp |
Inputs
| Name | YAML ID | On | Pin | Inverted |
|---|---|---|---|---|
| IN_01 | in_01 | PCF8574 0x38 (pcf_inputs_1_to_8) | 0 (P0) | yes |
| IN_02 | in_02 | PCF8574 0x38 (pcf_inputs_1_to_8) | 1 (P1) | yes |
| IN_03 | in_03 | PCF8574 0x38 (pcf_inputs_1_to_8) | 2 (P2) | yes |
| IN_04 | in_04 | PCF8574 0x38 (pcf_inputs_1_to_8) | 3 (P3) | yes |
| IN_05 | in_05 | PCF8574 0x38 (pcf_inputs_1_to_8) | 4 (P4) | yes |
| IN_06 | in_06 | PCF8574 0x38 (pcf_inputs_1_to_8) | 5 (P5) | yes |
| IN_07 | in_07 | PCF8574 0x38 (pcf_inputs_1_to_8) | 6 (P6) | yes |
| IN_08 | in_08 | PCF8574 0x38 (pcf_inputs_1_to_8) | 7 (P7) | yes |
| IN_09 | in_09 | PCF8575 0x20 (pcf_inputs_9_to_24) | 7 (P07) | yes |
| IN_10 | in_10 | PCF8575 0x20 (pcf_inputs_9_to_24) | 6 (P06) | yes |
| IN_11 | in_11 | PCF8575 0x20 (pcf_inputs_9_to_24) | 5 (P05) | yes |
| IN_12 | in_12 | PCF8575 0x20 (pcf_inputs_9_to_24) | 4 (P04) | yes |
| IN_13 | in_13 | PCF8575 0x20 (pcf_inputs_9_to_24) | 3 (P03) | yes |
| IN_14 | in_14 | PCF8575 0x20 (pcf_inputs_9_to_24) | 2 (P02) | yes |
| IN_15 | in_15 | PCF8575 0x20 (pcf_inputs_9_to_24) | 1 (P01) | yes |
| IN_16 | in_16 | PCF8575 0x20 (pcf_inputs_9_to_24) | 0 (P00) | yes |
| IN_17 | in_17 | PCF8575 0x20 (pcf_inputs_9_to_24) | 15 (P17) | yes |
| IN_18 | in_18 | PCF8575 0x20 (pcf_inputs_9_to_24) | 14 (P16) | yes |
| IN_19 | in_19 | PCF8575 0x20 (pcf_inputs_9_to_24) | 13 (P15) | yes |
| IN_20 | in_20 | PCF8575 0x20 (pcf_inputs_9_to_24) | 12 (P14) | yes |
| IN_21 | in_21 | PCF8575 0x20 (pcf_inputs_9_to_24) | 11 (P13) | yes |
| IN_22 | in_22 | PCF8575 0x20 (pcf_inputs_9_to_24) | 10 (P12) | yes |
| IN_23 | in_23 | PCF8575 0x20 (pcf_inputs_9_to_24) | 9 (P11) | yes |
| IN_24 | in_24 | PCF8575 0x20 (pcf_inputs_9_to_24) | 8 (P10) | yes |
Other pins
| Function | Name | On | Pin | Inverted |
|---|---|---|---|---|
ethernet.reset_pin | eth | ESP32 | GPIO1 | — |
ethernet.interrupt_pin | eth | ESP32 | GPIO2 | — |
switch.gpio | Buzzer | ESP32 | GPIO9 | — |
ethernet.cs_pin | eth | ESP32 | GPIO12 | — |
ethernet.clk_pin | eth | ESP32 | GPIO13 | — |
uart.tx_pin | boneio_uart | ESP32 | GPIO14 | — |
uart.rx_pin | boneio_uart | ESP32 | GPIO21 | — |
switch.gpio | CAN Bus Switch | ESP32 | GPIO35 | — |
ethernet.miso_pin | eth | ESP32 | GPIO38 | — |
ethernet.mosi_pin | eth | ESP32 | GPIO39 | — |