Io4One - 4 GPIO lines

From Electronic Sweet Peas
Jump to: navigation, search



Now available for preorder in our new web shop

This module expands your system with 4 more fully programmable GPIO lines. Each line can be programmed to be an input or an output. Each line can also be programmed to be an interrupt source which can interrupt your ESP210

The GPIO lines are accessible from a 6-pin JST connector on the right side of the board.

This board is shipped with a female JST connector with crimp connector elements.

The Board


The board is based on a device called PCA9537 from NXP.


The open-drain interrupt output is activated when one of the port pins change state and the pin is configured as an input. The interrupt is deactivated when the input returns to its previous state or the Input Port register is read.

Note that changing an I/O from and output to an input may cause a false interrupt to occur if the state of the pin does not match the contents of the Input Port register.


The board have two jumpers that you need to consider before using the board. The first jumper, SJ1, connects a pull up resistor to the SCL signal. The ESP210 does not have a pull up resistor connected to the SCL output so this need to be arranged externally. Most +One modules have a solder jumper that will enable this pull up resistor. You can only have one board with this jumper closed. So if you have a node.IT stack with several I2C boards you need to ensure that only one of these boards have the SCL jumper shortened.

The second jumper is SJ2. this jumper connects the interrupt output from the PCA9537 chip to pin GPIO13 of the ESP210. The current Arduino libraries does not rely on having this jumper closed but if your are developing your own software you might consider closing this jumper.

The jumpers are PCB level jumpers that need to be closed using a solder blob. This is very easy to obtain, simply heat your solder iron and melt the already existing solder on the pads of the jumper. Then apply as much solder you need to close the gap between the pads. When you need to remove a solder jumper you simply take your solder braid, heat the braid and the solder and wick the solder away.


Tips, Tricks and useful links

Nothing yet