Projekt

Allgemein

Profil

Aktionen

Eval

Pairs of Switch-output and PWM can be targets.

List of alarms with actions. Time, Target + values.

E.g.
08:00: Sleeping room ambient light on; 90%
16:00: Plant lamp 1 On
18:00: Plant lamp 1 Off
08:00: Living room ambient light on; 10%

Device knows the reason of the wake.
It also has five 32-bit backup registers. They can be used to track the reason for waking up.

Test mode wakes device now()+10 secods instead of real alarm time.

Stop

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.
CAN messages can not be received in stop mode. Periphery has to be reinitialized after wakeup.

It can not go to "standby", GPIOs are lost.

Kriterium Sleep-Modus Stop-Modus
Stromverbrauch Höher (CPU aus, Peripherie aktiv) – typ. ~1 mA Sehr niedrig (fast alles aus) – typ. ~10–50 µA
CAN-Peripherie aktiv Ja, empfängt Nachrichten Nein, komplett deaktiviert
Wake-up durch CAN Direkt möglich, keine Datenverluste Nicht direkt möglich, nur über EXTI am RX-Pin
Datenverlust Kein Verlust, Nachrichten werden verarbeitet Erste Nachricht geht verloren
Implementierungsaufwand Gering (Standard Sleep-Konfiguration) Höher (EXTI für RX-Pin, CAN-Reinit nach Wake-up)
Wake-up Zeit Sehr kurz (µs–ms) Länger (ms-Bereich, inkl. Reinitialisierung)

Log code history

Store logs e.g. when there was no external power available.

Adhoc alarm

Queues durations with start timers.
Low priority feature.

Von Maximilian Seesslen vor etwa 24 Stunden aktualisiert · 10 Revisionen