Assembling Pirate Radio

This tutorial will guide you through how to assemble your Pirate Radio kit. Pirate Radio is a cute little Pi Zero W-powered speaker that sits on your desk or shelf, playing your music, or streaming Spotify or internet radio.

Pirate Radio takes advantage of the on-board wireless LAN and Bluetooth on the Pi Zero W, and uses our pHAT BEAT DAC and amp to pump out up to 3W of mono audio with 16 RGB LEDs that are ideal for using as a VU (volume unit) meter.

The assembly will be split into two parts: soldering the headers to your Pi Zero W and pHAT BEAT, and assembling and screwing together the acrylic pieces.

It should take around 30 minutes to assemble everything.

Soldering the headers

Both the Pi Zero W and the pHAT BEAT boards will need a 2x20 pin header attached. Your Pirate Radio kit comes with a male 2x20 pin header for the Zero W and a female 2x20 pin header for the pHAT BEAT.

We have a guide here that you can follow to learn how to solder headers to pHATs. Soldering the male header to the Zero W is essentially just the same process, except the header should be soldered on top. The photos below show how each header should look when soldered.

If you don't own a soldering iron, or you're just not a pro-solderer yet, then you could use one of our nifty hammer headers that don't require any soldering at all. Our hammer header kit comes with a male header, female header, and a jig to safely and secure attach them to your Pi Zero/Zero W and pHAT.

Assembling the acrylic pieces

You should have the following pieces:

  • clear frosted front layer
  • blue middle layer with slatted speaker grille
  • blue back layer with circular speaker hole
  • 2x blue leg retainers
  • 2x clear legs with rubber feet attached
  • 8x M3 white nylon bolts and nuts
  • 4x M2.5 white nylon bolts and nuts

Before you do anything, peel the protective film off all of the pieces of acrylic!

We'll begin by attaching the legs to the blue back layer - the one with the large circular speaker hole in it. You'll also need the two small blue leg retainer pieces, the two clear legs, and four of the M3 nylon bolts and nuts.

First, slot the legs into the blue retainers, as in the picture below. The curved corners of the leg retainer pieces should match with the curves on the corners of the radio itself, but note that one of the legs is set in from the left hand side of the radio (when looking from the front). The two curved cut-outs should face inwards, and the speaker will slot neatly into the gap later.

Once slotted into the leg retainers, the protruding part of the leg should slot into the blue back layer. Make sure that the speaker hole is towards the left hand side as you look at it, as in the picture below. Use the M3 bolts and nuts to secure the legs with the nuts towards the back, and trim off the excess bolt with a pair of snips if you wish.

Sit the other blue piece - the middle layer - on top of the back layer, so that the speaker grille lines up with the speaker hole, and then pop the front frosted layer on top of that with the Pirate Radio logo the correct way up and facing the front.

The four bolts and nuts that hold the speaker in will hold all of the layers together. Slide the four remaining M3 bolts through the four holes at each corner of the speaker hole, from the front.

Now, take your speaker and place it onto the four bolts. Use the nuts to secure the speaker, and again trim off the excess bolt if you wish. We mounted our speaker with the wires coming out towards the bottom of the radio.

Next, take your pHAT BEAT with female header attached and place the front of the board against the back of the radio with the buttons along the knurled edge of the radio, lining up the mounting holes. Use the four M2.5 bolts and nuts to secure the pHAT BEAT to the radio.

Note that the pHAT BEAT shown here is a prototype board in green, and the final production boards in the Pirate Radio kits are black.

Connecting the speaker wires

You'll notice that pHAT BEAT has two pairs of terminals, for left and right audio channels. Because we have just the one speaker, we'll just be using one channel. The DIP switch on the back of pHAT Beat DAC lets you switch between mono audio, in which the two channels are mixed into one, or stereo, which will output the left and right channels through their respective speaker. Make sure that your switch is switched to the side with the single speaker icon, to switch it into mono mode.

The wires on your speaker are slightly longer than they need to be. You can either trim them and then tin the ends of the wires again (this is the process of adding some solder to the bare copper strands to strengthen them) or coil up the excess with a cable tie.

To attach your speaker wires to the terminals on pHAT BEAT you press down gently on the little clips on the terminal with something like the point of a pencil or a straightened out paper clip, and then push the wire in and release the clip to hold the wire in place.

We tucked our speaker wires through the cut-out in the leg to keep them neat and tidy. Connect the black speaker wire to the left - terminal and the red wire to the left + terminal (although you can equally well use the right channel as blended mono is output through both channels when pHAT BEAT is in mono mode).

Attaching your Pi Zero W

All that's left to do is to attach you Pi Zero W!

Take your Pi Zero W with soldered male header and pop it onto the female header on your pHAT BEAT, being careful to ensure that all of the pins are lined up correctly.

Software guides

We've put together some tutorials that guide you all the way through getting the software set up on your Pirate Radio, using our nifty one-line-installers:

  • Turn your Pirate Radio into a streaming Spotify box; our tutorial will guide you through all of the steps.
  • Have an iPhone? Then you could turn your Pirate Radio into an AirPlay speaker; it's a breeze with the one-line-installer and tutorial
  • Rock out to Planet Rock or Slay Radio by turning your Pirate Radio into an internet radio!!

Shopping basket

Need something for this project? You can use the links below to add products to your Pimoroni Shop basket for easy checkout.

Pirate Radio - Pi Zero W Project Kit
£40.00
Raspberry Pi Universal Power Supply
£8.00
NOOBS 8GB SD Card (2.2.0)
£6.50
Antex XS25 Soldering Iron (UK Plug)
£30.00
Antex Lead Free Solder 2m
£3.00
GPIO Hammer Header (Solderless)
Male + Female + Installation Jig £6.00
GPIO Hammer Header (Solderless)
Male £2.00
GPIO Hammer Header (Solderless)
Female £3.00
Want to checkout or change something? Click here to view your cart.

Tutorial
Intermediate
Raspberry Pi, Pi Zero

Sandy Macdonald

sandy@pimoroni.com
@sandyjmacdonald
http://sandyjmacdonald.github.io
Formerly, Sandy worked at the University of York, in the biology department, analysing data and telling people that they should have used more replicates. Now a fully-fledged crew member at Pimoroni - head of digital content - working on learning materials and digital chunterings. Find him on Twitter and most everywhere else, as sandyjmacdonald.