This project demonstrates the implementation of a smart home system using Atmega32 AVR microcontroller. The system features an LCD, keypad, LM35 temperature sensor, LDR (light-dependent resistor), buzzer, and a DC motor controlled using PWM. The system provides a user interface for interaction and access control.
-
Access control using a PIN (1234)
-
Three attempts to enter the correct PIN before blocking for 30 seconds.
-
Main screen with options:
- Temp: Display current temperature.
- Door: Toggle door lock.
- Light: Toggle light.
- More: Navigate to second screen.
-
Second screen with options:
- Auto Light: Set light automatically using LDR.
- Log Out: Log out of the system.
- Back: Go back to the main screen.
-
DC motor (Fan) controlled by LM35 temperature sensor:
- 30°C: Start working.
- 35°C: Increase speed.
- 40°C: Maximum speed level.
- 60°C: Activate buzzer as a fire alarm.
To install the project, follow these steps:
- Clone the repository
- Open the project in your preferred IDE
- Compile and upload the code to the Atmega32 AVR microcontroller
After uploading the code, interact with the system using the keypad and LCD. The main screen will display the available options, and you can navigate through the system using the keypad. The second screen offers additional options, such as auto light control and logging out of the system.
Feel free to leave a suggestion or point out a problem in the issues.