Skip to the content
6 layers15.2 × 50.8 mmPCAL6534EV breakout, the printed circuit board in 3D

PCAL6534EV 32-GPIO breakout board

Size
15.2 × 50.8 mm
Copper layers
6
Thickness
0.82 mm
Parts
21
Nets
44
Pads
122
Tracks, vias
249, 36
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
14 Mar 2024
Updated
11 Apr 2024

Overview

PCAL6534EV breakout is an open-source printed circuit board by joelpmichael, from the joelpmichael/PCAL6534EV-breakout repository on GitHub. It is a 6-layer board of 15.2 × 50.8 mm with 21 parts on 44 nets, routed with 249 tracks and 36 vias.

It is built around the PCAL6534EVJ and SM04B-SRSS-TB. Its parts include 4 resistors, 4 connectors, 1 capacitor and 1 IC. It belongs with the interfaces and adapters and microcontroller boards boards of this library.

Main components

2

README

README.md

PCAL6534EV Breakout

Contents

What?

3D rendering of PCAL6534EV breakout board front side3D rendering of PCAL6534EV breakout board back side

This is a breakout board for the NXP PCAL6534EV I2C GPIO expander. The board breaks out 32 out of the possible 34 GPIO pins, with 26 of the 32 GPIO pins arranged in a DIP-style layout at 12.7mm column spacing which is perfect for breadboard or protoboard use. There is also a SparkFun QWIIC-compatible connector, for easy connection to other QWIIC-compatible boards.

Why?

It all started a few years ago, when I was on a holiday in Italy and I found this wonderful little cafe that I stopped at for lunch. I convinced the chef to give me his secret recipe, which he did on one condition: I'm not allowed to tell anybody else until the day I die.

I'm still well and truly alive despite all reports to the contrary, and despite the lack of sleep (#DadLife), so I'm not going to tell you, instead I'm going to make this breakout board instead.

How?

Please refer to the PCAL6534EV Datasheet and the Board Schematic for further details.

Connecting

Solder the 20-pin headers into each side and slam it into a breadboard! The width is minimised to allow access to 3 pins on each side - wider breakout and prototype boards have always annoyed me by only allowing access to 1 or 2 pins on each side.

Use the QWIIC-compatible connector J1 to connect to your MCU, as the PCAL6534EV is optimised to run at 3.3V. You may run into current supply limits when using the very thin 28AWG wire in QWIIC-compatible cables, as the PCAL6534EV can source up to 450mA or sink up to 500mA of current. If you're driving a lot of LEDs or something, hook up an additional 3.3V power connection to the pin header, and maybe a chonky electrolytic capacitor across 3V3 or VIO.

You can also solder wires directly to the pin headers if needed, or solder the pin headers to a protoboard, or just do what you want I'm not your mum.

At the very bottom edge of the breakout board is an exposed ground plane, designed for you to attach an alligator clip while probing with a multimeter, osciloscope, or logic analyzer.

Powering

The PCAL6534EV requires 2 power supplies, VDD(i2c) and VDD(p). VDD(i2c) is wired to the 3V3 rail, and must be in the range of 0.8 to 3.6V, allowing you to use lower voltage MCU or FPGA I2C lines. VDD(p) is wired to jumper JP1, and must be in the range of 1.65 to 5.5V. Jumper JP1 selects the source rail of VDD(p), either 3V3 or VIO. When jumper JP1 is set to 3V3, the 3V3 input voltage range is narrowed to 1.65 to 3.6V. When jumper JP1 is set to VIO, the desired IO voltage must be supplied on the VIO pin.

I2C communication

The PCAL6534EV supports I2C standard-mode at up to 100kHz, fast-mode at up to 400kHz, or fast-mode plus at up to 1000kHz. The breakout board contains 4.7kΩ pull-up resistors from I2C SDA and SCL lines to the 3V3 rail. These pull-up resistors can be disabled by cutting the PCB trace jumper JP4 on the back of the breakout board.

The PCAL6534EV I2C device address is set by connecting the ADDR line to either SDA, SCL, VSS (ground), or VDD(i2c), with a base 7-bit I2C device address of 0b0100000 (0x20). The breakout board defaults to the base address 0x20, and by cutting and bridging PCB jumper pins on JP2 and JP3 can set the device address to 0x20, 0x21, 0x22, or 0x23 according to the following table:

JumperPinsAddress
JP21-20x20
JP22-30x21
JP31-20x22
JP32-30x23

⚠️ SDA and SCL pins ARE NOT 5V-tolerant!

Interrupt and reset

The PCAL6534EV contains both an Interrupt (IRQ) line, and a Reset (RST) line. Both lines are active-low. The IRQ output line uses an open-drain driver, and the breakout board contains a 10kΩ pull-up resistor to VDD(i2c) because most likely you'll be using the IRQ signal on the same MCU that the I2C controller is running on. If you really really really REALLY need to change this, you can remove R4 and connect another pull-up resistor between R4 pad 1 (closest to JP4) and VIO, ensuring that VIO is limited to 3.3V.

The Reset input line is an active-low input, and the breakout board contains a a 10kΩ pull-up resistor to VDD(i2c) because most likely you'll be supplying the Reset signal from the same MCU that the I2C controller is running on, or you've wired the Reset line to an external momentary switch and you don't care about the voltage. If you're using a momentary switch, add a 0.1µF capacitor in parallel to the switch for a hardware debouncer and noise filter. It is safe to leave the Reset line disconnected from the breakout board.

⚠️ Interrupt and Reset pins ARE NOT 5V-tolerant!

GPIO use

It's a... uh... low-speed GPIO? Just use them, the default PCAL6534EV configuration should work for most cases! All the GPIO pins are 5V-tolerant, and will even produce 5V output if you're using 5V on VIO, so feel free to hook them up to your old MEGA328P-based Arduinos and do voltage level translation. You can even drive a LOT of LEDs directly from the GPIO pins - every pin is recommended to source 10mA or sink 25mA of current, with a combined total of 450mA of sourcing current and 500mA of sinking current.

For advanced use-cases, such as enabling internal 100kΩ pull-up or pull-down resistors, switching between push-pull or open-drain output mode, enabling interrupt generation, enabling debouncing filters, or reducing the drive strength to limit GPIO switching noise, please refer to the datasheet and the example source code.

✔️ GPIO pins ARE 5V-tolerant!

Mounting

Due to asthetics and space constraints there isn't enough room for a full-size mounting hole, however in the middle of the OSHW logo there is a 1mm pilot hole that you can use to drill a mounting hole. Ideal? No. Pragmatic? Yes.

Personally I wouldn't drill a hole larger than 3mm, which will allow you to use a M3 fastener, but you should be able drill up to a 5mm hole without hitting traces. If using metal fasteners, use nylon washers to avoid damage to traces by screw heads.

Can I buy one?

Sure! Once I've got enough requests for a small batch run I'll send off an order. I test every single board to make sure it's fully functional before shipping.

Can I make one?

Sure, why not? The board is designed to be manufactured using JLCPCB's 6-layer fabrication constraints as at March 2024 by using budget-size 50mm maximum dimension, budget 0.3mm drill size, 0.8mm thickness, 1oz outer copper, 0.5oz inner copper, and the budget (but surprisingly good) JLC06081H-1080A stackup. It currently does not meet OSHPARK fabrication constraints, as the trace and space minimum of 0.09mm is smaller than the required 0.1mm and there is some via-in-pad use which is currently unsupported.

Can I make heaps and sell them?

Technically yes, but I'd love it if you gave me a cut in exchange for the testing system that I've developed.

No really, why?

I wanted to use this GPIO expander in another project, and making a breakout board was probably the best way to verify if my layout hacks would work at all.

Also, shits and giggles: seeing who's both willing and able to manufacture the boards.

Board Revision History

P1: Prototype 1

First prototype, for testing if this even works at all

Parts

21
QtyValueFootprintReferences
210kResistor_SMD:R_0402_1005MetricR3, R4
24.7kResistor_SMD:R_0402_1005MetricR1, R2
2Conn_01x20Connector_PinHeader_2.54mm:PinHeader_1x20_P2.54mm_VerticalJ2, J3
2Fiducial_0.5mm_Mask1mmFiducial:Fiducial_0.5mm_Mask1mmFID1, FID2
2Fiducial_1mm_Mask2mmFiducial:Fiducial_1mm_Mask2mmFID3, FID4
10.22uCapacitor_SMD:C_0402_1005MetricC1
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ4
1Jumper_3_Bridged12Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP1
1PCAL6534EVPackage_BGA:NXP_VFBGA-42_2.6x3mm_Layout6x7_P0.4mm_Ball0.25mm_Pad0.24mmU1
1SM04B-SRSS-TBConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ1
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP4
1SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP2
1SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm_NumberLabelsJP3

The 18 most common of 21 parts.

Similar boards

  • 4 layers101.6 × 53.3 mmZ80ctrlng, the printed circuit board in 3D

    Z80ctrlng

    jblang/z80ctrl

    AVR-based bootloader, I/O, and debugging for Z80-based computers

    65 parts73
  • 4 layers79 × 79 mmMinuet, the printed circuit board in 3D

    Minuet

    brown-studios/minuet

    Minuet upgrades your MAXXAIR Maxxfan with a brushless DC motor, home automation features, and accessories.

    103 parts67MIT
  • 8 layers106 × 62 mmCm5-m2key b usb3-ix, the printed circuit board in 3D

    Cm5-m2key b usb3-ix

    taskx6004/AnyRadio-CM5

    modular RPI CM5 carrier board

    224 parts42
  • 2 layers88.9 × 50.8 mmBLDC BIZ CARD, the printed circuit board in 3D

    BLDC BIZ CARD

    ageppert/Brushless-Motor-Biz-Card

    A brushless motor and driver built in to a business card form-factor for learning and experimenting!

    82 parts38MIT
  • 4 layers117.5 × 30 mm4reel ee, the printed circuit board in 3D

    4reel ee

    o7-machinehum/4reel

    Stereo machine vision camera for outdoor mobile robotics.

    179 parts34MIT
  • 4 layers65 × 30 mmSoleil, the printed circuit board in 3D

    Soleil

    protolux-electronics/soleil_hardware

    Hardware design files for Soleil, an open source power management and sleep control board for Raspberry Pi

    81 parts22CERN-OHL-P-2.0
  • 2 layers26 × 45 mmFreesk8-Robogotchi v1.5, the printed circuit board in 3D

    Freesk8-Robogotchi v1.5

    FreeSK8/FreeSK8-Robogotchi-Hardware

    Hardware repository for FreeSK8 Robogotchi

    32 parts19
  • 2 layers25.4 × 52.1 mmFakeTecv5, the printed circuit board in 3D

    FakeTecv5

    mofosyne/roTec_pcb

    A low-cost nrf52 device, targeting cases that supports rotary encoder. Forked from jtljac's take on faketec v5

    35 parts17CERN-OHL-P-2.0

Questions

How big is the PCAL6534EV breakout PCB?

It measures 15.2 × 50.8 mm and has 6 copper layers, 0.82 mm thick.

What parts does the PCAL6534EV breakout use?

21 parts, built around the PCAL6534EVJ and SM04B-SRSS-TB. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PCAL6534EV breakout KiCad files?

From the joelpmichael/PCAL6534EV-breakout repository on GitHub, at the commit this page was made from: the board is PCAL6534EV-breakout.kicad_pcb and its schematic PCAL6534EV-breakout.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCAL6534EV breakout design in my own project?

Its repository states no licence, so its author keeps all rights: ask joelpmichael before reusing the design.