Nova D2: concept

Status: concept / planning. D2 follows D1. This doc collects the features deferred from D1 so D1 stays scoped. Nothing here is in D1's plan.

Rationale

D1 runs on an RP2350 (Pico 2 W); PIO is required for its RF/IR/LF timing. Two targeted features can't be met on that hardware or within its ~100 KB RAM: WiFi packet capture and 125 kHz LF emulation. Rather than compromise D1, they define D2.

Architecture: two processors

D1 uses one MCU for everything. D2 splits the work:

   RP2350 (brain)  ── UART / SPI ──  ESP32-C5 (radio co-processor)
   UI · PIO · sub-GHz                dual-band WiFi + BT
   IR · LF · LoRa/mesh               promiscuous / pcap
   apps · storage
  • RP2350 keeps everything D1 does: PIO, UI, sub-GHz/IR/LF, LoRa mesh, apps.
  • ESP32-C5 (~$5) is a dedicated networking + sniffing radio: dual-band (2.4 + 5 GHz), ESP-IDF promiscuous capture, streaming frames to the RP2350 or SD over UART/SPI. One co-processor provides both pcap and dual-band, off the RP2350's heap.

Keeping PIO rules out returning D1/D2 to an ESP32-S3. ESP32 promiscuous capture is well-documented, so the C5 firmware is a contained C/C++ job.

Features

  • WiFi pcap / Wireshark: ESP32-C5 co-processor. The .pcap writer (novapcap) already exists.
  • Dual-band WiFi (2.4 + 5 GHz): same co-processor.
  • 125 kHz LF RFID read and emulate: a PIO coil front-end with the RAM and pins to host it. (D1 offers optional LF read only.) Emulate approach (to revisit): PIO generates the 125 kHz carrier; the coil couples to the reader's field, and emulation works by load modulation: a FET across the coil switches the load in the card's bit pattern (EM4100 = Manchester, ~64 bits) so the reader sees a tag. Read = envelope- detect the returned modulation on the same coil. Reference: the Flipper's LF analog front-end. Needs the coil + FET + detector tuned on real hardware.
  • PSRAM / larger flash: Pico Plus 2 W class; capture buffers, every module resident.
  • Richer UI: larger panel, more on-screen, more animation.
  • Built on RPCortex v2. v2 has no interpreter, so the custom firmware D2 once needed (frozen modules, @native/@viper, a MicroPython fork, an architecture label on packages) is not needed: Nova D2 is a native C++ package that runs from a flash slot, as the D1 package does. D2 is a single known target, so the package can use PIO and both cores directly.
  • Both cores: RPCortex v2 already schedules tasks on both RP2350 cores, so PIO and radio work can live on core 1 while the UI owns core 0. The heavy sniffing is still offloaded to the C5.

Deferred from D1

FeatureD1D2
WiFi pcap / Wiresharknoyes (ESP32-C5)
Dual-band WiFinoyes
LF RFID emulatenoyes (PIO coil)
LF RFID readoptional (RDM6300)yes
Both coresyes (RPCortex v2)yes
PSRAM / richer UItightyes

D1 keeps: sub-GHz, IR, NFC, LoRa mesh, GPS, BLE, the app system.

Nova mesh standard (shared D1 ↔ D2)

Nova devices share a compact LoRa mesh (novamesh): addressed packets, TTL hop-limit, managed-flood relay, (src,id) dedup, with AES-128 payload encryption (novacrypt). Two explicit modes formalise it:

  • Open broadcast: unencrypted, plaintext to any nearby Nova device. (Works today as the no-key path; needs to be an explicit choice.)
  • Encrypted channels: named channels with pre-shared keys, Meshtastic-style.

True Meshtastic interop (real Meshtastic hardware) requires their LoRa PHY params, protobuf payloads, and AES-256-CTR channel PSKs: a D2-era stretch. The Nova standard is compatible in spirit, not on the wire.

Sequencing

D2 follows D1's V1 release: finish D1 → ESP32-C5 co-processor + capture firmware → custom the D2 package on RPCortex v2 → LF emulate → richer UI. Each is a distinct phase.