Mosquitto on the car Orin (localhost only); UPS read by orin-status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
This commit is contained in:
@@ -97,6 +97,9 @@ All ports are taken.
|
||||
- Ignition-off shutdown (not built yet): on input loss the battery current turns clearly negative (discharging). A small service watches the
|
||||
INA219, waits out a grace period longer than a crank (30–60 s), then runs `systemctl poweroff`, with low battery voltage as a hard backstop.
|
||||
The shunt value is unconfirmed; check the schematic before converting shunt mV to amps.
|
||||
- Read every second by svc-core's `orin-status` (read-only: register pointers only, chip left at defaults), published as
|
||||
`yukart/host/ups_*`: pack voltage, current (+ charging), state, and a charge estimate. Waveshare's demo code
|
||||
(`UPS_Power_Module_C.zip`, `ina219.py`) assumes a 0.01 Ω shunt and gives the sign, and maps 9.0–12.6 V linearly to 0–100 %.
|
||||
- No GPIO or shutdown signal on the module; the BOOT button may be needed to wake a battery that stopped outputting (FAQ).
|
||||
|
||||
## USB camera (IMX662, Sunplus UVC bridge)
|
||||
|
||||
Reference in New Issue
Block a user