Pest Free Kaipātiki — Acoustic Bird-Sensor Node (Option C)

Where this fits: this is the off-grid / specialist option within the wider acoustic-monitoring network — see the proposal. The network's backbone is household-hosted stations (mains + WiFi) running full BirdNET-Go; this off-grid solar/LoRa node exists for the minority of bush-interior reserve sites with no power, network, or host household nearby. It is not the default station design.

Design v0.1 — May 2026 A low-cost, solar/battery, off-grid acoustic sensor node that identifies target bird species on-device (TinyML) and reports detections over LoRaWAN to volunteer-hosted gateways. Reuses the existing BirdNET-Go backend (Josh's "bird-bot") for Phase-1 audio labelling and the central dashboard.

Pricing is May 2026, NZD, single-unit retail unless a "volume" figure is given. FX assumptions: 1 USD ≈ 1.70 NZD, 1 AUD ≈ 1.10 NZD. Items marked (est.) came from retailer pages that blocked automated reading — confirm at checkout.


1. Architecture

  ┌──────────── OUTDOOR, OFF-GRID (in the reserve) ────────────┐
  │                                                            │
  │   [Solar panel 5–6 V] → [DFR0559 solar manager] → [18650] │
  │                                   │                        │
  │   [I²S MEMS mic ICS-43434] ──I²S──┤                        │
  │     (in vented downward housing)  │                        │
  │                          [XIAO ESP32-S3]                   │
  │                          • record listening window         │
  │                          • TinyML inference (target spp.)  │
  │                          • build compact detection packet  │
  │                                   │ SPI                    │
  │                          [Wio-SX1262 LoRa] ))) AU915       │
  └───────────────────────────────────│───────────────────────┘
                                       │  ~0.5–2 km
        ┌──────── VOLUNTEER'S HOUSE (mains + WiFi) ────────┐
        │   [LoRaWAN gateway] → home internet → The Things │
        │   Stack → dashboard / digest (BirdNET-Go reuse)  │
        └──────────────────────────────────────────────────┘

One gateway can serve many nodes; any gateway that hears a packet forwards it, so scattered volunteer gateways overlap into a redundant coverage blanket.


2. Bill of materials (per node)

Subsystem Part Retailer (NZ / ships-NZ) NZD Link
Brain Seeed XIAO ESP32-S3 Sense (mic + microSD + 8 MB PSRAM) Core Electronics AU / Seeed / element14 NZ ~30 (vol ~24) Seeed · Core
Radio Wio-SX1262 LoRa (stacks on XIAO, 862–930 MHz incl. AU915) Seeed / Core ~11 (vol ~8.50) Seeed · Core
Mic Adafruit ICS-43434 I²S MEMS breakout (65 dBA SNR) Core Electronics AU ~10 Core
Solar mgr DFRobot Sunflower Solar Power Manager 5 V (DFR0559) MindKits (NZ stock) / Core ~18 (est.) MindKits · Core
Panel DFRobot FIT0601 mono panel 5 V / ~6 W (USB) Core Electronics AU ~20 Core
Battery 18650 Li-ion protected 2600 mAh (×1 fair-weather, ×2 winter-safe) Jaycar NZ (SB2299) 32 ea (bulk cells ~8–12 ea) Jaycar
Holder 18650 holder w/ leads (single or dual) Jaycar NZ (PH9205) ~5–8 Jaycar
Enclosure Sealed ABS IP65 115×65×55 mm (HB6124) Jaycar NZ 15.90 Jaycar
Acoustic vent Milvent MIV-12HA ePTFE breathable vent, M12 (×2: mic port + box breathing) Nicegear NZ 5 ea Nicegear
Cable gland Nylon PG7 waterproof gland 3–6.5 mm (HP0720) Jaycar NZ ~6 /pk2 Jaycar
Antenna 915 MHz LoRa antenna + u.FL→SMA bulkhead pigtail Core (SMA antenna) / Mindkits ~18 Core antenna
Windscreen Foam lavalier windscreen (multipack, per-node share) Rubber Monkey NZ / eBay ~4 Rubber Monkey
Misc Hook-up wire, JST leads, silicone, fixings, 3D-printed mic cup — ~6 —

Cost reconciliation (the honest numbers)

Configuration Per-node NZD
Bare sensing electronics (brain + radio + mic) ~50
Balanced, single-unit retail (1 protected cell) ~135–155
Winter-safe, single-unit retail (2 protected cells, premium panel) ~200–220
At volume (10+ boards, bulk cells, base XIAO, shared multipacks) ~110–130

The sensing electronics are cheap and scale beautifully. The power subsystem and battery sourcing are the swing factor — protected retail 18650s at ~$32 each dominate the BOM. The <NZD 150 target is met at volume with sensible cell sourcing; single-unit winter-safe prototypes run higher. Budget the first 2–3 prototypes at ~$200 each and the fleet at ~$120.


3. Key component decisions (why these parts)


4. Microphone weatherproofing (the crux)

The mic must hear birds but never see liquid water or wind buffeting. Approach: a downward-facing vented sub-housing with the ePTFE membrane as the weather barrier, separate from the sealed electronics box.

  1. Separate mic cup. Mount the ICS-43434 in its own small 3D-printed (or ~20–25 mm ABS pipe) cup, capsule facing straight down. Gravity keeps rain/condensation out; an omni MEMS mic hears fine from below.
  2. Membrane over the port. Thread a Milvent MIV-12HA into an M12 hole in the bottom of the cup, locknut inside, mic capsule seated just above it. ePTFE passes sound + equalises humidity, blocks liquid water — the primary barrier.
  3. Foam windscreen slipped over the external face kills wind-rumble and rain-impact noise, and pre-filters insects/spiders.
  4. Drip shield. A small downward-sloping skirt/roof a few mm wider than the port so wind-driven rain drips clear of the membrane. Orient the node so the port sits under the enclosure's lee.
  5. Cable entry. Mic cable runs into the main IP65 box via the PG7 gland.
  6. Box breathing. A second Milvent vent on the main enclosure stops daily solar heat/cool pressure-cycling from pumping moist air past the gasket — $5 of cheap insurance.
  7. Antenna mounts vertically (pointing up) through an SMA bulkhead, sealed with its O-ring; never bottom-mount (pools water).

Only three penetrations in the sealed box: mic-cable gland, antenna bulkhead, main-box vent.


5. Wiring / interfaces

ICS-43434 → XIAO ESP32-S3 (I²S): - 3V3 → 3V3, GND → GND (these are 1.6–3.6 V parts — do not power from 5 V) - SCK(BCLK), WS(LRCL), SD(data-out) → three free GPIOs (ESP32-S3 I²S can map to any GPIO) - SEL → GND (selects LEFT channel; must match the I²S channel set in firmware — floating SEL = garbage) - Keep the cable short; twist BCLK/WS/DATA.

Wio-SX1262 stacks on the XIAO and uses its SPI bus + a few control pins (NSS/BUSY/DIO/RST). Pin-budget caveat: confirm the I²S GPIOs you pick don't collide with the pins the Wio-SX1262 claims — verify against the Wio-SX1262 pinout before finalising firmware.

Power: Panel → DFR0559 solar input; 18650 → DFR0559 battery terminals; DFR0559 5 V output → XIAO 5 V/USB pin (XIAO's internal LDO makes 3.3 V).


6. Firmware / software plan


7. Power reality check (Auckland winter)

Auckland gets only ~2.8 peak-sun-hours/day in July, and overcast runs drop that further. A 50 mA-avg load ≈ ~4.4 Wh/day ≈ ~1.2 Ah/day from a 3.7 V cell. One 2600 mAh 18650 ≈ ~9.6 Wh usable ≈ ~2 days autonomy — thin for a grey week. A 2 W panel is roughly break-even with the load in clear winter sun, with no cloudy-week margin.

Recommendation for a node that must not die over winter: ~5–6 W (6 V-class) panel and 2× 18650 (~4 days autonomy), panel tilted ~50° north. If holding to a single cell, drive the duty cycle toward the 30 mA end (longer sleep, fewer transmits). Stick to 5–6 V panels — many Jaycar "5 W" panels are 12 V and wrong for a 1S Li-ion charger.


8. Open items / risks


9. Suggested next steps

  1. Lock the target species list.
  2. Phase 1: deploy 1–2 record-and-collect units (AudioMoth or a XIAO+SD recorder) to gather labelled local audio → trains the model and yields immediate BirdNET data.
  3. Phase 2: build one full node + one volunteer gateway; validate detections against Phase-1 ground truth and run the LoRa range test.
  4. Phase 3: scale the cheap edge nodes once model + gateway + range are proven.

10. Alternatives considered — devices & backhaul (decision record)

This records the off-the-shelf options weighed against the custom node, so "why not just buy X?" has a documented answer. Prices indicative, June 2026; USD≈1.70 NZD, AUD≈1.10 NZD; add freight/GST for landed cost.

10a. Recorder / sensor hardware

Device ~Price Wireless Ultrasonic / bats On-device species ID Verdict for this network
AudioMoth v1.2 USD $99.99 (≈$50 group-buy) → ~$190–210 NZD landed DIY only ✅ to 384 kHz ❌ (Goertzel triggers only) Chosen for reserve coverage — unbeatable $/unit, open, ultrasonic-capable
AudioMoth USB Microphone USD $79.99 → ~$155 NZD via a host ✅ to 384 kHz ❌ the bat-station mic, and the sensor for any cellular "ship-audio" node (§10b-C)
Cornell SwiftOne USD $349 → ~$600 NZD ❌ mostly audible ❌ sturdier record-and-collect if AudioMoth reliability disappoints
Wildlife Acoustics Song Meter Micro 2 ≈USD $179 → ~$305 NZD ❌ audible (Mini Bat 2 for bats) ❌ rugged plug-and-play for low-tech hosts; ~2× AudioMoth
Song Meter Mini 2 / SM4 ≈USD $599 / $900 ❌ bat variants ❌ research gold-standard; too dear at network scale
BirdWeather PUC USD $249 → ~$425 NZD WiFi/BT only ❌ ✅ on-device BirdNET good for garden stations where WiFi reaches; no cellular
Bugg (bugg.xyz) ~£500+ / quote ✅ cellular + solar audible ✅ edge AI → cloud closest turnkey to the "wireless" goal; cost + research-spinout availability
Cacophony Project combined unit ~NZD $1,700/unit ✅ to cloud audible ✅ 15+ NZ species + predators too costly for blanket coverage — see note

On the Cacophony Project. That ~$1,700 buys a thermal predator camera with the bird monitor bundled in, not a plain acoustic recorder — you're paying for the FLIR/vision + predator-AI hardware. At 20–50 sites that's ~$34k–85k just for devices (5–10× the AudioMoth-based network), so it can't be the backbone. It stays a candidate only as an optional single-site predator-imaging add-on. The genuinely reusable part is their open-source backend and NZ-tuned models, which we could adopt for free regardless of recorder choice. Cacophony Project · Bird Monitor · Wildlife Acoustics · SwiftOne · BirdWeather PUC · Bugg

10b. Backhaul — how detections (or audio) get home

The custom node above is Option A. Two cellular alternatives matter for reserve sites that have coverage (most of Kaipātiki does — Spark Cat-M1 reaches ~98% of population, and all carriers cover the North Shore):

A. LoRa + on-device ID (this doc) B. Cellular + on-device ID C. Cellular + remote ID
On-site device ESP32 + TinyML AudioMoth mic + Pi 4 + BirdNET AudioMoth mic + cheap uploader (Pi Zero 2 W) + 4G
Sent over the air tiny detection packet tiny detections activity-gated audio clips
Recurring data ~free airtime tiny (~$3–10/mo SIM, even Cat-M1) ~1–3 GB/mo (~$15–40/mo, needs 4G)
Keeps raw audio centrally? no no (unless added) yes
Field ML to maintain? yes yes no — models live on the central server
Gateway to build/host? yes no no
Range / coverage ~0.2–2 km, canopy-limited carrier-grade carrier-grade

Option C — "capture and ship, classify centrally" — is the strongest fit where 4G exists: the on-site device is a dumb pipe (no field ML, no model updates in the bush), and shipping the audio directly serves the project's existing goal of collecting raw audio for the NZ-tuned classifier and clip validation. Caveats:

Recommendation: for Kaipātiki, cellular beats LoRa (coverage is good and there's no gateway to build/host). Default to Option C for reserve nodes when the per-node data budget allows; fall back to B where data cost or privacy dominates; keep A (this node) only for any genuinely no-coverage pocket. All three remain stretch upgrades over the baseline AudioMoth record-and-collect.

10c. Keeping a cellular node alive — power-gating (the 24/7-capture version)

A continuously-running Pi-Zero + 4G node draws ~1.5–2.5 W — about 25–40× a bare AudioMoth (~0.06 W). On the AudioMoth's own 3×AA it would flatten in ~6 hours vs ~8 days, so the uploader must be power-gated. The power gap — not the data cost — is the real reason a cellular node is a stretch.

Block-sampling was considered and rejected. Only recording during the Pi's short awake windows (e.g. dawn/dusk) would sample the soundscape rather than capture everything; the requirement is full 24/7 capture, so the design below keeps continuous recording and gates only the uploader.

Architecture — the AudioMoth captures everything; the Pi only ships it. Continuous recording stays on the always-on AudioMoth (its ~0.06 W superpower), recording 24/7 to its own SD. The Pi + modem are hard-powered off and wake only to offload-and-upload — once or twice a day on a schedule, or on demand ("wake when needed"). An RTC/timer switches the load (Witty Pi / PiJuice for a Pi Zero, or a TPL5110 / supervisor MCU); the Pi has no true deep-sleep, so it must be power-cycled, not just idled.

Getting the audio off the AudioMoth's card — two verified routes:

  1. USB offload (no extra board, needs firmware). The AudioMoth can present its SD as a USB Mass Storage Device (AudioMoth-MSD firmware port; see also AudioMoth-Sync), so the woken Pi mounts it over a USB cable and copies new clips. Caveat: the MCU can't record and serve USB at once, so this needs custom firmware that switches record ↔ USB-MSD on wake, with a short recording blackout (a few minutes, 1–2×/day) during each offload.
  2. microSD mux (no firmware changes, one extra board). A card multiplexer (USB-SD-Mux; open-source sd_mux) electrically hands the single card between AudioMoth and Pi: the Pi wakes, the AudioMoth is paused, the card switches to the Pi, it copies, switches back, the AudioMoth resumes. Avoids touching AudioMoth firmware, at the cost of a mux board + handoff timing (the AudioMoth must be idle during the swap to avoid FAT corruption).

Either route accepts a brief recording gap during the 1–2×/day offload — i.e. "capture everything except a couple of short housekeeping windows." "Wake when needed" is the same machinery triggered by acoustic activity / new-data rather than a fixed clock (lowest energy; slightly more logic, and a true acoustic wake needs a tiny always-on listener).

Energy budget (Auckland winter):

Mode Pi awake/day ~Energy/day Solar + battery
Continuous Pi (no gating) 24 h ~48 Wh ~30–50 W panel + ~200 Wh batt
Gated — AudioMoth records 24/7, Pi offloads 1–2×/day ~20–40 min ~4–5 Wh ~5–10 W panel + 1–2× 18650
bare AudioMoth (reference) — ~1.4 Wh 3×AA, no solar

Power-gating drops the node from ~48 Wh/day to ~4–5 Wh/day — the same solar/battery class as the LoRa node in §7 (~5–10 W panel + a couple of 18650s). That makes a 24/7-capture cellular node genuinely deployable off-grid at a few high-value sites, while the bare AudioMoth record-and-collect stays the months-unattended baseline everywhere else.

Open items for this variant: custom record↔USB-MSD firmware vs. mux-board sourcing (pick one); safe-handoff logic so the card is never swapped mid-write; field-confirm 4G signal + upload time per site; size the offload window to the daily gated-clip volume.