Giter Club home page Giter Club logo

auto_light_on_off's Introduction

Simple Light Automation Project for Room

Automatically Light on and off based on PIR sensors and LDR sensors. Used Solid State Relay to control 220v light

Components

  • MSP430F5529
  • PIR sensors
  • LDR sensor
  • Relay
  • Resistors (10k-ohm & 330 ohm)
  • Push button
  • LED light
  • Jumper wires
  • Breadboard

Description

Used 1 MSP430F5529 for controling the whole system. There are 2 PIR sensors, one is inside of the room and another is outside of the the room and both of them are faced towards the door. So that when someone is entering into the room the outside PIR sensor will send signal first and then the inside PIR sensor. Opposite will happend when someone is getting out of the room. There are 2 LDR sensors. LDR sensor which is inside the room, senses the room brightness and sends it to the microcontroller. If the brightness of the room is not enough microcontroller turns the relay cum the ligh on. Outside LDR is used to calibrate the system and to sense if it is dark outside (night). So light will turn on for this stituation as well. Push button is used to turn the automation system on and off. There are 2 LEDs for notifying which PIR sensors are sending signals. Also when the device starts, the 2 LEDs turn on for 5 seconds that means LDR calibration is happening.

auto_light_on_off's People

Contributors

bashar94 avatar

Watchers

webleader 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.