Projekt

Allgemein

Profil

Eval » Historie » Version 12

Maximilian Seesslen, 07.01.2026 11:29

1 1 Maximilian Seesslen
h1. Eval
2
3 2 Maximilian Seesslen
Pairs of Switch-output and PWM can be targets.
4
5
List of alarms with actions. Time, Target + values.
6
7
E.g.
8 12 Maximilian Seesslen
|06:00| Device on, lights off|
9 1 Maximilian Seesslen
|07:30| Sleeping room ambient light on; 90% |
10 12 Maximilian Seesslen
|10:00| Device off |
11 1 Maximilian Seesslen
|16:00| Plant lamp 1 On |
12
|18:00| Plant lamp 1 Off |
13 12 Maximilian Seesslen
|20:00| Living room ambient light on; 10% |
14
|01:00| Device off |
15 1 Maximilian Seesslen
16
Device knows the reason of the wake.
17
It also has five 32-bit backup registers. They can be used to track the reason for waking up.
18
19 10 Maximilian Seesslen
Test mode wakes device now()+10 secods instead of real alarm time.
20 4 Maximilian Seesslen
21 6 Maximilian Seesslen
h2. Stop
22 1 Maximilian Seesslen
23 6 Maximilian Seesslen
Device may not shut down when alarm is ongoing. It can go to "stop" mode and be waken up from RTC. SRAM is also kept valid.
24 10 Maximilian Seesslen
CAN messages can not be received in stop mode. Periphery has to be reinitialized after wakeup.
25 7 Maximilian Seesslen
26 5 Maximilian Seesslen
It can not go to "standby", GPIOs are lost.
27 4 Maximilian Seesslen
28 8 Maximilian Seesslen
| **Kriterium**            | **Sleep-Modus**                                   | **Stop-Modus**                                      |
29
| **Stromverbrauch**       | Höher (CPU aus, Peripherie aktiv) – typ. **~1 mA** | Sehr niedrig (fast alles aus) – typ. **~10–50 µA**  |
30
| **CAN-Peripherie aktiv** | **Ja**, empfängt Nachrichten                      | **Nein**, komplett deaktiviert                      |
31
| **Wake-up durch CAN**    | **Direkt möglich**, keine Datenverluste           | **Nicht direkt möglich**, nur über EXTI am RX-Pin   |
32
| **Datenverlust**         | **Kein Verlust**, Nachrichten werden verarbeitet  | **Erste Nachricht geht verloren**                   |
33
| **Implementierungsaufwand** | Gering (Standard Sleep-Konfiguration)           | Höher (EXTI für RX-Pin, CAN-Reinit nach Wake-up)    |
34
| **Wake-up Zeit**         | Sehr kurz (µs–ms)                                 | Länger (ms-Bereich, inkl. Reinitialisierung)        |
35
36 4 Maximilian Seesslen
h2. Log code history
37
38
Store logs e.g. when there was no external power available.
39 3 Maximilian Seesslen
40
h2. Adhoc alarm
41
42
Queues durations with start timers.
43 9 Maximilian Seesslen
Low priority feature.