Table of Content
The starting from the power supply section, we have the 9V AC input from the secondary output of the transformer. This is the fed to the bridge rectification section that converts AC supply into DC supply. This is done by four 1N4007, 1 A diodes in bridge configuration. Then on the DC output of this section a large capacitor and another small 100nF capacitor is there to filter the DC supply and remove off all AC components from it.
The algorithm that is driving the code on the microcontroller is a multi-tasking algorithm. It has three basic functions, first is the main function to read all sensors and actuate the actuators according to the programmed threshold values. Next is the timely updating of the LCD display and the transmission of encoded string serially to the android client if the android client is present. The last task is to check the input serial buffer for commands from the android client and process them accordingly. As the android application is password protected ,it automatically adds security to your home as it can be controlled by the user only.
WE ARE WORKING ON THIS PROJECT PREVIEW.
It is directly connected to the microcontroller in 4-bit addressable mode. Whenever a new action or event is raised like fire alarm, LPG leak, etc it is displayed on the LCD too. Next we have the Bluetooth UART module connected to the serial port of the microcontroller.

If there is a sign of fire or LPG leak, the microcontroller automatically switches off all the appliances and open the door to exhaust the gases and reduce emergency cricality. The sleep mode is also processed here in this loop. If the sleep mode is activated and motion is detected or someone open the door, the alarm fires and alert the user. This Project includes two distinct parts, hardware control circuit and the android application. The communication between the Control circuit and the android application is carried over by the Bluetooth link between the phone’s Bluetooth and the Bluetooth device in the control circuit. The ASCII commands are sent from the phone to the Robot which in turn checked by the Arduino for the turning ON or OFF of the particular device.
Tutorial: Voltage Regulator And USB Gadget Charger Circuit
The home automation device that you build can be integrated with almost all the home appliances and can be used to control them remotely from any part of the world. In this project, you will build a Voice Controlled Robot that can be controlled through voice commands. You will also build an Android App which will understand your voice commands and control the Robot to perform specific tasks via Bluetooth. If appliance are running and suddenlypower goes off. Appliance does on automatically everything need to switch on again from mobile phone. Make sure you pair the Android Bluetooth with the Bluetooth connected in the circuit.
In this project 5 volt 700 mA Samsung charger is used for giving the power to the circuit and made of switch mode power supply. I confirm, Arduino program has been uploaded, HC-05 is been connected in mobile, indicator for relay module are ok. Yes, relay is connected in parallel with physical switch but in this case when physical switch turn on then the AC appliances is still on even after off the relay. Vin is usually used to give input power, but since we are supplying 12V to Arduino using an adaptor, we can use Vin pin on Arduino to power the 12V relay module.
Bluetooth module
The presence of the Bluetooth link is also displayed here. Also the microcontroller sends the encoded system status in a string serially to the bluetooth UART if the link is present. This loop is repeated infinitely as that of the main loop. Simply logging in the android application will grant access to the user to control and automate his home wirelessly.
Configure one input as V2 and other input as V6 and map them both from 0 to 50 with reading rate as 1 sec. Before moving forward, please checkout my video for this project so that you can get an idea of how things are working and how connections are made. From here you can turn Bluetooth ON/OFF manually. You can manually connect to the android host from the paired list. You can change the login password here and program the threshold value for the fire alarm to raise.
When a motion is detected ,the output goes high for a few seconds and comes back to low in case of absence of motion. The main door is driven by the geared DC motor and as it has to close and open the door, it has to be moved bi-direcionally. To do so, we used the four BC107 NPN transistor based H-bridge bidirectional motor driver circuit interfaced to the digital output of the microcontroller. The microcontroller can digitally control the motion and direction of the motor to open and close the door. To display messages and sensor values a 16x2 character LCD is used in 4 bit mode to portB of the microcontroller. Automation is also involved in building management system in which lights, temperature, security devices and other appliances are controlled through a high degree of computer involvement.

It act as an access point for the android client on the another side and logically it act as complete serial cable replacement for the serial port. The data is exchanged serially between the two devices. A LINK status pin to the microcontroller from the Bluetooth UART tells it that the android client is successfully connected to the host. Next, to control two light one inside and other outside the home , a fan/AC and a television we have four relays connected to the microcontroller via the NPN transistor based buffer circuit.
The relay module and Bluetooth module can be, in turn, powered using a board power supply of Arduino Uno. Connection details for each appliance are shown in Fig. Also, there are many disabled and aged people who always depends on others for their basic necessities. This project helps to control the electrical loads with the help of android application.
This is because here we are operating pre digital circuitry that fails to operate on unregulated and unfiltered supply. After the DC supply is being filtered as it is unregulated is turned into a regulated 5V DC supply using LM7805 regulator. Again after that a small 100nF capacitor is there to filter the regulated DC supply. A regulated 3.3 volt supply is also derived from another regulator that is the UA78M33 whose input is fed from the regulated 5V output of the LM7805 voltage regulator. Regulated 5 volt supply is needed to drive the microcontroller, relays and all the sensors, while a regulated 3.3 volt is required by the Bluetooth UART module to operate.
FIG 1 This screen displays a boot animation on startup when you click the Smarthome application icon. Along with the animation, an audio message and welcome can be heared in the background. The ANDROID client will use bluetooth to wirelessly connect to the host device. Download the code from below link and upload it to the Arduino board. Application is connected after disconnect of the Bluetooth.
The benefits of automation are that it is secure and saves money, time, maintenance costs, and makes life easier. Home automation devices include X10, Insteon, UPB, Z-wave, Crestron, Lurton-RA, PLC, etc. The ideas related to automation of tasks were in existence during the time of Greeks and after that as well, and during the industrial revolution, automation systems were developed. The home automation system is nothing but a term used to describe the working of all household appliances.
No comments:
Post a Comment