The Raspberry Pi Pico and Pico W come either with headers already soldered (the Pico H and Pico WH) or without (Pico and Pico W). You pay a little more for the soldered versions. After my debug probe video, a viewer asked how I solder the pins on, because they could only use the H versions on a breadboard. I’m not an expert at soldering, but I know a few tricks that make it straightforward.
What you need
- A Raspberry Pi Pico or Pico W
- Two strips of 20 straight male header pins, for the GPIO pins on each side
- Three header pins for the SWD (Serial Wire Debug) port: straight, or 90 degree if you want them to point out the back
- A soldering iron and solder
- A breadboard
- A helping hand clamp, if you are using 90 degree pins on the SWD port
- Ventilation. Solder fumes are harmful. I work next to a window with an extractor fan pulling the fumes outside.
You don’t need much space. I turn my desk into a soldering station.
Why not a JST-SH socket?
The Pico H has a JST-SH socket for SWD, but the H has a different pad layout to take that surface mount socket, so you can’t fit one to a plain Pico. Header pins are the answer. On the Pico I like 90 degree pins pointing out the back. They don’t fit nicely on the Pico W, so use straight pins there. Which way they point is your choice and depends on your project.
Step 1: the SWD port
The easy way is with straight pins: push the three pins, long side down, into the breadboard, balance the Pico face down on top, and solder them.
For 90 degree pins on top of the board:
- Clamp the Pico in the helping hands.
- Hold the pins in place and solder just the first one, enough to tack it.
- Check the header is level and sitting comfortably.
- Solder the other two pins, then go back and solder the first one properly.
Step 2: the GPIO pins
This is actually easier than the SWD port.
- Push both 20-pin strips into the breadboard, one each side, the right distance apart for the Pico.
- Place the Pico on top. Check every pin has come through and everything is square.
- Solder each pin. The trick, as with all soldering, is to heat both the pin and the pad, then apply the solder.
- Check each joint as you go: enough solder, not too much, and no bridges between pins.
- When you are done, look over every joint. They should be shiny and neat.
Step 3: remove it from the breadboard
Use a small screwdriver to gently prise the Pico off the breadboard, lifting each side a little at a time so you don’t bend any pins.
Using the SWD port
With the SWD port populated you can flash and debug the Pico from a Raspberry Pi, another Pico running Picoprobe, or the Raspberry Pi Debug Probe.
Where next?
Getting comfortable soldering the Pico lets you choose which Pico you buy and how it fits your project and its case. In my experience, well-designed PCBs are the easiest thing of all to solder. Moving a project from breadboard to prototype board is hard for anything but the simplest circuits, so I recommend learning to design your own PCBs. I did that for my saber wall light and video turntable, and I cover checking a new board in PCB Testing for Raspberry Pi Pico Project.
For a full soldering course, including surface mount, I recommend my fellow Udemy tutor Shubham Tiwari’s Learning Soldering Through Hole and Surface Mount Components. If you are new to C/C++ on the Pico, take a look at my Introduction to C Development Environment for Raspberry Pi Pico.
Video sponsored by PCBWay.
