Firmware Protocol¶
The current ESP32-S3 sketch listens on serial at 115200 baud.
Commands¶
| Command | Meaning |
|---|---|
SCAN |
Emit one raw scan with illumination unchanged |
DARK |
Turn illumination off, scan, tag as dark |
WHITE |
Turn white/reference illumination on, scan, tag as white |
LED 1 |
Enable illumination if interlock allows |
LED 0 |
Disable illumination |
Current Frame¶
{"device":"luxnode-v0","kind":"raw","pixels":[123,124,130]}
The SDK converts pixels to counts and supplies a default wavelength axis.
Next Firmware Protocol Targets¶
- include
schema_version - include
firmware_version - include
timestamp_unix_ms - include
integration_time_ms - include board and detector temperature
- include battery voltage
- include module id
- support
VERSIONandTELEMETRYcommands