NFC Shieldsigner assembly

Finished NFC ShieldSigner, front view

This guide takes you through building an NFC ShieldSigner, from a box of parts to a working device. It takes about 20–30 minutes and needs no tools if your Raspberry Pi already has its header soldered. Every step has a photo, so you can compare your build as you go.

What’s in the kit

NFC ShieldSigner DIY kit: all components laid out

The photo above shows the complete NFC ShieldSigner DIY Kit as it arrives from XmrStreet. If you’d rather source the parts yourself, this is what you need:

  • Smartcard HAT with NFC connector: the main board, with the display, buttons, smartcard slot, SIM-size card slot, USB-C port and a 4-pin connector for the NFC module. It’s also sold separately as the Smartcard Combo Board.
  • Raspberry Pi Zero v1.3 with a 40-pin GPIO header
  • Raspberry Pi Zero camera module (the short flex-cable type with sticky pads)
  • PN532 NFC module (HW-147) with a 4-pin cable, set to I²C mode
  • microSD extension cable
  • microSD extension holder: the small orange shim
  • Button caps: a 5-way D-pad and a 3-button strip
  • 3D-printed enclosure: bottom shell and front plate

You’ll also need a microSD card flashed with the ShieldSigner software, and a USB-C cable to power the device.

Step 1: Prepare the Raspberry Pi and install the camera

The ShieldSigner uses a Raspberry Pi Zero v1.3. This model has no Wi-Fi or Bluetooth, which suits an air-gapped signing device.

The first job is soldering the 40-pin GPIO header onto the Pi. If you bought the kit from XmrStreet, the header comes pre-soldered and you can skip this.

Next, fit the camera. Find the grey camera connector on the right-hand edge of the board (viewed from the top, marked in red below).

Raspberry Pi Zero v1.3 with the camera connector highlighted

  1. Gently pull open the grey connector’s latch. It slides out a little way; don’t force it.
  2. Insert the camera’s flex cable with the gold contacts facing down.
  3. Push the latch back in to lock the cable.
  4. Give the camera a slight pull to check it’s held firmly.
  5. Peel the protective film off the camera’s sticky pads and fold the camera onto the back of the Pi as shown below.

Camera module stuck to the back of the Raspberry Pi Zero

Don’t worry about the exact position yet. You’ll fine-tune it once the Pi is in the enclosure.

Step 2: Prepare the enclosure

The PN532 NFC module has four small sticky pads on its back.

PN532 NFC module (HW-147) with the 4-pin cable attached

  1. Peel the protective film off the four pads.
  2. Place the board in the recess in the bottom shell, as shown below. Push it as far down as it will go.
  3. Route the cable so it doesn’t cross the camera hole. Keeping the wires flat and next to each other works best.

PN532 NFC module fitted in the recess of the bottom shell, cable routed past the camera hole

Step 3: Install the Raspberry Pi

  1. Plug the microSD extension into the Pi’s microSD slot.
  2. Lower the Pi into its slot in the enclosure, as shown below.
  3. Make sure no wires run across the camera opening.

Raspberry Pi Zero placed in the enclosure with the microSD extension plugged in

Now turn the enclosure over and look at the back. The camera lens should sit centred in the opening. If it doesn’t, nudge the camera in the right direction until it lines up.

Back of the enclosure with the camera lens centred in its opening

Once the camera is aligned, press the Pi firmly into place. Check that the NFC cable and its connector aren’t trapped or tangled anywhere.

Step 4: Fit and secure the microSD extension

  1. Slide the card end of the microSD extension into its slot in the enclosure wall.
  2. Lock it in place with the microSD extension holder, the small orange shim shown below.
  3. Fold the extension cable neatly into the left-hand section of the enclosure.
  4. Make sure the NFC connector stays free. You’ll need it in the next step.

microSD extension holder (orange shim)

microSD extension folded into the enclosure and secured with the holder, NFC connector left free

Step 5: Connect the NFC module to the Smartcard HAT

Plug the 4-pin NFC cable into the connector on the back of the Smartcard HAT (marked +3.3V, SCL, SDA, GND).

  • The plug has two plastic lips. Line them up with the matching slots on the HAT’s connector; the plug only fits one way.
  • Push it all the way in, as shown below.
  • The plug won’t sit fully flush with the connector housing. That’s normal.

4-pin NFC cable plugged into the Smartcard HAT

Close-up of the 4-pin NFC connector fully inserted

Step 6: Install the Smartcard HAT

  1. Hold the Smartcard HAT above the enclosure so its header lines up with the Pi’s GPIO pins.
  2. Press it down evenly until it sits flat in the enclosure.

Smartcard HAT seated in the enclosure

Now check each side of the enclosure. The microSD card slot, USB-C port, smartcard slot and SIM-size card slot should all line up with their openings.

Side of the enclosure: microSD slot, USB-C port and smartcard slot lined up with the openings

Other side of the enclosure: SIM-size card slot opening

Step 7: Finish and test

  1. Drop the button caps into the front plate: the D-pad above the screen and the 3-button strip below it.
  2. Put the front plate on and press it down all round until it clicks into place. Check that it’s secured on every side.

Finished NFC ShieldSigner, front view

Insert your flashed microSD card and power the device over USB-C. On the back you should see an orange light glowing through the enclosure beside the NFC logo. That means the NFC module is getting power.

Back of the powered NFC ShieldSigner with the NFC module's orange LED glowing through

Well done!

Your NFC ShieldSigner is assembled and ready to go. Questions or trouble with your build? Get in touch and we’ll help.

FAQ

My device doesn’t power on. What could be wrong?

First, check that you flashed the right image for your build. A kit from XmrStreet comes with a Raspberry Pi Zero v1.3, which needs the Pi0 image.

If it still doesn’t boot, try a different microSD card. In about 99% of cases, a device that won’t boot has a microSD card problem.