How mahmoudamer0a/iti_avr_project works
This AVR smart-home project uses two firmware roles: the master authenticates a keypad user, reports status on an LCD, and sequences door outputs; the slave waits for an SPI authorization byte, then monitors temperature and light to control actuators. A gas-sensor task is declared in the slave source but is not created in the shown startup. The tree also includes standalone keypad, LCD, ADC, DIO, and SPI drivers; the README gives no further capability detail, and the gas HAL artifacts are binary/index/library files, so their runtime use is unverified.
Main entry points: main_Master.c Master firmware · DIO_program.c Digital I/O · main_Slave.c Slave firmware · LCD.c LCD driver
Components 14
Access and door
- Master firmware
App/main_Master.c - Credential check
App/main_Master.c - Door task
App/main_Master.c
Home sensing
- Slave firmware
App/main_Slave.c - Temperature control
App/main_Slave.c - Light control
App/main_Slave.c - Gas task
App/main_Slave.c
Device drivers
- LCD driver
HAL/LCD/LCD.c - Keypad driver
HAL/KEY_PAD/KEY_PAD.c - Gas sensor assets
HAL/GAS
MCAL peripherals
- SPI driver
MCAL/SPI/SPI.c - ADC driver
MCAL/ADC/ADC.c - Digital I/O
MCAL/DIO/DIO_program.c
Other components
- Home user
Connections 17
- Home user → Master firmware: enters credentials
App/main_Master.c - Master firmware → Credential check: checks credentials
App/main_Master.c - Credential check → Keypad driver: reads keys
App/main_Master.c - Credential check → LCD driver: shows prompts
App/main_Master.c - Master firmware → LCD driver: shows status
App/main_Master.c - Master firmware → SPI driver: sends authorization
App/main_Master.c - Master firmware → Door task: creates task
App/main_Master.c - Door task → Digital I/O: sets door outputs
- Slave firmware → SPI driver: receives authorization
App/main_Slave.c - Slave firmware → Temperature control: creates task
App/main_Slave.c - Slave firmware → Light control: creates task
App/main_Slave.c - Temperature control → ADC driver: reads temperature
App/main_Slave.c - Light control → ADC driver: reads light level
App/main_Slave.c - Temperature control → Digital I/O: controls outputs
- Light control → Digital I/O: controls LEDs
- Gas task → Digital I/O: controls gas output
- Gas task → Gas sensor assets: sensor integration