How bbz-aifs51/lf7-projekt_gas works
This repository is a small Arduino alarm-system project with a companion interactive 3D build viewer. The physical workflow is: enter a PIN or present a stored RFID card to arm/disarm; after the exit delay, motion or repeated invalid credentials can trigger the alarm, which is shown and sounded on the device. The browser viewer presents the same states and timings interactively and includes the printed enclosure. Firmware internals and viewer wiring are not sampled here, so the graph uses README-documented relationships and omits unverified calls.
Main entry points: alarm_system.ino Alarm state machine · index.html Interactive model · stl Printed parts · gehaeuse.scad Enclosure design
Components 13
Alarm firmware
- Alarm state machine
Code/alarm_system/alarm_system.ino - PIN and RFID
Code/alarm_system/alarm_system.ino - Card administration
Code/alarm_system/alarm_system.ino
Physical device
- Keypad and reader
- Motion sensor
- OLED and buzzer
- Card storage
3D viewer
- Interactive model
docs/viewer/index.html - Enclosure geometry data
docs/viewer/enclosure.js
Printed enclosure
- Enclosure design
Gehaeuse/gehaeuse.scad - Printed parts
Gehaeuse/stl
Other components
- Occupant
- Viewer user
Connections 13
- Occupant → Keypad and reader: enters credentials
README.md - Keypad and reader → PIN and RFID: supplies credentials
README.md - PIN and RFID → Alarm state machine: arms or disarms
README.md - Motion sensor → Alarm state machine: triggers when armed
README.md - Alarm state machine → OLED and buzzer: signals state and alarm
README.md - Alarm state machine → Card storage: reads and writes cards
README.md - Card administration → Card storage: manages stored cards
README.md - Occupant → Card administration: opens menu
README.md - Viewer user → Interactive model: interacts with
README.md - Interactive model → Enclosure geometry data: shows enclosure data
README.md - Interactive model → Alarm state machine: reuses logic
README.md - Interactive model → Printed parts: models real parts
README.md - Enclosure design → Printed parts: defines printed parts