Neuralia N1 · Documentation

Firmware

Six states. One interrupts them all: permission.

Flash from your browser

Version 0.2.0: it compiles, but has not been tested on an assembled N1 yet. One-click flashing from the browser (ESP Web Tools) is coming. Meanwhile, with esptool:

  1. Download the .bin image below and check its SHA-256.
  2. Connect the N1 over USB-C.
  3. Run: esptool.py --chip esp32s3 write_flash 0x0 n1-0.2.0.bin
  4. It's a full image: it goes at address 0x0.
  • SHA256SUMS79 BSHA-256 55332965f03c8bff23678d96cefe68b40118053f824910d64197192477a484f3
  • build-info.json361 BSHA-256 f16428933a44b541dad3b73cdc19a0b0c5c931f0077ee3ddf95969aad696a800
  • manifest.json288 BSHA-256 9992a22c100691880fc6858133e0ef38386713c9a116834b222b31137eae15a5
  • n1-0.2.0.bin1.6 MBSHA-256 478f37e8ff2f952cd52ab7ba69bb77318122c3635f4f8f6e127e72139f5b6104

What it's built with

  • PlatformIO, with Arduino core 3.x.
  • LovyanGFX for the display.
  • ESP_I2S for the PDM microphone and speaker, on two peripherals.
  • WiFiMulti: home Wi-Fi or phone hotspot.
  • WebSockets for live status.
  • In Arduino, select the XIAO_ESP32S3 board and use GPIO numbers.

State machine

IdleRecordingSendingWaitingReplyPermissioninterrupts any state
StateWhat happens
IdleSession list with colors. The knob picks one.
RecordingWhile you hold Talk. 16 kHz, 16-bit, mono, in PSRAM. 15 s ≈ 480 KB.
SendingThe WAV goes out over HTTPS.
WaitingStatus arrives over WebSocket.
ReplyText, scrolled with the knob. Optional Piper voice.
PermissionInterrupts any state: amber screen, beep, Yes or No.

Wi-Fi and token

  • Two saved networks: home and hotspot.
  • The Access token lives in the device configuration.
  • Never in the code. Never in the repo.

Screens

The display runs landscape: 320 × 240. The front window measures 42.8 × 32.6 mm.

ARES Lab scene L12
ARES Lab scene · L12