Principle and goals

The GPIO shield features:

Use the I2C bus

Add a physical button

Ethoscope GPIO PCB v1.3

The three pins labelled jumper should be used to decide whether the Darlington array will operate at 5Vdc (connecting middle with lower pin) or 3.3Vdc (connecting middle with upper pin). Keep in mind that at 3.3V the GPIO can output no more than 50mA for the entire rail. If a larger load is needed, the Darlington should operate on the 5V source and voltage scaled down as needed through a regulator or resistor. By default, the 5V is drawn from the 5V in-connection on the bottom left side but by soldering the solder-jumper on the reverse of the board the board will output the GPIO 5V. The Vcc for the I2C connector can also be chosen between 3.3V and 5V soldering the appropriate connections together on the left of the GPIO. The connector labelled as “ribbon” mirrors the first 6 pins of the GPIO and should be used to connect the ribbon cable that goes to the lightbox.

The three pins labelled jumper should be used to decide whether the Darlington array will operate at 5Vdc (connecting middle with lower pin) or 3.3Vdc (connecting middle with upper pin). Keep in mind that at 3.3V the GPIO can output no more than 50mA for the entire rail. If a larger load is needed, the Darlington should operate on the 5V source and voltage scaled down as needed through a regulator or resistor. By default, the 5V is drawn from the 5V in-connection on the bottom left side but by soldering the solder-jumper on the reverse of the board the board will output the GPIO 5V. The Vcc for the I2C connector can also be chosen between 3.3V and 5V soldering the appropriate connections together on the left of the GPIO. The connector labelled as “ribbon” mirrors the first 6 pins of the GPIO and should be used to connect the ribbon cable that goes to the lightbox.

Annotated version of the PCB above

Annotated version of the PCB above

ethoscope_GPIO_Shield_V1.21_gerber.zip

Components

Software control

Button Listener