Enclosure

A 3D-printable case for the NFC reader/writer

← Back to QBox NFC Tagger

The Finished Build

Open green 3D-printed enclosure with the PN532 board mounted up top, the XIAO ESP32-C3 wired below, and the antenna cable wound around a built-in spool

The completed unit, with the PN532 reader/writer mounted near the top, the XIAO ESP32-C3 microcontroller tucked into the corner, and the U.FL antenna cable neatly wound around the built-in spool. The lid (right) snaps on with four screws.

3D Model

CAD rendering of the enclosure showing the box with its internal spool post and the lid with its support pin

The model is provided as a 3MF file. It prints in two parts — the box and the lid — in PLA. Enable tree supports when slicing; the antenna-spool post has an overhang that needs them.

Download pn532-box.3mf

Salient Features

Assembly

  1. Wire up the boards as shown on the DIY NFC page before putting anything in the enclosure — it is much easier to debug on the bench.
  2. Drop the XIAO ESP32-C3 into its corner pocket, USB-C port facing the cable cutout.
  3. Plug the U.FL antenna cable into the XIAO and wind the slack around the central spool post.
  4. Seat the PN532 over the two diagonal standoffs and secure it with M2 screws (or a dab of hot glue if you prefer).
  5. Set the lid in place — the support post should land squarely on top of the XIAO — and screw it down at the four corners.