Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Quad GPIO expansion board with repeated header connections for Raspberry Pi Pico

Combining Raspberry Pi Pico Add-Ons: Pins, Buses, Power and First Tests

A Raspberry Pi Pico project often starts with one successful example: a display lights up, a clock returns the time or a sensor reports a value. Combining those working examples is the next challenge. Two boards can fit the same headers while expecting incompatible pins, addresses, supplies or software settings.

PMD Way's Raspberry Pi Pico collection includes displays, sensors and expansion accessories. Its quad GPIO expansion board makes connections accessible in several places. The listing describes duplicated GPIO: extra headers provide access to the same signals, not extra independently controlled processor pins.

Identify the Pico and each accessory

Pico is a microcontroller-board family, distinct from the Raspberry Pi computers that run Linux. The original Pico uses RP2040; later Pico models use different processors, and wireless variants add further hardware. Select the firmware and documentation for the exact board.

Raspberry Pi's Pico-series documentation distinguishes board models, header arrangements and debugging connections. A familiar board outline is useful for mounting, but does not prove that every software image or accessory combination is interchangeable.

Create an inventory containing board model, accessory revision, driver source and connection diagram. Include whether headers are fitted and their orientation. An offset-by-one-row installation can connect power to the wrong terminal even though most of the pins enter sockets.

Create a shared pin-use table

List every signal used by every accessory, including less obvious ones such as display reset, data/command, busy, interrupt, backlight control and chip select. Record both the GPIO name and physical connector position where needed. A label such as GP4 is a GPIO identifier, not physical header pin four.

Example resource plan for a Pico sensor display
Function Resources to reserve Conflict to investigate
SPI display Clock, data, chip select and any control pins Another board drives or reconfigures the same signals
I2C sensor SDA, SCL, address and optional interrupt Address collision or incompatible pull-up voltage
I2C clock Shared bus, separate address and optional alarm Driver selects a different bus or pin pair
User button Unused GPIO, reference ground and defined idle level Pin already assigned to a peripheral function

This is a planning example, not a wiring map for every module in the collection. Populate it from the actual accessory drawings before connecting anything. If two fixed-layout boards require the same exclusive control pin, a passive expansion board cannot resolve that conflict.

Make peripheral configuration explicit

RP2040 peripheral signals can be assigned to supported pin combinations, but flexibility does not mean every hardware function is available on every pin. Check the pin-function table and the selected bus instance together.

The MicroPython RP2 quick reference documents hardware I2C and SPI objects and explicit pin selection. Use the documentation matching the installed firmware release. Record the chosen pins in one configuration section rather than allowing several imported examples to initialise competing defaults.

For SPI, check each peripheral's clock polarity, phase, maximum clock rate and chip-select behaviour. Devices can share a bus only when their electrical behaviour and software control permit it. Give separately selected devices their own selection signals, and ensure inactive devices release shared return-data lines where required.

Test one transaction type at a time before adding continuous display updates or background sampling. If a second driver reinitialises the bus, the first peripheral may fail even though no wire has moved.

Audit I2C addresses and pull-ups

Two devices with the same fixed address cannot be independently selected on the same ordinary I2C bus simply by placing them in different sockets. Check documented address-selection options, separate supported buses or an appropriate bus multiplexer.

Pull-up resistors also combine when boards share the bus. Two 4.7 kilohm resistors in parallel give approximately 2.35 kilohms. With a 3.3 V pull-up rail, an ideal LOW near zero volts would require about 1.4 mA through that combined resistance. This is a calculation example, not a recommended value for every Pico assembly.

NXP's I2C specification relates pull-up selection to rise time, bus capacitance and output sink capability. Check all fitted pull-ups and their supply rail; do not add another pair automatically because a tutorial used them.

An address scan establishes that something acknowledged. It does not identify every device reliably or prove that the driver's register map is correct. Read a documented identification register where available, then confirm a plausible functional result.

Plan power separately from signal access

The original Pico's GPIO operates from its 3.3 V rail. A 5 V USB supply does not make those signal pins 5 V logic inputs. Check every accessory's logic voltage, including pull-ups hidden on its board, and use an appropriate interface where levels differ.

The original Pico datasheet describes the different roles of VBUS, VSYS and the regulated 3.3 V rail. Use the power arrangement documented for your exact Pico and expansion-board revision. Multiple accessible power connectors do not establish that multiple supplies may be joined safely.

Add the expected currents of the Pico and peripherals, including display refresh, backlight and radio activity. Check the regulator, connectors and wiring against that budget. GPIO pins are signal connections; motors, relay coils and other loads need suitable drivers and power arrangements.

With power disconnected, inspect orientation and check for unintended shorts. Start with one documented power source. Before adding USB alongside an external supply, verify the complete power path and any required isolation or selection components.

Integrate with small, repeatable tests

  1. Run a minimal program on the Pico without accessories and confirm the intended firmware target.
  2. Connect and test one accessory, recording its pins, supply and driver settings.
  3. Add the second accessory and repeat both original tests.
  4. Combine their operations gradually, checking for bus reconfiguration and long blocking calls.
  5. Test repeated starts, disconnected peripherals and the normal maximum workload.
  6. Keep a known working firmware copy and the matching wiring record.

For a sensor display, separate measurement timing from screen updates. A slow refresh should not silently stop sampling or make old data look current. Timestamp the last successful measurement and show a clear unavailable state after a defined failure interval.

Leave access for recovery

Keep the USB connector, BOOTSEL button and relevant debug connections accessible after mounting. Raspberry Pi documents BOOTSEL recovery in the microcontroller's read-only boot code; use the correct firmware image and keep project files backed up before replacing firmware.

If the assembled project stops responding, return to the minimal configuration and add peripherals again in the recorded order. That process distinguishes wiring, power and shared-resource problems from application faults. A reliable Pico expansion project is built from a complete resource plan, not simply from a row of compatible-looking sockets.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat