Repository navigation
PCA9671 GPIO Expander
The PGEZ PCA9671 GPIO Expander Zero features an onboard PCA9671 GPIO Expander. This provides:
- 5V tolerant I/O's
- 16 bit I/O GPIO Expander (Quasi-bidirectional Port)
- 64 I2C Addresses (default address 0x20)
- Configurable 5V or 3V3 header pin VCC
- Configurable LED indicators on each GPIO Pin
- Each I/O Drive up to 30mA
- Flexible STACKABLE Interface
- You can stack up to a theoretical 64 x 16 GPIOs (1024 Inputs or outputs).
- With suitable DC power source
The device used is a NXP Semicon, PCA9671 GPIO Expander.
- Part Number: PCA9671BS,118 (HVQFN-24-EP(4x4))
- Drop in upgrade for the PCF8575 or MCP23017. Similar libraries.
- PCA9671 does not include the Configurable Interrupt Output Pins
- Overall Maximum of 400mA Total Sink (Across all 16 I/O's).
- With suitable DC power source
- I2C Commands
- Supported by Various Libraries
- PCA9671 (https://github.com/RobTillaart/PCA9671)
- Development, Useable (Work in progress)
- PCF8575 (https://github.com/RobTillaart/PCF8575)
- Works but is restricted to addresses 0x20 to 0x27
- MCP23017 (https://github.com/RobTillaart/MCP23017_RT)
- Works but is restricted to addresses 0x20 to 0x27
- PCA9671 (https://github.com/RobTillaart/PCA9671)
The PGEZ has THREE DIP Switch Banks, each with FOUR selectable Switches.
- Default is 0x20 when all switches are OFF
- If only using a single board, then you can use the default address.
- The addressing has three banks A, B and C. Each bank has four switches, so 16 settings on each switch.
To change a switch setting, simply slide the switch using a pen or pencil. Switch Settings can be found here.
NB. The 'Yellow' protective film, which maybe still on the DIP switches from production, maybe removed using sellotape and lifting up, or simply left in place.

The PGEZ PCA9671 GPIO Expander Zero board, can stack up to a theoretical 64 x 16 GPIOs (1024 Inputs or outputs).
NB. You will need to ensure that you have a sufficient DC power source for this.

PGEZ on ESPuno Pi Zero Stacked with Straight and Angled GPIO Pin Headers

Additional information, and other technical details on this project, may be found in the related repository pages.
Repository Folders
- Code (Code examples for Raspberry Pi, Arduino IDE, PlatformIO, Python etc.)
- Datasheets and Information (Component Datasheets, Schematics, Board Layouts, Photos, Technical Documentation)
- Certification (Related Repository Project or Part, Certification Information)
Repository Tabs
- Wiki (Related Repository Wiki pages and Technical User Information)
- Discussions (Related Repository User Discussion Forum)
- Issues (Related Repository Technical Issues and Fixes)
We value our Customers, Users of our designs and STEM Communities, all over the World . Should you have any other questions, or feedback to share to others, please feel free to:
- Visit the related Project plus the related Discussions and Wiki Pages. See tab in each separate repository.
- Project Community Information can be found at https://www.hackster.io/DitroniX
- DitroniX.net Website - Contact Us
- Twitter: https://twitter.com/DitroniX
- Supporting the STEM Projects - BuyMeACoffee
- LinkedIN: https://www.linkedin.com/in/g8puo/
Dave Williams, Maidstone, UK.
Electronics Engineer | Software Developer | R&D Support | RF Engineering | Product Certification and Testing | STEM Ambassador
Supporting STEM Learning
Life is one long exciting learning curve, help others by setting the seed to knowledge.
