Giter Club home page Giter Club logo

smart_home's Introduction

Arduino Bluetooth Smart Home

This Arduino project implements a simple smart home system that allows remote control of lights, appliances and doors. This project involves controlling various devices (LEDs, DC motor, and servo) using an Arduino board and Bluetooth communication. The project also includes an IR allows the door to automatically open when a objects walk up to it and close after they pass through.

Hardware Used

  • Arduino board
  • Bluetooth module
  • LEDs
  • DC motor
  • relay to control motor
  • Servo motor
  • IR sensor
  • Resistors (220 ohm)
  • Jumper wires

Instructions

  • Connect the Bluetooth module to the Arduino board's RX and TX pins.
  • Connect the IR sensor ,Servo ,relay and LEDs to the specified pins on the Arduino board.
  • Connect the DC motor to the relay to safely start and stop a moto
  • Install the required libraries (SoftwareSerial.h, Servo.h) in the Arduino IDE.
  • Upload the provided code to the Arduino board using the Arduino IDE.

How it Works

  1. Bluetooth Control:
    • The Arduino is connected to a Bluetooth module to receive commands wirelessly.
    • When a character is received from Bluetooth, the corresponding action is performed:
      • 'A'/ 'a' - Controls LED1
      • 'B'/ 'b' - Controls LED2
      • 'C'/ 'c' - Controls LED3
      • 'D'/ 'd' - Controls LED4
      • 'M'/ 'm' - Controls the DC motor
      • 'E' - Opens the door by turning the servo motor to 90 degrees
      • 'e' - Closes the door by turning the servo motor to 0 degrees
  2. IR Sensor Control:
    • IR sensor is used to detect objects and automatically open/close the door.
    • When the IR sensor detects an object (IR is HIGH), the servo motor turns to 90 degrees to open the door.
    • When no object is detected (IR is LOW), the servo motor turns to 0 degrees to close the door.

Simulation:

Screenshot 2023-08-06 040458

Conclusion

  • This smart home system allows remote control of lights, appliances and doors through either Bluetooth commands or motion detection using an IR sensor
  • It's a simple implementation of smart home automation.

Contributions

  1. Ahmed Fayad
  2. Tasneem Ashraf
  3. Rahma
  4. Sayed abdalsamie
  5. Shimaa Esmat
  6. Manal Ali

smart_home's People

Contributors

shimaa-esmat 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.