This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
machines-backup/shredder/asterix-pp/firmware/docs/behaviours.md

100 lines
2.2 KiB
Markdown

# Asterix machine behaviours
Here the behaviours for the 'normal' mode
## State - Hybernating
Green LED : on, during day time only
### State - Hopper loaded && Hybernate
Green LED : on
1, LED strip : fade & dim to full width, til is VDF up
2, Sound : 2 short increasing beeps
3, Start motor : if all ok
### State - Hopper loaded && Hybernate && Cartridge full
1, LED strip : orange ping pong
2, Orange LED on, Green LED off
### State - Hopper loaded && Hybernate && Cartridge full && door(s) open
1, LED strip : orange ping pong
2, Orange LED on, Green LED off
### State - Door(s) open
1, LED strip : red ping pong
2, RED LED on, Green LED off
### State - Door closed && Was shredding / hopper loaded
## State - Hopper loaded && Start shredding
1, LED strip : fade/dim cell by cell over full stip width (along avg. bottle shredding time)
2, Sound : one longer beep
### State - Shredding
1, LED strip : knight rider effect, dim according to shredding current
### State - Shredding && slight heat || long shredding run
1, LED strip : knight rider effect, dim according to shredding current
2, Ventilation/coolers : middle
3, Orange LED : on && Green LED off
### State - Motor idle, after shredding
1, LED strip : begin count-down, turn off cell by cell, over 5-8 secs
### State - Motor stopped, after shredding
1, LED strip : beging second count down, turn off cell by cell, over 4 secs
2, Main power : shut down if all ok
### State - Motor stopped, after shredding && overheat
1, LED strip : ping pong effect, fade from orange to green til normal temperature is back
2, Ventilation/coolers : set to max
3, Orangr LED: on && Green LED off
### State : Overheat | Enclosure open
1, LED Strip : red blink
2, Motor : off
3, Sound: long interval beeps
4, Green LED : off, RED LED : on
### State : Auto-Reverse
1, LED Strip : orange blink
3, Sound: double beep each reverse trial
4, Green LED : off, Orange LED : on
### State : Fully Jammed
1, LED Strip : red blink, 10 mins
2, Sound : siren effect, 2 mins
3, Green LED : blinking, Red LED blinking, 20 mins
after 20mins : all off, keep red LED blinking
### State : Cartridge full
all off,
1, Orange LED : blinking