Coder Social home page Coder Social logo

cps-avr's Introduction

CPS-AVR

This is AVR project of Micro Processor course.

Smart Home CPS Project

Smart Home

Introduction

In this project, we designed a simple Cyber-Physical System (CPS) using the Atmega32 microcontroller. The project consists of three main parts: Security, Temperature Control, and Lighting Control. The system utilizes embedded systems and cyber-physical systems principles to create a smart home environment.

Summary

This project aims to implement a smart home system using Atmega32 microcontrollers. The system incorporates various features such as security, temperature control, and lighting control. It utilizes a keypad for password input, an LCD screen for displaying messages, and sensors for monitoring temperature and lighting conditions. The system employs timers and PWM to control motors and LEDs based on the sensed data. Additionally, a bonus feature includes a speaker for generating sound alerts. The implemented system successfully addresses the objectives of the project and serves as a foundation for further enhancements and expansions.

Parts of the Project

The project is divided into three main parts:

Part 1: Security

The security part involves password checking, submitting the password, deleting characters, and toggling the password display. User input is provided through a keypad, and messages are displayed on an LCD screen.

Part 2: Temperature Control

The temperature control part includes reading data from the LM35 temperature sensor and taking appropriate actions based on the temperature readings. The system adjusts the duty cycle of motors and controls LEDs to indicate the temperature range.

Part 3: Lighting Control

The lighting control component utilizes an LDR sensor to monitor lighting conditions in the environment. The system adjusts the duty cycle of a motor to control the lighting intensity based on the LDR readings.

Bonus Feature: Speaker

As a bonus feature, the system includes a buzzer that produces a sound when the temperature exceeds a certain threshold.

Getting Started

To get started with the project, follow these steps:

  1. Set up the hardware components as per the circuit diagram provided.
  2. Upload the respective code to the Atmega32 microcontrollers.
  3. Connect the microcontrollers using the SPI interface.
  4. Power on the system and interact with the keypad for password input and control the temperature and lighting.

For detailed instructions and code, please refer to the project documentation.

License

This project is licensed under the MIT License.

cps-avr's People

Contributors

aliiimaher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.