feat: LED-Treiber, Licht-Task und UART-Testkonsole

This commit is contained in:
Michael Sauer
2026-09-11 13:51:31 +02:00
parent 1074a8f034
commit 757620f222
11 changed files with 530 additions and 10 deletions
+28
View File
@@ -0,0 +1,28 @@
# Hardware-Checkliste (EVK)
Konsole: `tools/monitor.sh /dev/cu.<port>` (115200 8N1). Flashen: `tools/flash.sh evk <port>`.
## Licht (Plan 1, Task 11)
- [ ] Nach dem Boot blendet warmweiß 100 % in 0,5 s ein
- [ ] `rgb 255 0 0` → nur Rot, `rgb 0 255 0` → nur Grün, `rgb 0 0 255` → nur Blau
- [ ] `ct 2700` → nur Warmweiß, `ct 6500` → nur Kaltweiß, `ct 4000` → Mischung
- [ ] `bri 1` sichtbar sehr dunkel, `bri 100` hell; `bri 1 3000` → gleichmäßig wirkender Fade
- [ ] `off 2000` → blendet mit aktueller Farbe aus; `on 2000` → blendet ein
- [ ] `rgb 255 0 0` dann `ct 3000 2000` → erst dunkel, dann weiß (Moduswechsel)
- [ ] `blink 3` → 3× Blinken, danach alter Zustand; `pulse on` / `pulse off`
- [ ] Kein sichtbares Flackern bei konstanten Werten (5 kHz)
## Persistenz und Boot (Plan 1, Task 12)
- [ ] `pob last`: Farbe setzen, 4 s warten, Strom aus/an → gleicher Zustand, mit Fade
- [ ] `pob off`: Strom aus/an → bleibt aus; `on` → letzte Farbe
- [ ] `pob on` bei ausgeschaltetem Licht: Strom aus/an → an
- [ ] `fade 2000 2000` bleibt nach Reboot erhalten (`state`)
- [ ] 5× Strom an/aus mit jeweils < 5 s Laufzeit → 3× Blinken, danach Defaults (`state`)
- [ ] Normaler Boot nach > 5 s Laufzeit → kein Werksreset
- [ ] Watchdog: `reboot` funktioniert; nach einem Hänger (nicht provozierbar) wäre Reset nach 20 s
## Später (Lampen)
- [ ] E27 Color (SM2135EH): RGB und WY getrennt, Ströme plausibel (nicht zu heiß)
- [ ] E27 CW: Gegenphase CW sichtbar flackerfrei
- [ ] G95: Pinbelegung WW=PB15/CW=PB13 prüfen
- [ ] Farbtemperaturbereiche aller Varianten