Skip to content

DIY Kit Assembly

About 30 minutes and no soldering. Everything screws together.

Two parts are not in the kit and you need them before you can finish: a Raspberry Pi Zero 2 WH and a microSD card. Both are specified below, and the wrong Pi will not work.

Two tools do the whole build: a 2 mm hex key (5/64”, marked .078” on imperial sets) for the kit’s screws, and a 5 mm nut driver for the hub’s copper standoffs.

Both top plates are in the kit, so you can build with or without the 2” screen. Swapping them later is a five-minute job.

Every part travels in its own zip bag with a code on the label, and those codes are used in every step below. For standoffs and screws the number is the length in millimetres — D30 is a 30 mm standoff, S6 is a 6 mm screw. If a bag ever tears you can identify a loose part with a caliper.

Counts include spares — one extra standoff in each set, four extra screws. Leftovers at the end are meant to be there.

CodePartQty
M1Mainboard PCB — buck converter, buzzer, all inputs and outputs1
H1USB Hub HAT, 4 ports (Waveshare) — in its own box with its copper standoffs and screws1
P1Top plate with the screen cut-out1
P2Top plate, solid1
P3Base plate1
D14Standoff M2.5 × 14 mm, short thread5
D11Standoff M2.5 × 11 mm5
D12Standoff M2.5 × 12 mm5
D30Standoff M2.5 × 30 mm5
S6Screw M2.5 × 6 mm20
K1Jack-to-jack cable, 3.5 mm — carries the output to your radio or module1
E12” IPS screen, Display HAT Mini — only if you ordered the Screen Add-on1
T1Fox sticker1

Raspberry Pi Zero 2 WH — this exact model

Section titled “Raspberry Pi Zero 2 WH — this exact model”

Buy a board sold as Raspberry Pi Zero 2 WH. Every letter in that name matters, and boards with very similar names will not do the job:

  • 2 — the second generation, with a quad-core Cortex-A53 at 1 GHz. The original Pi Zero and Pi Zero W are single-core, and Magic Box runs the Web UI, the USB stack and the RC output loop at the same time. One core cannot keep up.
  • W — wireless. You control Magic Box from a phone or a laptop over Wi-Fi.
  • H — headers already soldered on. The Pi plugs into the mainboard through a 40-pin header, and this kit has no soldering step. A Zero 2 W without headers means soldering that header yourself.

A Pi 3 or Pi 4 will not fit the enclosure either. The board you want carries a BCM2710A1, 4 × Cortex-A53 at 1 GHz, 512 MB RAM, 2.4 GHz Wi-Fi and Bluetooth 4.2. It costs around $20.

16 GB minimum. The Magic Box image is exactly 8.00 GiB and an 8 GB card gives you about 7.4 GiB usable — it will not fit.

Bigger is not better. The root partition is not the last one on the card and does not auto-expand, so anything above the image size simply sits unused. 16 or 32 GB is right; a 128 GB card buys you nothing.

Look for the A1 rating. A1 describes small random reads and writes, which is what Linux does all day. Class 10 and UHS-I only describe sequential video recording and tell you nothing useful here.

What we ship in the assembled Magic Box: ADATA Premier microSDHC 32 GB, A1, V10 (part AUSDH32GUICL10A1-RA1). Rated −25 to 85 °C, which is worth having in a model aircraft.

Anything that takes PPM, SBUS, IBUS or CRSF — ExpressLRS and 4-in-1 multiprotocol modules alike. On v2.0, CRSF runs with every module, ExpressLRS and TBS Crossfire included. A classic radio with a 3.5 mm trainer port works just as well. The K1 cable that connects it is in the kit, so there is nothing else to buy here.

A 3S to 6S LiPo with an XT60 connector. Do not try to run Magic Box from a USB port: a full HOTAS setup draws more current than USB will supply and the Pi browns out during boot. The symptoms look exactly like a dead device — no screen, no Wi-Fi, no output.

  • 2 mm hex key — 5/64”, marked .078” on imperial sets. This drives every S6 screw in the kit.
  • 5 mm nut driver — for the copper standoffs that come with the USB hub HAT. You need it in step 1.
  • A computer with an SD card reader.

Eleven steps. Work on a clean surface — the screws are small and the acrylic scratches.

The build part-way through: Raspberry Pi and USB hub at the bottom, mainboard above them on corner posts, screen fitted, the whole stack standing on the base plate
  1. Assemble the USB hub (H1). Screw the hub HAT together using the copper standoffs that came in its own box.

    The USB hub HAT with its four copper standoffs screwed into place
  2. Mount H1 on the Raspberry Pi using four D14 standoffs. The D14 standoffs have a shortened thread so that they seat under the hub’s own 4 mm copper standoffs.

    Raspberry Pi Zero 2 W mounted above the USB hub, with four standoffs standing up from its corners
  3. Plug the Raspberry Pi into the mainboard M1 through the 40-pin connector. Line the connector up before you press — the pins bend easily.

    The mainboard in place on top of the Raspberry Pi and hub stack
  4. Screw M1 down to the Pi with the four D11 standoffs.

  5. Fit the screen E1 onto the 40-pin connector. On v2.0 the display uses the standard Pimoroni pinout: no modification and no extra wire. Skip if you are building without the screen.

    The screen seated on the mainboard, its A, B, X and Y buttons facing out
  6. At the four corners of M1, screw a D30 standoff into a D12 standoff. These are the posts that set the height of the enclosure.

    Four tall corner posts standing proud of the mainboard, ready to take the plates
  7. Peel the masking film off all three plates — it is on one side only. Picking it off once the plates are bolted into the stack is far more annoying.

  8. Fit the base plate P3 from below with 8 × S6. The lettering faces outwards.

    The base plate bolted on from below, closing the bottom of the enclosure
  9. Screw the screen down with 4 × S6. Skip if you built without the screen.

    The screen screwed down to the mainboard, one screw at each of its four corners
  10. Fit the top plate from above with 4 × S6, lettering outwards again. Use P1 if you fitted the screen and P2 if you did not — and keep the other plate.

    The finished Magic Box with the cut-out top plate fitted and the screen showing through the opening
  11. Write the SD card and put it in the Pi — next section.

Download the Magic Box OS image from OS Images, write it to the card with Raspberry Pi Imager, then put the card into the Pi.

How to Update has the walkthrough — it is the same one you will use for every update from here on.

  1. Switch it on. Magic Box v2.0 has a physical power switch.
  2. Power it from a 3–6S LiPo on the XT60, not from USB.
  3. Within about 30 seconds the screen shows a URL. Skip this if you built without the screen.
  4. Magic Box makes its own Wi-Fi network. Look for an open network named MagicBox-XXXX, join it, then open http://magic.box (or 10.11.12.13). It does not join your home network, so there is no point looking for it there.
  5. Connect the output with the supplied K1 cable. Either of the two 3.5 mm PPM sockets will do — they are wired in parallel, so it makes no difference which one you use. The third socket is the UART output, for SBUS, IBUS and CRSF. An RF module should light up blue.
  6. Connect a joystick and move it in circles. Ailerons and elevator should follow smoothly.

Work down the list.

  1. Is it switched on?
  2. Is it running from a battery rather than USB?
  3. Screen still dark after 30 seconds — check that the card is written correctly and pushed fully into the slot.
  4. Cannot find the Web UI — you are almost certainly looking on your home network. Join the MagicBox-XXXX network first.
  5. Everything is up but the radio sees no signal — open Settings → Output → PPM Pin in the Web UI and switch it. FlySky radios read the Ring contact, RadioMaster and EdgeTX read Tip. Re-select the value even if it already looks right: it is only stored when it actually changes.

Still stuck? Email pmg at silverfoxrc.com.

Your Magic Box is now the same device we ship assembled, so the rest of the documentation applies unchanged: