@@ -37,10 +37,26 @@ The system operates as a state machine with the following states:
3737## Log
3838
3939### Week 5 - 11 May
40+ Gathered all the necessary components and set up the development environment
41+ (Rust + Embassy). Started with the basic hardware setup: connected the laser
42+ module and LDR to the breadboard and verified the ADC readings. Implemented
43+ the software baseline calibration for the LDR.
44+
45+ ![ Early hardware setup] ( images/week1.webp )
4046
4147### Week 12 - 18 May
48+ Integrated the SSD1306 OLED display over I2C and the RC522 RFID module over
49+ SPI. Implemented the access control logic: admin card recognition, grace
50+ period, and wrong attempt counter. Connected the buzzer via PWM.
51+
52+ ![ OLED displaying startup message] ( images/week2.webp )
53+ ![ Full system on breadboard] ( images/week2_2.webp )
4254
4355### Week 19 - 25 May
56+ Finalized and tested all components together. Assembled everything into a box
57+ for the presentation. The laser beam, alarm, RFID access control, and OLED
58+ display all work correctly together.
59+
4460
4561## Hardware
4662
@@ -50,7 +66,7 @@ The system operates as a state machine with the following states:
5066| KY-008 Laser Module | 1 | Emits the laser beam (650nm, 5V) |
5167| LDR Photoresistor (5528) | 1 | Detects laser beam interruption via ADC |
5268| RC522 RFID Module | 1 | Reads MIFARE cards via SPI |
53- | MIFARE Classic 1K Cards | 5 | 1 admin + 3 users + 1 invalid test card |
69+ | MIFARE Classic 1K Cards | 2 | 1 admin + 1 invalid test card |
5470| SSD1306 OLED Display (0.96") | 1 | Displays system status via I2C |
5571| Active Buzzer (5V) | 1 | Sounds the alarm |
5672| BC547 NPN Transistor | 1 | Drives the buzzer from 3.3V GPIO |
@@ -97,7 +113,7 @@ The system operates as a state machine with the following states:
97113| [ embassy-time] ( https://docs.embassy.dev ) | Async timers | Grace period timing, debounce |
98114| [ embedded-hal] ( https://github.com/rust-embedded/embedded-hal ) | Hardware Abstraction Layer | Portable hardware interface traits |
99115| [ ssd1306] ( https://crates.io/crates/ssd1306 ) | OLED display driver | Rendering text and status messages |
100- | [ mfrc522 ] ( https://crates.io/crates/mfrc522 ) | RFID driver | Reading MIFARE Classic 1K card UIDs |
116+ | rc522 (custom driver ) | Custom RC522 SPI driver | Reading MIFARE Classic 1K card UIDs via SPI |
101117| [ embedded-graphics] ( https://crates.io/crates/embedded-graphics ) | 2D graphics library | Text rendering on OLED display |
102118
103119## Links
0 commit comments