Bluetooth Managed Digital Residence Home equipment is a straightforward undertaking, the place we will management totally different electrical home equipment and digital gadgets utilizing an Android system with the assistance of Bluetooth Know-how.

Working standard wall switches is troublesome for bodily handicapped or elder individuals. This undertaking gives the answer to this drawback by integrating all {the electrical} home equipment to a management unit that may be operated by an Android utility on a tool (Android good telephone or Pill).

The proposed system controls {the electrical} masses based mostly on the info transmitted by the Android system. An Android utility must be put in in consumer’s cell or pill to regulate {the electrical} masses. Utilizing this Android utility consumer can ship the instructions to the Bluetooth module to regulate {the electrical} masses. Wi-fi expertise used on this undertaking is Bluetooth. It will also be known as as “Bluetooth Managed Digital Residence Home equipment” or “Android based mostly Residence Automation System” or “Distant Password Operated Digital Residence Home equipment Management System”.

Bluetooth Managed Digital Residence Home equipment Circuit Precept

On this undertaking, a Bluetooth module is interfaced to 8051 Microcontroller. This Bluetooth Module receives the instructions from the Android utility that’s put in on the Android system, utilizing wi-fi communication (Bluetooth Know-how). This system which is written to the 8051 microcontrollers communicates with Bluetooth module serially to obtain the instructions. Microcontroller switches {the electrical} masses mechanically based mostly on the instructions obtained from the Bluetooth.

Android Based mostly Residence Automation System Circuit Block Diagram

Bluetooth Controlled Home Electronic Appliances - Block DiagramBluetooth Managed Digital Residence Home equipment Circuit Diagram

Bluetooth Controlled Electronic Home Appliances Circuit Diagram

Parts Required

{Hardware} Necessities

  • 8051 Microcontroller (AT89C51)
  • 8051 Improvement Board
  • 8051 Programmer (Programming Board)
  • Programming Cable
  • 16 × 2 LCD Show
  • 10KΩ Potentiometer
  • Bluetooth Module (HC – 05)
  • 4 – Channel Relay Module
  • Hundreds (like Gentle Bulb, Fan, and so on.)
  • Energy Provide
  • Connecting wires
  • If 8051 Improvement Board isn’t out there, you then would possibly want the next
    • 10µF Electrolytic Capacitor
    • 2 x 10KΩ Resistors (1/Four Watt)
    • 2 x 33pF Ceramic Disc Capacitors
    • 0592 MHz Quartz Crystal
    • Push Button
    • 1KΩ x Eight Resistor Pack
  • If Relay Module isn’t out there, then you possibly can construct the 1 – channel relay circuit (for 1 load) utilizing the next
    • 5V or 12V Relay
    • BC547 NPN Transistor
    • 1N4007 PN Junction Diode
    • 1 KΩ Resistor (1/Four Watt)

Software program Necessities

  • Keil µVision IDE
  • Willar Software program
  • Proteus (for Circuit Diagram and Simulation)
  • Android Software put in on Android Gadget

Android Based mostly Residence Automation System Circuit Design

This undertaking consists of a microcontroller, 16 x 2 alphanumeric LCD, 4 – Channel Relay Module, Hundreds (Gentle Bulbs are used within the demonstration) and Bluetooth Module.

Right here, AT89C51 Microcontroller is used. It’s an 8 – bit microcontroller and it requires provide a voltage of 5V DC. Use 7805 energy provide a circuit to supply 5V DC to the microcontroller. We will use 9V DC battery or 12V, 1A adapter to supply the provision to the circuit.

For the above circuit moreover, you must join reset circuit and crystal circuit to the controller to work correctly. You possibly can ignore these connections (Energy Provide Regulator, Crystal Circuit and Reset Circuit) in case you are utilizing an 8051 Improvement Board.

Within the above circuit, the LCD show is used to point the standing {of electrical} masses and likewise used to show obtained information from Bluetooth (Non-obligatory Characteristic).

Right here, the LCD Show is interfaced to the PORT1 of the microcontroller in 8 – bit mode i.e. the info pins of the LCD are linked to PORT1. The three management pins of the LCD i.e. RS, RW and EN are linked to P3.6, GND, and P3.7 pins respectively.

Additionally, a 10KΩ POT is linked to the Distinction Alter pin of the LCD to regulate the distinction of the show.

The TX and RX Pins of the Bluetooth Module are linked to the RXD and TXD pins (P3.zero and P3.1) of the microcontroller. VCC pin (Pin 40) is linked to the +5V and GND pin (Pin 20) is linked to the floor.

The Microcontroller communicates with Bluetooth Module utilizing serial communication (UART protocol). Use a baud price of 9600 to speak with Bluetooth.

If you wish to change the Bluetooth title and password then you must use Bluetooth AT instructions.

Under are the few Bluetooth AT instructions:

  • AT — Responds OK. (Used to check the Bluetooth module)
  • AT+RESET — Responds OK. (Used to reset the module)
  • AT+NAME? — Responds with the module title.
  • AT+NAME = <title> — Responds OK. The title must be lower than or equal to 20 characters.
  • AT+PSWD? — Responds with the prevailing password.
  • AT+PSWD =<password> — Units module pairing password.

To learn about all of the Bluetooth AT instructions refer HC-03/05 Embedded Bluetooth Serial Communication Module AT command set.

Electrical masses (like Lamp and DC motor) are linked to the P0.zero to P0.three Pins by means of the 4 – Channel Relay Module. Right here, relays are used to change AC masses utilizing small DC voltages. NPN transistors are used to drive the relays.

If you’re utilizing a relay module, then transistor and different necessary elements to drive the relay are already embedded on the module itself.

NOTE: The Circuit Diagram reveals connections of just one load. However, the connections to the opposite masses will also be made in a similar way.

Algorithm for Bluetooth Managed Digital Residence Home equipment

  1. Initialize the LCD and UART protocol.
  2. Now learn the info from Bluetooth module.
  3. Show the obtained information on LCD.
  4. Examine the obtained string with predefined strings and accordingly change {the electrical} masses.
  5. Show the standing {of electrical} masses on LCD.

Android based mostly Residence Automation System Circuit Simulation Video

Watch the next output video of residence automation system utilizing android purposes.

DOWNLOAD PROJECT CODE

How Bluetooth Managed Digital Residence Home equipment Circuit Works?

  1. Write this system to the undertaking in Keil software program and create the .hex file.
  2.  Burn program to the controller with the assist of 8051 Programmer and Willar Software program.
  3.  Now, give the connections as per the circuit diagram.
  4. Whereas making the connections, be sure that there is no such thing as any widespread connection between DC and AC provides.
  5. Use 5V energy provide a circuit to supply regulated 5V DC to the microcontroller.
  6.  Change on each AC and DC provides.
  7. Now relay output pins will get 230V. So, don’t contact the load-linked pins.
  8. Set up the “Bluetooth Controller” utility in your Android Gadget (Cellular Telephone or Pill) from the next hyperlink https://play.google.com/retailer/apps/particulars?id=apps.BT&hl=en
  9. Now pair the Android system with Bluetooth module.
  10. Configure the Bluetooth Controller App as per the 8051 Program.
  11. Ship information to change ON or OFF {the electrical} masses.

Bluetooth Managed Digital Residence Home equipment Mission Output Video

Bluetooth Managed Digital Residence Home equipment Mission Functions

  • This undertaking is used to regulate the assorted electrical home equipment from the distant space.
  • Utilizing this undertaking we will management all the masses utilizing a single distant and a management unit.

Limitations of the Circuit

  • On this undertaking, the space between the management unit and android system is prescribed.

LEAVE A REPLY

Please enter your comment!
Please enter your name here