Zum Hauptinhalt springen

Free GPIO

Inkplate 10 breaks out ESP32 pins, the I2C bus and two GPIO expanders along the lower edge of the board. On the ESP32 header, every pin is used by an on-board part by default, so check the table before you wire anything. The expander headers have free pins. This page follows the board version 1.3.1 schematic.

Underside of Inkplate 10 with the ESP32, I2C, GPIO expander 1 and GPIO expander 2 header labels along the bottom edge
Header labels along the lower edge

Available connections​

Board markingSignal or expander pinCapabilities and restrictions
ESP32 header: TXD, RXDESP32 TXD and RXDConnected to the USB-to-serial chip through series resistors, so they carry the serial port used for uploads.
ESP32 header: IO12, IO13, IO14SPI MISO, MOSI and SCKShared with the microSD slot.
ESP32 header: IO15IO15The microSD chip select by default. Free only after you move JP3.
ESP32 header: IO34IO34Reads the interrupt of GPIO expander 1 by default. Free only after you move JP4.
ESP32 header: IO35IO35Reads the battery voltage through a divider of two 100 kΩ resistors.
ESP32 header: IO36IO36The WAKE UP button input.
ESP32 header: IO39IO39Reads the RTC interrupt by default. Moves to the RTC clock output with JP2.
I2C header: SDA, SCLI2C busShared with the RTC, the e-paper power chip, both GPIO expanders and the Qwiic connector.
GPIO EXPANDER 1 header: P1-1Expander 1 P1-1Switches the battery measurement through JP6 by default.
GPIO EXPANDER 1 header: P1-2Expander 1 P1-2Switches the microSD power through JP5 by default.
GPIO EXPANDER 1 header: P1-3 to P1-7Expander 1 P1-3 to P1-7Free.
GPIO EXPANDER 2 header: P0-0 to P0-7, P1-0 to P1-7, INTAll 16 expander 2 pins and its interrupt outputFree.
VIN, 3V3, GND padsPower padsLabelled on the silkscreen near the bottom right corner.

Both expanders are PCAL6416A chips on the I2C bus. The other pins of expander 1 control the e-paper panel, which is why only part of it reaches the header.

The Arduino library has an IO_Expanders example. See the IO expander page in the Arduino section for how to use the expanders from a sketch.