Spy Spotter Pro: assembly guide
All guides · Dongle · Logger · Sweep
The Pro is the full-size Spy Spotter. It has two small circuit boards in one case, about the size of a deck of cards. It listens for the radio signals that surveillance devices give off. It only listens: it never jams or disturbs anything. (The one time it sends anything is when the bridge joins your own Rayhunter hotspot's Wi-Fi to read its warnings.) It warns you with lights, a small screen and spoken or beeped alerts from a speaker. Every find is saved with its GPS position on a memory card.
- The scanner board (a DFRobot FireBeetle 2 ESP32-C5-U) listens to Wi-Fi all the time, on both 2.4 and 5 GHz. It also runs the GPS, the memory card, the screen and the three coloured lights. The battery plugs into it, and it powers everything else.
- The bridge board (an XIAO ESP32-C3) listens to Bluetooth all the time. It also plays the alerts on the speaker, watches for infrared floodlights, and talks to a Rayhunter hotspot.
- The two boards talk to each other over three wires (the serial link). A fourth wire carries power from the scanner to the bridge.
- A lens finder (six red lights and a button) helps you spot hidden camera lenses. It doesn't need either board's program: it only takes power from the scanner, so it works whenever the Pro is switched on.
The Pro can only warn about cell-site simulators (fake phone towers) when a separate Rayhunter hotspot is switched on and nearby. Without one, it does not detect them.
Status (2026-11-19): nobody has built a Pro yet, and nothing has run on a FireBeetle yet. These steps come from the design files (the pin plans in
firmware/src/scanner/pins.hand at the top offirmware/src/bridge/main.cpp, and the case makerhardware/case/case.py) and the parts' data sheets (for the FireBeetle: DFRobot's DFR1287 schematic and dimension drawing). If you build the first one, please correct anything that turns out to be wrong.
| Boards | 1 x DFRobot FireBeetle 2 ESP32-C5-U (the scanner) and 1 x XIAO ESP32-C3 (the bridge) |
| Shows alerts with | a 0.96" screen, 3 coloured lights, a large speaker (the XLY, 50 mm across); plus the lens finder |
| Keeps a log | finds with their GPS position, on a microSD card (encrypted upload is still being built) |
| Case (outside) | 118 x 66 x 40 mm, three 3D-printed parts: base, shelf, lid. The large speaker takes the right-hand end of the lid |
| Firmware to install | pro_scanner on the FireBeetle, pro_bridge on the C3 |
Downloads
Printable PDF of this guide, with every drawing.
Case files to print (which ones you need is in step 1; if your parts differ in size, make your own on the case page):
In this guide
Words used in this guide
| Word | What it means |
|---|---|
| FireBeetle 2 ESP32-C5-U ("the FireBeetle") | A small computer with a radio, 25.4 x 60 mm, made by DFRobot (part number DFR1287). It has a USB-C socket at one end, a tiny round antenna socket at the other, a battery socket with a charger, and two buttons (RST and BOOT). In the Pro it is the scanner. Don't confuse it with the DFR1222, which has a built-in antenna and no antenna socket. |
| XIAO ESP32-C3 ("the C3") | A smaller board, about the size of a postage stamp, with a USB-C socket at one end. In the Pro it is the bridge. |
| Scanner | The FireBeetle. It listens to Wi-Fi and runs the GPS, the memory card, the screen and the lights. The battery plugs into it, and it powers the bridge and every other part. You plug into the scanner to set up and charge the Pro. |
| Bridge | The C3 board. It listens to Bluetooth, plays alerts on the speaker, reads the infrared sensor and talks to Rayhunter. It sends what it finds to the scanner. |
| Firmware | The program that runs on a board. You install it from a web page. Each board gets its own. |
| Pin (A3, D11, SDA ... on the FireBeetle; D0, D1 ... on the C3) | The holes or half-holes along a board's edges, each labelled. You solder wires (or header pins) to them. |
| Header pin | A short straight metal pin, sold in strips that you snap apart. Soldered into a board's hole, it lets you push a jumper plug onto it. |
| Jumper plug (female) | The small black plug on the end of a jumper wire, which pushes onto a header pin and pulls off again. |
| GND ("ground") | The negative side of the circuit. Every part's GND wire joins the same GND, on both boards. |
| 3V3 | A pin that gives out 3.3 volts. On the FireBeetle, always use the 3V3 pin on the right-hand side (next to RST): it is on whenever the board has power. The 3V3 pin on the left-hand side (next to VIN) is switched by the board itself and is off by default: don't use it. On the C3, the 3V3 pin is where the bridge gets its power from the scanner. |
| Battery socket | The small white 2-pin socket on the FireBeetle that the battery plugs into. It is a JST-PH socket (2.0 mm between the pins). The board marks which side is + . |
| JST-PH plug | The small 2-pin plug that fits that socket. Batteries are sold with many different plugs, and some with the wires the other way round: see step 3.1. |
| Switch cable | A short JST-PH extension cable with an on/off push switch in the middle (Adafruit product 3064). It goes between the battery and the FireBeetle. One click turns it on, the next click off. |
| Serial link (TX, RX) | The two wires the boards use to talk. TX means "transmit" (send) and RX means "receive". Each board's TX goes to the other board's RX, so the wires cross over. The boards must also share GND. |
| GPS | A small square module that works out where you are from satellites. It needs a view of the sky. |
| Baud rate ("baud") | The speed the GPS talks at. The board and the GPS must use the same speed. |
| microSD card | A fingernail-sized memory card. The Pro saves its log on it. It sits in a small microSD module with a card slot. |
| FAT32 | A way of formatting a memory card that the Pro can read. Your computer can format the card this way. |
| OLED | The small screen (0.96 inches across). |
| Amplifier ("amp") | A small board (MAX98357A) that makes the sound signal strong enough to drive the speaker. |
| ADS1115 | A small board that measures voltages very precisely. Here it measures the infrared sensor. |
| Photodiode | A part that lets through more current when more light falls on it. The Pro uses one that sees infrared light. It must go the right way round. |
| Infrared illuminator | A floodlight of infrared light, invisible to your eyes. Number-plate cameras and security cameras use them at night. A TV remote also gives off infrared light, so you can use one to test. |
| Lens finder | Six red lights around a small hole you look through. A camera lens reflects the red light back as a bright glint. |
| Rayhunter | Free software, from another project, that runs on a cheap mobile hotspot and looks for signs of a cell-site simulator. |
| Hotspot | A small pocket device that makes its own Wi-Fi network. Rayhunter runs on one (for example an Orbic RC400L). |
| Cell-site simulator | A fake phone tower that police can use to track phones nearby. The Pro only warns about one through Rayhunter. |
| LiPo | A flat rechargeable lithium battery, like the one in a phone. It has a red (+) and a black (-) wire, which usually end in a small plug. |
| Solder / soldering | Joining a wire to a pin with melted metal (solder) using a hot soldering iron. |
| Heat-shrink | A small plastic tube you slide over a soldered joint. Heat it and it shrinks tight, so the joint can't touch anything. |
| Kapton tape | Thin orange tape that doesn't melt and doesn't conduct electricity. Used to stop parts touching. |
| Multimeter | A meter that measures volts and resistance. On its "beep" (continuity) setting it beeps when two points are connected. |
| Short circuit ("a short") | When + and GND touch directly. It can make the battery very hot. Always check for one before connecting the battery. |
| Breadboard | A plastic board full of holes that holds parts and wires without soldering, for testing. |
| U.FL connector | A tiny round snap-on socket on the FireBeetle (at the end away from the USB-C socket) for the antenna cable. |
| Antenna | The thin flat sticker-like part on a cable that picks up radio signals. |
| Resistor | A small part that limits current. Its value is in ohms (Ω); "1 k" means 1,000 ohms and "1 M" means 1,000,000 ohms. It can go either way round. |
| LED | A small light. The red lens-finder LEDs must go the right way round: the long leg is + . |
| Pull-up | A resistor that holds a pin at 3.3 volts when nothing else is driving it. |
| Strapping pin | A pin the board reads at the moment it switches on, to decide how to start. The FireBeetle has several on its edges (see step 2.2). |
| STL file | A 3D model file. You load it into a 3D printer's software to print the case. |
| PETG | A strong 3D-printing plastic. |
| Shelf | A flat printed plate that sits on a ledge inside the base. The battery and the ADS1115 sit under it; the two boards and most modules sit on top of it. |
| Holder, bracket | Small walls printed inside the case that hold each part in place. |
| Cradle | The holder each board sits in on the shelf. It has a stop at the back so a cable can't push the board in. |
| Rim, ring, tube | Round or square holders: the GPS sits in a rim, the speaker in a ring under the lid, the photodiode in a tube. |
| Sight tube | A printed tube that runs from the floor of the base up to the lid. You look through it to use the lens finder. |
| Collar | A printed ring under the lid, around the sight hole, with six holes for the lens-finder LEDs. |
| Screw post ("boss") | The four round posts in the corners that the lid screws go into. |
Which way is which. The drawings use -X, +X, -Y and +Y for the four walls. Put the case base on the table with the open side up and one long side towards you, turned so that the round switch hole and the memory card slot are in the far wall, with the round hole at the left end. Then:
- left wall = -X: the scanner's USB-C opening (near you) and the 7 mm lens-finder button hole (further back),
- right wall = +X: the bridge's USB-C opening,
- the far wall = +Y: the round hole for the on/off switch (at the left end) and the memory card slot (at the right end),
- the wall nearest you = -Y: no openings (only the base made for an external antenna has a hole here).
The lid drawing shows the lid turned over, with its underside up. Pick the lid up as if it were on the case, then flip its far edge towards you. The -X end stays on your left, but the edge that was over the far (+Y) wall is now the one nearest you. The positions under the lid in this guide (for example "the -X/-Y corner") always mean where the part sits when the lid is on the case.
1. What you need
Parts
| Part | How many | Notes |
|---|---|---|
| DFRobot FireBeetle 2 ESP32-C5-U (DFR1287) | 1 | The scanner. Get the -U version (it has the U.FL antenna socket), not the DFR1222. It has the battery socket and charger built in |
| Seeed XIAO ESP32-C3 | 1 | The bridge |
| Dual-band (2.4 and 5 GHz) antenna with a U.FL plug | 1 | Recommended, for the FireBeetle. The antenna that comes with the FireBeetle only covers 2.4 GHz. Without a dual-band one, the scanner hears 5 GHz signals much less well. The C3 uses the antenna it comes with |
| Beitian BE-180 GPS | 1 | Its speed (baud rate) is not yet known for sure: 9600 or 38400. The test in step 4 finds out |
| SSD1306 0.96" I2C OLED | 1 | The screen |
| Mini microSD SPI module, 3.3 V type | 1 | The memory card holder |
| microSD card, 8-32 GB | 1 | Formatted FAT32 |
| WS2812 5050 LED breakout | 3 | The coloured lights, each on a tiny board |
| MAX98357A I2S amplifier | 1 | The amp for the speaker |
| XLY speaker, 4 Ω 3 W: about 50 mm across and 20 mm deep | 1 | Much louder than a small 20 mm speaker. Measure its frame width and its depth before printing (step 2.3) |
| ADS1115 16-bit ADC | 1 | Measures the infrared sensor |
| Infrared photodiode with a daylight filter (SFH 203 FA, BPV10NF or similar) | 1 | Plus one 470 k resistor. Have a 100 k and a 1 M resistor ready too, in case you need to swap |
| Red LEDs, 3 mm | 6 | For the lens finder, plus six 220 Ω resistors |
| 7 mm panel push button (momentary: on only while pressed), for example a PBS-110 | 1 | The lens-finder button. It fits the 7 mm hole in the left (-X) wall. Some come with wires already attached |
| 503450 LiPo battery, 1000 mAh, with protection | 1 | It must end in a JST-PH 2.0 mm 2-pin plug, wired so its red (+) wire lands on the side of the FireBeetle's socket marked + . Many batteries come with the plug wired the other way, or with a different plug (JST-SH 1.0 mm, Molex 1.25 mm): check before you buy, and check again before plugging in (step 3.1). Whether the 503450 already ordered for this project has the right plug is not confirmed yet |
| JST-PH switch cable (Adafruit 3064) | 1 | The on/off switch: a 2-pin JST-PH extension cable, about 50 cm long, with a click-on, click-off switch in it. Nothing to solder. Its switch's size has not been measured yet: measure yours (step 2.3) |
| Header pin (one from a strip of 2.54 mm pins) and a jumper wire with a female plug | 1 each | For the bridge's power wire: the pin goes in the scanner's 3V3 hole, the plug goes on the end of the wire to the bridge, so you can pull it off (step 3.1) |
| M2 x 8 mm self-tapping screws | 4 | To screw the lid on |
| PETG filament | up to about 80 g | For printing the case (its three parts add up to 63 cm³ of plastic). Never use metal-filled or carbon-filled filament: it blocks radio signals |
| Rayhunter hotspot (Orbic RC400L or another device Rayhunter supports) | 1 | A separate device. Set it up by following the Rayhunter project's own instructions |
Printed parts
Print three parts from the folder hardware/case/stl/:
pro_base_spk50.stl: the bottom of the case. Print it open side up.pro_shelf_spk50.stl: the shelf. Print it flat.pro_lid_spk50.stl: the lid. The file is already turned face-down for printing.
The spk50 in the names means "for a speaker up to 50 mm across". These ready-made files fit a speaker
up to 50 mm across its frame and up to 20 mm deep (from the front of the frame to the back of the
magnet). The speaker hangs from the lid over the modules on the shelf, and that depth is what makes the
case 40.5 mm tall. If your speaker is deeper, make the files on the case page instead (step 2.3): the case
comes out 1 mm taller for every extra millimetre. If it is shallower, the case page makes it shorter.
If you will use an external screw-on antenna for the scanner, make the base on the case page with
Hole for an external antenna ticked. It has an extra round hole in the near (-Y) wall for the antenna
socket. (Programmers: python hardware/case/case.py --tier pro --speaker 50 --speaker-depth <depth> --sma
gives pro_base_spk50_sma.stl.)
Smaller case, small speaker. If you would rather have a much smaller case (88 x 66 x 32 mm) with a 20 mm speaker, print
pro_base.stl,pro_shelf.stlandpro_lid.stlinstead. Everything else in this guide stays the same, except for where some parts sit (seepro_layout.png): the speaker sits under the grille just right of the middle of the lid, near side, and the amp sits under the lid behind it; in the far (+Y) wall the memory card slot is at the left end and the switch hole at the right end; and the battery lies flat across the bay rather than lengthwise at the left end.
Tools and supplies
- Soldering iron with a fine tip, solder and flux
- Multimeter
- Thin silicone wire (28-30 AWG) in at least 4 colours, including red and black
- Header pins (a strip of 2.54 mm pins), if you will push the boards into a breadboard for testing
- Heat-shrink tube, Kapton tape
- Hot-glue gun and thin double-sided tape
- Optional: a piece of IR-pass filter (it looks black but lets infrared light through) for the infrared window in the lid
- A breadboard and jumper wires (for testing before you solder)
- A USB-C cable that carries data (some cheap cables only charge; if the computer doesn't notice the board, try another cable)
- A computer with the Chrome or Edge web browser, and a way to put a microSD card in it
- A TV remote (for testing the infrared sensor)
- A small Phillips screwdriver
- Side cutters and wire strippers
2. Before you start
2.1 Skills you will use
- Soldering a wire to a pin: strip 2 mm of insulation off the wire. Touch the hot iron to the wire and melt a little solder onto it ("tinning"). Hold the tinned wire on the pin, touch the iron to both for 1-2 seconds until the solder flows, then take the iron away and hold still until the solder sets.
- Heat-shrink: slide a 1-2 cm piece of tube onto the wire before you solder. After soldering, slide it over the joint and warm it with the side of the iron or a lighter held well below it until it shrinks.
- Checking for a short with the multimeter: turn the dial to the beep setting. Touch one probe to the
- point and one to GND. A beep means they are connected: find and fix that before going on.
- Measuring resistance: turn the dial to Ω. Touch the two probes to two points with the power off. The meter shows the resistance between them.
2.2 Which pins the Pro uses
Hold the FireBeetle face up with its USB-C socket at the bottom (the antenna socket at the top). Its pins run down both long edges, and each one is printed with its name.
- Left-hand side, top to bottom: NC, D11, D12, D13, NC, A1, A2, A3, A4, SDA, SCL, GND, 3V3 (switched: don't use), VIN.
- Right-hand side, top to bottom: RX, TX, D2, D3, NC, D6, NC, D9, SDA, SCL, MI, MO, SCK, NC, GND, NC, 3V3 (always on: use this one), RST.
"NC" means "not connected": leave those holes empty. (The pin order is from DFRobot's drawing of the board: go by the names printed on yours.)
- The scanner (FireBeetle) uses 13 pins: D11 and SCK, MI, MO (memory card), SDA and SCL (screen; the board has an SDA/SCL pair on each side, and both pairs are the same two pins, so use whichever is closer), TX and RX (GPS), D12 (lights), A3 and A4 (link to the bridge), the right-hand 3V3 (power for everything) and GND.
- Leave these FireBeetle pins empty: D2, D3, D6, D9, A1, A2, D13, the left-hand 3V3, VIN, and every NC hole. D13 is wired to the board's own light, and D9 is its BOOT button.
- The bridge (C3) uses 7 pins, D1 to D7, plus its 3V3 pin (power in) and GND. Leave D0, D8, D9 and D10 empty. (D8 and D9 are the C3's strapping pins; the Pro doesn't use them.) The C3's battery pads, on its underside, are not used in the Pro.
The chip on the FireBeetle reads some of its pins as it starts up (strapping pins). D3, D6 and D9 are among them, so the Pro leaves them free. Two more strapping pins are used, and both are safe as wired here:
- MI (the memory card's MISO) is fine: the memory card leaves it alone until the board talks to it.
- D11 must never be left "floating" (connected to nothing definite) when the board starts. The Pro uses it for the memory card module's CS ("chip select") pin. Most modules have a pull-up resistor on CS, which holds it at 3.3 volts. Check yours:
- With the memory card module not connected to anything, set the multimeter to Ω.
- Touch one probe to the module's CS pin and the other to its 3V3 (or VCC) pin.
- It is fine if the meter reads about 10 k.
- If not (no reading, or something very different), solder a 10 k resistor from the FireBeetle's D11 to its right-hand 3V3 when you wire it up.
2.3 Measure your parts, then print the case
Inside the case, small printed walls (holders) hold each part. They are sized for typical parts, but parts from different sellers can differ by a millimetre or two.
- Measure the speaker: the width of its round frame, and its depth from the front of the frame to the back of the magnet.
- Measure these parts too, with a ruler (or calipers): the GPS, the memory card module, the ADS1115, the amp, the screen, the light boards, the battery and the switch on the switch cable (its length, width and height, and the width of its button). The case's starting size for that switch is a guess.
- For the screen, also measure how far the middle of the visible screen is from the middle of its
board. (On the case page and in
case.pythis is calledofs, "offset".) - If the speaker is no more than 50 mm across and 20 mm deep, and the other parts match the case page's
starting sizes, print the ready-made files from
hardware/case/stl/(step 1). - Otherwise open the case page opengovernment.io/surveillance/case/?tier=pro. Tick Large speaker, type in the speaker's Frame diameter and Depth, then the other measurements, and download STL files made to fit.
- Print in PETG with 0.2 mm layers, 3 walls (perimeters), 20 % infill and no supports.
Optional, for programmers: change
PARTSat the top ofhardware/case/case.py, then runpython hardware/case/case.py --checkandpython hardware/case/case.py --tier pro --speaker 50 --speaker-depth <depth in mm>. Or save the case page'sparts.jsonand add--parts parts.json --fitto that command.
The plan drawing
hardware/case/render/pro_layout_spk50.png shows from
above where each part sits.

3. How it is wired
3.1 Power
One battery powers the whole Pro, and it plugs into the scanner. Nothing is soldered to the battery:
battery's JST-PH plug -> switch cable -> the FireBeetle's battery socket.
The FireBeetle turns the battery's power (or the USB power, when a cable is plugged in) into 3.3 volts and gives it out on its right-hand 3V3 pin (next to RST). That pin is on whenever the board has power, and everything else in the Pro runs from it:
- the bridge's 3V3 pin (this is now the bridge's power input; see below),
- the VCC of the GPS, the screen and the memory card module,
- the VCC of the three coloured lights,
- the amp's VIN,
- the lens finder's button.
The bridge then feeds the ADS1115 and the photodiode from its own 3V3 pin, which carries the same 3.3 volts.
So many wires go to 3V3 that they meet at a 3V3 splice: twist their stripped ends together, solder them and cover the joint with heat-shrink. One wire goes from the splice to the scanner's right-hand 3V3 pin. In the same way, every part's GND wire meets at a GND splice, with one wire from it to a GND pin on the scanner (the FireBeetle has a GND pin on each side).
The bridge's power wire must come off easily. Solder a header pin into the scanner's right-hand 3V3 hole, long end up. The wire from the bridge's 3V3 pin ends in a female jumper plug that pushes onto that header pin. Solder the wire from the 3V3 splice to the same header pin, low down next to the board, so the top of the pin stays bare for the jumper plug.
- Both boards must share GND. If they don't, the serial link between them won't work.
- Never power the bridge from its own USB-C socket while its 3V3 wire is connected to the scanner. The two 3.3 volt supplies would fight. Pull the jumper plug off the scanner's 3V3 pin first, every time (for example to install the bridge's firmware), and push it back on afterwards.
- Don't use the FireBeetle's left-hand 3V3 pin (next to VIN). The board switches that one itself and it is off by default. Leave VIN empty too.
- Charge only through the scanner's USB-C socket. The FireBeetle's charger is the only one connected to the battery. The bridge's own battery pads are not used.
- The 3.3 volt supply is big enough. The FireBeetle's regulator gives up to 2 A; the two boards, the amp and the lights together stay well under that.
-
Battery plug safety. The battery's plug must be a JST-PH (2.0 mm) 2-pin plug, and its red (+) wire must go to the side of the FireBeetle's socket marked + on the board. Batteries often come with the plug wired the other way round, or with a different plug that looks similar (JST-SH 1.0 mm, Molex 1.25 mm). Never plug in a battery the wrong way round. Before you plug it in for the first time:
- Look at the board beside the battery socket and find the + mark.
- Set the multimeter to volts. Plug the battery into the switch cable and click the switch on. Touch the red probe to one contact of the switch cable's free plug and the black probe to the other.
- It is right if the meter shows a positive voltage (about 3.7 to 4.2 volts) with the red probe on the contact that will go into the + side of the socket.
- If it shows a minus sign (or nothing), stop: the polarity is reversed (or the battery is flat or the plug doesn't fit). Don't plug it in. Use a battery whose plug matches.
Whether the switch cable keeps the wires the same way round from end to end is not checked for this guide, so measure at the cable's free plug, the one that goes into the board, as above.
3.2 Scanner (FireBeetle): which wire goes to which pin
| FireBeetle pin | Connect it to |
|---|---|
| A3 | the serial link: scanner TX, goes to the bridge's D7 |
| A4 | the serial link: scanner RX, comes from the bridge's D6 |
| D12 | the first light's DIN ("data in") pad. Then the first light's DOUT ("data out") goes to the second light's DIN, and the second light's DOUT to the third light's DIN |
| D11 | the memory card module's CS |
| SDA | the screen's SDA |
| SCL | the screen's SCL (the screen's address is 0x3C; most are) |
| TX | the GPS's RX (the scanner sends to the GPS on TX) |
| RX | the GPS's TX (the scanner hears the GPS on RX) |
| SCK | the memory card module's SCK |
| MI | the memory card module's MISO |
| MO | the memory card module's MOSI |
| 3V3 (right-hand side, next to RST) | the 3V3 splice (the VCC of the GPS, the screen, the memory card module and the lights, the amp's VIN and the lens finder's button), and the bridge's 3V3 through the jumper plug (step 3.1) |
| GND | the GND splice |
| Battery socket | the switch cable, then the battery |
| D2, D3, D6, D9, A1, A2, D13, left-hand 3V3, VIN, NC | nothing: leave empty |
The GPS, the screen and the memory card module also each have a GND pin: connect it to GND.
The Pro has no buzzer and no mute button on the scanner. All sound comes from the bridge.
3.3 Bridge (C3): which wire goes to which pin
| C3 pin | Connect it to |
|---|---|
| D6 | the serial link: bridge TX, goes to the scanner's A4 |
| D7 | the serial link: bridge RX, comes from the scanner's A3 |
| D1 | the amp's BCLK |
| D2 | the amp's LRC |
| D3 | the amp's DIN |
| D4 | the ADS1115's SDA |
| D5 | the ADS1115's SCL |
| 3V3 | power in: the wire with the jumper plug, from the scanner's right-hand 3V3 (step 3.1). Also the ADS1115's VDD, and the photodiode's cathode (step 3.5) |
| GND | the scanner's GND (with the link wires) and the GND splice |
| D0, D8, D9, D10 | nothing: leave empty |
| BAT pads (under the board) | nothing: not used in the Pro |
3.4 The serial link between the boards
Three wires join the two boards. Each board's TX goes to the other board's RX:
- scanner A3 to bridge D7,
- bridge D6 to scanner A4,
- scanner GND to bridge GND.
The fourth wire between the boards is the power wire from step 3.1 (scanner 3V3 to bridge 3V3, with the jumper plug).
3.5 The other parts
- Coloured lights (WS2812): VCC to 3V3, GND to GND. Data goes in a chain, as in step 3.2. Optional but helpful: a 330 Ω resistor in the wire from D12 to the first light's DIN, and a 100 nF capacitor across the first light's VCC and GND.
- Amp (MAX98357A): VIN to 3V3, GND to GND. Leave its GAIN and SD pins unconnected: that gives the normal volume and one-speaker (mono) sound. The speaker's two wires go to the amp's + and - terminals. At 3.3 volts the amp is a bit quieter than it would be on a full battery: about 1.3 W into the 4 Ω speaker instead of about 2.5 W.
- ADS1115: VDD to 3V3, GND to GND, and ADDR to GND (that sets its address to 0x48). Its A0 input reads the infrared sensor. Every input must stay below 3.3 volts.
-
Infrared photodiode: it must go the right way round.
- The cathode is the short leg, on the flat side of the rim. It goes to 3V3.
- The other leg (the anode) goes to the ADS1115's A0.
- A 470 k resistor goes from A0 to GND.
- More infrared light means a higher voltage at A0.
- If, after testing, the reading barely moves at night, change the 470 k to 1 M. If it sits near 3.3 volts in daylight, change it to 100 k.
Infrared photodiode: the cathode (short leg) to 3V3, the other leg to ADS1115 A0, with a 470 k resistor from A0 to GND -
Lens finder: 3V3 (from the splice) goes to one leg of the push button. The button's other leg splits into six wires. Each wire goes through a 220 Ω resistor to the long (+) leg of one red LED, and each LED's short leg goes to GND. At 3.3 volts each LED gets about 6 mA. If they are too dim, use 150 Ω resistors instead. The lens finder doesn't use any board pin or program, so it works whenever the scanner has power (the switch is on, or a USB cable is plugged into the scanner).
Lens finder: the scanner's 3V3 through the push button to six 220 ohm resistors, each feeding a red LED to GND
4. Test everything before you solder
Testing on a breadboard first means a wrong wire or a bad part is easy to fix. You test the scanner first, then add the bridge.
While testing, the USB cable in the scanner powers everything: the scanner's right-hand 3V3 pin feeds every part (and later the bridge) exactly as it will in the case. Don't plug in the battery yet. To push the boards into a breadboard, they need header pins soldered into the holes you use (or use jumper wires with small hook clips).
Stage 1: the scanner
- On your computer, format the microSD card as FAT32. Push it into the memory card module.
- Push the FireBeetle into the breadboard. Use jumper wires to connect the GPS, the memory card module, the screen and the three lights, exactly as in step 3.2. Their VCC wires all go to the FireBeetle's right-hand 3V3 pin (next to RST), not the left-hand one.
- Plug the FireBeetle into the computer with the USB-C cable.
- In Chrome or Edge, open opengovernment.io/surveillance/setup/.
- Under 1 Which model do you have?, click Pro.
- Under 2 Install the firmware, the page says the Pro has two boards. With the scanner plugged in,
click Install firmware. Pick the port that appears (often called "USB JTAG/serial debug unit") and
confirm. Wait until it says it has finished. The page picks the right firmware for the board.
- If no port appears: try another USB cable (it may be charge-only), or another USB socket.
- If a port appears but installing fails: put the FireBeetle into its install mode by hand. Hold down its BOOT button, press and release RST, then let go of BOOT, and click Install firmware again. When it has finished, press RST once so the new firmware starts.
- Under 3 Choose your settings, click Connect and pick the same port. Type a Name for this
Pro (for example
pro-01; don't use your own name if you might share logs). Click Save to device. - Look at 4 Check it works. It updates every few seconds.
- GPS: take the breadboard near a window or outside.
- It worked if it says Searching and then, after a while, Fix with a number of satellites. The first fix can take a few minutes.
- No data: the GPS isn't sending anything the board can hear. Swap the wires on TX and RX and check again.
- Searching for a long time outdoors and never a fix: the speed (baud rate) is probably wrong.
This needs a programmer: change
GPS_BAUDinfirmware/src/scanner/pins.h(it is 38400 now; try 9600), rebuild and install again. Then write the value that worked into CLAUDE.md so the next builder knows.
- SD card:
- It worked if it says OK.
- Not found: check the card is FAT32 and pushed in, and check the module's six wires (CS to D11, SCK to SCK, MISO to MI, MOSI to MO, VCC to 3V3, GND).
- Screen:
- It worked if the screen shows the status screen.
- If not: check SDA, SCL, VCC (3V3) and GND.
- Bridge board says Not heard for now. That is expected: the bridge isn't connected yet.
- GPS: take the breadboard near a window or outside.
Optional, for programmers: install with
cd firmware && python -m platformio run -e pro_scanner -t upload, and name it withpython tools/spy.py setup --port COM5 --name det-01. A serial monitor (python -m platformio device monitor -b 115200, then press the FireBeetle's RST button) should show a start-up record withSpy Spotter scanner up. Receive-only.and no#WARN SD card not found. The line startingrst:should includeSPI_FAST_FLASH_BOOT, which means it started normally. Sending{"cmd":"status"}shows the same checks as the setup page, plusbattery_mv, the battery voltage in millivolts (low when no battery is plugged in; not calibrated, so only roughly right).
Stage 2: the bridge
- Unplug the scanner. Plug the bridge (C3) into the computer on its own, with nothing wired to it.
- On the setup page, under 2 Install the firmware, click Install firmware again and pick the bridge's port. The page picks the bridge firmware by itself.
- Unplug the bridge. Push it into the breadboard and connect:
- the serial link: scanner A3 to bridge D7, bridge D6 to scanner A4, and scanner GND to bridge GND (step 3.4),
- the amp and the speaker (the amp's VIN to the scanner's 3V3),
- the ADS1115 and the photodiode with its 470 k resistor (step 3.5),
- the lens finder (its button to the scanner's 3V3),
- last, the power wire: scanner's right-hand 3V3 to the bridge's 3V3 pin.
- From now on the bridge gets its power from the scanner. Don't plug a USB cable into the bridge while that power wire is connected. If you need to install the bridge's firmware again, take the power wire off first, and put it back afterwards.
- Plug the scanner back into the computer. Both boards start. On the setup page, click Connect under 3 Choose your settings and pick the scanner's port. (From now on, always set up the Pro through the scanner. It passes the bridge its settings.)
- Look at 4 Check it works.
- It worked if Bridge board says Talking.
- If it says Not heard: check that the bridge has power (the power wire from the scanner's right-hand 3V3), that the link wires cross over (each TX to the other board's RX) and that the two boards share GND. Then press the bridge's RESET button: when it starts, it asks the scanner for its settings.
- Click Play a test alert.
- It worked if the speaker plays a beep pattern (or your own recorded sound clip, see SOUNDS.md) and the lights come on. It is a little quieter than an amp run from a battery would be (step 3.5).
- No sound: check the volume setting isn't 0, then check the amp's wires (BCLK to D1, LRC to D2, DIN to D3, VIN to 3V3, GND) and the speaker's two wires.
- No light: check the lights' wires (DIN of the first one to the scanner's D12, the chain between them, VCC to 3V3, GND).
- Test the infrared sensor. Leave the photodiode alone for about 10 seconds, so the bridge learns the
normal light level. Then point a TV remote at it and hold a button down.
- It worked if Last event (and the top line of the screen) shows an infrared illuminator. After one alert it waits a minute before alerting again.
- If not: check the photodiode is the right way round (short leg to 3V3) and the ADS1115's wiring (SDA to D4, SCL to D5, VDD to 3V3, GND, ADDR to GND). The alert levels aren't fine-tuned yet, so a weak remote may not set it off.
- Set up Rayhunter. Switch on the Rayhunter hotspot. On the setup page, under Rayhunter hotspot, type
the Hotspot Wi-Fi name and Hotspot Wi-Fi password, then click Save to device.
- It worked if Rayhunter in 4 Check it works says Connected (or Connected, not recording if Rayhunter isn't recording right now).
- Can't reach: check the hotspot is on and close by, and that the name and password are right.
- Not set up: the name and password weren't saved. Type them again and click Save to device.
- Check what Rayhunter's warnings look like. This needs someone who can use a command line. Join your
computer to the hotspot's Wi-Fi and run
curl http://192.168.1.1:8080/api/analysis-report/live | head. Compare what comes back withextractWarning()infirmware/src/bridge/main.cpp, which is the code that reads those warnings. If they don't match, the bridge may miss warnings: note it for step 7. - Test the lens finder on its own: press its button.
- It worked if all six red LEDs light.
- If one stays dark: that LED is probably the wrong way round (long leg goes towards the resistor).
- If they are all too dim: change the 220 Ω resistors to 150 Ω.
Optional, for programmers: install the bridge with
cd firmware && python -m platformio run -e pro_bridge -t upload(with its power wire from the scanner taken off). The bridge's own serial monitor should showSpy Spotter pro bridge up.and neitherADS1115 not foundnorI2S init failed. On the scanner's port,{"cmd":"test","category":"FLOCK"}plays a test alert.
Real detections only happen near the kinds of devices the Pro listens for, so you'll see those later, out and about.
5. Build it into the case
-
Try everything in the case first, without soldering. Each part goes in its own holder.
- Battery bay (the floor of the base): put the battery flat on the floor at the left (-X) end, lying lengthwise from the near wall to the far wall, between its corner brackets. Put the ADS1115 in its brackets on the floor beside it, to its right. The lens finder's sight tube is part of the base: it rises from the floor between the battery and the ADS1115.

The base from above, before the shelf goes in: the battery lengthwise at the left end, the ADS1115 on the floor beside it, and the sight tube between them - Shelf: lower the shelf onto the ledge inside the base. The sight tube comes up through the round hole in the shelf. The small rectangular wire hole near the middle of the shelf is for the wires from the ADS1115 below; the larger one near the far left is for the switch cable and the battery's plug. The shelf must sit flat on the ledge all the way round.
Printed your case for the old slide switch? That base has a rectangular slot in the far (+Y) wall instead of the round hole for the switch cable's button. Print the new
pro_base_spk50.stl.- Scanner (FireBeetle): it lies along the near half of the shelf, in its cradle, with its USB-C socket in the opening in the left (-X) wall. Push it in USB-end first.
- Bridge (C3): in its cradle at the right-hand end, near half of the shelf, with its USB-C socket in the opening in the right (+X) wall. Push it in USB-end first. The stop at the back of each cradle keeps a board from sliding when you plug a cable in.
- Memory card module: in its brackets at the far right, with its card slot at the opening in the far (+Y) wall.
- Amp: in its brackets on the shelf at the back right, next to the memory card module (to its left).
- GPS: in its rim at the back of the shelf, between the switch and the memory card module, with the flat square patch on its top facing up. The sight tube stands just in front of it.
- The large speaker hangs down from the lid over the right-hand half of the shelf (the amp, the memory card module and the bridge), so run wires beside these parts, not over them.

The shelf in the base: the scanner along the near side with its USB-C at the left wall, the bridge at the right wall, the GPS, amp and memory card module along the far side - Switch: the switch cable's switch sits on the shelf at the far left, against the inside of the far (+Y) wall. Hold it there with its button in the round hole, so you can press it from outside. Check the button clicks on and off without catching on the edge of the hole. (The switch's size is not measured yet, so the hole may need opening up a little with a file or a drill.)
- Lens-finder button: push it through the 7 mm round hole in the left (-X) wall from inside, and screw its nut on from outside, finger-tight for now. The hole is further back than the scanner's USB-C opening, high up above the shelf.
- Under the lid (positions as the lid sits on the case):
- the three coloured lights in a column at the left (-X) end,
- the photodiode in its tube (the infrared window) at the near left corner (-X/-Y),
- the screen behind its window, left of centre,
- the large speaker in its ring under the big round grille at the right (+X) end, front facing the lid,
- the six lens-finder LEDs in the collar around the sight hole, near the middle.
- Take everything out again.

The lid turned over (underside up): the large speaker at the right-hand end, and the screen, lights, photodiode and lens-finder collar in their holders -
Label the two USB-C openings on the outside of the case, for example with a marker. Mark the scanner's one (in the left, -X, wall): that is the one you plug into to charge and to set up. Mark the bridge's one (in the right, +X, wall) "don't use": a cable in it would fight the power wire from the scanner.
- Solder the wires to both boards, following steps 3.1 to 3.4. Cut each wire long enough to reach its
part in the case. Twist the two link wires together with a GND wire and run them along the shelf.
- The ADS1115 sits under the shelf: run its wires (and the photodiode's) up through the small wire hole near the middle of the shelf.
- Solder the header pin into the FireBeetle's right-hand 3V3 hole, long end up, and the wire from the 3V3 splice to the pin just above the board (step 3.1). Leave the top of the pin bare.
- Give the bridge's 3V3 wire a female jumper plug (cut a jumper wire in half and solder its plug end to it, with heat-shrink over the joint). Solder its other end to the bridge's 3V3 pin. Don't push the plug on yet.
- Nothing is soldered to either board's battery pads, and nothing to the switch.
- Fix the parts on the shelf.
- Each board: a dab of hot glue on two of its cradle pads.
- The amp and the memory card module: a dab of glue. The ADS1115 on the floor of the bay: a dab of glue too.
- The GPS: glue at two corners. Never put glue on its flat patch.
- Fit the antenna. Line the antenna's tiny round plug up over the U.FL socket on the FireBeetle and press straight down until it clicks. Never pull on the thin cable; to remove it, lift the plug straight up. Use a dual-band antenna if you have one (step 1): the one that comes with the board only covers 2.4 GHz.
- Fit the parts under the lid.
- Screen: glue it at the edges of its board. Never put glue on the glass.
- Speaker: press it into its ring with its front (the cone side) against the lid. Run glue all the way round its rim, so sound can't leak round the sides. Its two wires go down to the amp on the shelf: leave them long enough for the lid to lie open next to the base.
- Photodiode: from the inside, push it into its tube until its rim stops it. Its rounded top should then be level with the top of the lid. If you have IR-pass filter, you can cover the window with it.
- Lens finder: push the six red LEDs into the collar holes, pointing straight out. Bend their legs outward under the collar. Solder on the 220 Ω resistors and the button wires (step 3.5).
- Button: fit it in its 7 mm hole in the left (-X) wall and tighten its nut. Solder one leg to the 3V3 splice and the other to the six resistors.
- Leave 2-3 cm of extra wire on everything that goes to the lid, so the lid can lie open next to the base while you work.
- Wire the power. There is nothing to solder here: the battery and the switch only plug together.
- Check for a short first: with no battery and no USB cable plugged in, put the multimeter on beep and touch one probe to the scanner's right-hand 3V3 and the other to GND. It must not beep steadily. (A very short chirp as the boards' capacitors charge can be normal.)
- Check the battery's plug polarity with the multimeter, as in step 3.1, if you haven't yet.
- Click the switch cable's switch off. Plug the battery into one end of the switch cable.
- Put the battery in its brackets at the left end of the floor. Coil the spare switch cable loosely in the bay (it is about 50 cm long). Bring the switch and the cable's other end up through the shelf to the far left corner, through the larger (9 x 7 mm) hole near the far left of the shelf, which is sized for a JST-PH plug. If your plug is bigger, open the hole up with a file.
- Fit the switch on the shelf against the far (+Y) wall, at the left end, with its button in the round hole, as you tried in step 1, and hold it there with hot glue on its body. Keep glue off the button, so it still clicks.
- Plug the cable's free end into the FireBeetle's battery socket, red wire on the side marked +.
- Push the bridge's power wire's jumper plug onto the header pin in the scanner's 3V3 hole.
- Place the antenna flat against the inside of a side wall, using its sticky back. Keep it away from the GPS, the battery and the speaker's magnet.
- Switch on and test again. Click the switch on. Plug the USB-C cable into the scanner only, open
the setup page and click Connect.
- It worked if 4 Check it works shows Bridge board: Talking, the GPS finds a fix (near a window or outside) and SD card: OK, as in step 4.
- Unplug the USB cable: the Pro should keep running from the battery. Click the switch off: everything should go dark.
- Close the case. Fit the lid, checking that no wire is pinched. Put in the four screws and turn them until snug. Don't overtighten: the plastic posts strip easily.
6. Using it
- On and off: press the switch's button through the round hole at the left end of the far (+Y) wall: one click on, the next click off.
- Charging: plug the USB-C cable into the scanner's socket, with the switch on. (The switch sits between the battery and the scanner, so with it off the battery can't charge.) Never plug a cable into the bridge while its power wire is on the scanner's 3V3 pin.
- Installing new bridge firmware: open the case, pull the bridge's power wire's jumper plug off the scanner's 3V3 pin, then plug the bridge into the computer. Push the plug back on afterwards. New scanner firmware goes in through the scanner's own USB-C socket as in step 4, with no need to open the case.
- Lens finder: hold the case with the lid facing the room. Press the button and look through the sight hole from the bottom of the case. A camera lens shows up as a bright red glint. It only works while the Pro is switched on (or plugged into USB).
- Cell-site simulators: the Pro only warns about these when the Rayhunter hotspot is switched on and in range.
- Getting the data out: take the microSD card out and put it in your computer. Open the log with the
log viewer (linked from the setup page). Programmers can also run
python tools/spy.py validateorpython tools/spy.py convert. - Your own alert sounds: see SOUNDS.md.
7. Record what you found
There are no photos of a real build yet. When you build one, please add photos of each stage to
docs/assembly/img/photos/ and link them here next to the matching drawing.
After the first build, update this guide and CLAUDE.md ("Hardware facts", "Status") with:
- the GPS baud rate that worked,
- any pin you had to move because of a strapping pin,
- whether the FireBeetle's pin order and the + mark at its battery socket match this guide,
- which plug your battery came with, and whether its polarity matched,
- the switch cable's switch size (put it into
PARTSincase.pyaspswitch) and whether its button fitted the hole, - the photodiode resistor value that worked,
- how loud the speaker is with the amp at 3.3 volts, and whether the lens-finder LEDs are bright enough,
- what Rayhunter's warning rows look like (step 4, test 18),
- your measured part sizes (put them into
PARTSincase.py), - holders that were too tight or loose,
- how long the battery lasted (and what
battery_mvread when full and when the Pro stopped).
Don't quote a detection range until the range test in CLAUDE.md "Next steps" has been done.