Code Monkey home page Code Monkey logo

smart-home-system's Introduction

Smart Home System using Atmega32 AVR

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.

Features

  • Access control using a PIN (1234)

  • Three attempts to enter the correct PIN before blocking for 30 seconds.

  • Main screen with options:

    1. Temp: Display current temperature.
    2. Door: Toggle door lock.
    3. Light: Toggle light.
    4. More: Navigate to second screen.
  • Second screen with options:

    1. Auto Light: Set light automatically using LDR.
    2. Log Out: Log out of the system.
    3. 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.

Installation

To install the project, follow these steps:

  1. Clone the repository
  2. Open the project in your preferred IDE
  3. Compile and upload the code to the Atmega32 AVR microcontroller

Usage

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.

Contributing

Feel free to leave a suggestion or point out a problem in the issues.

Screenshots

image image image image

smart-home-system's People

Contributors

hongyue1 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

maaf1 mh-power2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.