Android based home automation systems



Home Automation Using Android project mainly aims at  controlling electrical loads with the help of android application. The electrical loads are controlled based on Bluetooth input signal.
The android device sends the input signal. It becomes too tiring to every time manually turn the switches ON/OFF.
This proves to be a big problem in case of disabled or handicapped people. This system makes use of an android device which is responsible for sending input signal. 

'

The android device may be any android based phone or tab having an android OS. The app also provides an effective GUI for providing this functionality.
PIC microcontroller is used in this system. The Bluetooth receiver is interfaced with microcontroller in order to accept the commands and then react accordingly. It operates the loads through a set of relays using a relay driver IC. Relays are used between loads and the control unit. This system is very beneficial in case of domestic applications and industrial setups. The power supply setup of the system contains a step down transformer of 230/12V, used to step down the voltage to 12VAC. To convert it to DC, a bridge rectifier is used. In order to remove the ripples, a capacitive filter is used and it makes use of 7805 voltage regulator to regulate it to +5V that will be required for PIC microcontroller and other components operation.

BLOCK DIAGRAM OF BLUETOOTH BASED HOME AUTOMATION


COMPONENT OF ANDROID PHONE BASED HOME AUTOMATION SYSTEM

BLUETOOTH MODULE (HC-05)
For the communication between mobile phone and microcontroller Bluetooth module is used, because the  microcontroller can’t do all this work itself. Hc-05 module is used for this purposes, which is low power 1.8 v operation, PIO control with integrated antenna, edge connector and is easy to use with Bluetooth SPP (serial port protocol).This is designed for transparent wireless serial connection setup. Serial port Bluetooth module have a Bluetooth 2.0+EDR (enhanced data rate), 3Mbps modulation with complete 2.4GHZ radio transceiver and baseband.  Using Bluetooth profile and android platform architecture different type of Bluetooth applications can be developed.

SWITCHES: Switches are used to make and break the electrical circuit. There are so many types of switches, some are mechanically and some are electrically operated such as SPDT, SPST, DPST, DPDT etc. you can check push button interfacing article to use it in your microcontroller based project.
RELAYS: Relay is basically an electromagnetic switch which can be turn on and off by an applying the voltage across its contacts. In this project, we used a 6 volts relay.                                                                       
POWER SUPPLY: 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.

PROTEUS: For the designing of this project with hardware component proteus software is used, which is fast, accurate, flexible and high performance simulator for MIMD multiprocessor. This can be reproduced the results from real multiprocessor and configured to simulate a wide range of architecture. you can watch Proteus video tutorials here.

MIKCRO  C PRO :The mickro c pro is used  For converting the C language in HEX file MIKCRO  software is used which can easily burn in microcontroller.

ANDROID APP:  It is mobile operating software developed by google based on Linux kernel and is used in touchscreen mobile devices such as smartphones and tablets. it have a so much human interference and in this project we have used it for home automation to control the home appliances.

CIRCUIT DIAGRAM



 ADVANTAGES

  •  It is a robust and easy to use system.
  •  There is no need for extra training of that person who is using it.
  • All the control would be in your hands by using this home automation system.
  • This project can provide the facility of monitoring all the appliances with in the communication range through Bluetooth.
  •  By using this system the users can check the status of the appliances at whatever time of the day
  • Manual control is also given in this project so the unskilled person can easily change the status.

DISADVANTAGES
  • Bluetooth is used in this home automation system, which have a rage 10 to 20 meters so the control cannot be achieved from outside this range. 
  • Application is connected after disconnect of the Bluetooth.
  • when the new users want to connect the first download application software then the code and configuration must be done.

CODE:   

........................................

HEX FILE:

 ...............................

:060000000A128A11122809
:10000800FE000308F1000408F2000A08F300831256
:1000180003137F08F4000A128A11D72C0A128A11D6
:10002800D92DFF1B1F2883137F1883170008840A04
:100038000319FF0A08007F087F398A000408840A28
:100048000319FF0A8200831603138601C030870054
:1000580088010A128A118A250A128A116D308312C0
:100068000313A1008630A2001030A3000030A400C2
:1000780080300A128A11A2240A128A111D308312B2
:100088000313A1008730A2000830A3000030A400A9
:10009800C4300A128A11A2240A128A11E830F50023
:1000A800FD30F6000A128A11B9250A128A11E830C1
:1000B800F500FD30F6000A128A11B9250A128A11D4
:1000C80001300A128A116D250A128A11263083120C
:1000D8000313A1008730A2000630A3000030A4005B
:1000E80080300A128A11A2240A128A115830F500A7
:1000F8000230F6000A128A11B9250A128A115830FC
:10010800F5000230F6000A128A11B9250A128A117E
:10011800003083120313A3000030A2002530A10091
:100128008030A0000A128A114E250A128A110A127A
:100138008A1123240A128A1101300A128A11A3256E
:100148000A128A1101300A128A116D250A128A11BF
:10015800143083120313A1008730A2000830A300D3
:100168000030A40080300A128A11A2240A128A11CF
:100178005830F5000230F6000A128A11B9250A1221
:100188008A115830F5000230F6000A128A11B92592
:100198000A128A11CF280230831203132E02031C7D
:1001A800D628D728CF2800300A128A11A3250A1288
:1001B8008A11831203132A08613A031DE428E528EB
:1001C8000429861301300A128A116D250A128A1130
:1001D8001F308312031386002930A1008630A20045
:1001E8001030A3000030A400C0300A128A11A224E3
:1001F8000A128A110A128A1127220A128A1104295C
:10020800831203132A08623A031D0B290C292B2990
:10021800061301300A128A116D250A128A111F303D
:100228008312031386003A30A1008630A2001030F2
:10023800A3000030A400C0300A128A11A2240A12B6
:100248008A110A128A1127220A128A112B2983126B
:1002580003132A08633A031D3229332952298612C7
:1002680001300A128A116D250A128A111F30831271
:10027800031386004B30A1008630A2001030A30083
:100288000030A400C0300A128A11A2240A128A116E
:100298000A128A1127220A128A1152298312031379
:1002A8002A08643A031D59295A2979290612013066
:1002B8000A128A116D250A128A110F30831203134C
:1002C80086005C30A1008630A2001030A300003008
:1002D800A400C0300A128A11A2240A128A110A1232
:1002E8008A1127220A128A117929831203132A08EC
:1002F800653A031D80298129A029861701300A1231
:100308008A116D250A128A11073083120313860099
:100318007E30A1008630A2001030A3000030A40077
:10032800C0300A128A11A2240A128A110A128A11EA
:1003380027220A128A11A029831203132A08663A6F
:10034800031DA729A829C729061701300A128A11EF
:100358006D250A128A1103308312031386008F3029
:10036800A1008630A2001030A3000030A400C030E5
:100378000A128A11A2240A128A110A128A11272241
:100388000A128A11C729831203132A08673A031D20
:10039800CE29CF29EE29861601300A128A116D2539
:1003A8000A128A110130831203138600A030A100BB
:1003B8008630A2001030A3000030A400C0300A121A
:1003C8008A11A2240A128A110A128A1127220A12F1
:1003D8008A11EE29831203132A08683A031DF529A6
:1003E800F629142A061601300A128A116D250A12F6
:1003F8008A11831203138601B130A1008630A2004E
:100408001030A3000030A400C0300A128A11A224C0
:100418000A128A110A128A1127220A128A11142A28
:10042800031000300318013083120313AE000130AB
:100438000A128A11A3250A128A11CF28CF28CF2899
:100448000A128A1112280D300A128A11CD250A12B1
:100458008A110A300A128A11CD250A128A11E83047
:10046800F500FD30F6000A128A11B9250A128A1120
:100478002D30F6008730F700023083120313A200F4
:100488002208F8000A128A1101250A128A110D3071
:100498000A128A11CD250A128A110A300A128A1103
:1004A800CD250A128A111030F5002730F6000A12FD
:1004B8008A11B9250A128A110A30F6008730F70026
:1004C800093083120313A2002208F8000A128A11C5
:1004D80001250A128A110D300A128A11CD250A1235
:1004E8008A110A300A128A11CD250A128A1110308F
:1004F800F5002730F6000A128A11B9250A128A1166
:100508000030F6008630F700143083120313A2007F
:100518002208F8000A128A1101250A128A110D30E0
:100528000A128A11CD250A128A110A300A128A1172
:10053800CD250A128A11E830F5000330F6000A12B8
:100548008A11B9250A128A118312031306081F3A61
:10055800031DAF2AB02ACA2AC230F6008630F70037
:100568000C30A2002208F8000A128A1101250A128A
:100578008A110D300A128A11CD250A128A110A3001
:100588000A128A11CD250A128A11CA2A8312031364
:1005980006080F3A031DD12AD22AEC2ACE30F600DB
:1005A8008630F7000C30A2002208F8000A128A11DF
:1005B80001250A128A110D300A128A11CD250A1254
:1005C8008A110A300A128A11CD250A128A11EC2AD8
:1005D800831203130608073A031DF32AF42A0E2B85
:1005E800DA30F6008630F7000C30A2002208F80056
:1005F8000A128A1101250A128A110D300A128A116B
:10060800CD250A128A110A300A128A11CD250A123A
:100618008A110E2B831203130608033A031D152BA8
:10062800162B302BE630F6008630F7000C30A2008F
:100638002208F8000A128A1101250A128A110D30BF
:100648000A128A11CD250A128A110A300A128A1151
:10065800CD250A128A11302B831203130608013A9A
:10066800031D372B382B522BF230F6008630F7005B
:100678000C30A2002208F8000A128A1101250A1279
:100688008A110D300A128A11CD250A128A110A30F0
:100698000A128A11CD250A128A11522B83120313CA
:1006A8008608031D582B592B732BFE30F600863015
:1006B800F7000C30A2002208F8000A128A1101255E
:1006C8000A128A110D300A128A11CD250A128A11CE
:1006D8000A300A128A11CD250A128A11732B0800D2
:1006E80000307806031D822B00307706031D822B0D
:1006F80000307606031D822B6E307506031D852B90
:10070800862B8C2B8D308316031399001811222CFD
:1007180000307806031D9A2B00307706031D9A2BAC
:1007280004307606031D9A2BB0307506031D9D2BE9
:100738009E2BA42B33308316031399001811222CF7
:1007480000307806031DB22B00307706031DB22B4C
:1007580009307606031DB22B60307506031DB52BD4
:10076800B62BBC2B19308316031399001811222CB1
:1007780000307806031DCA2B00307706031DCA2BEC
:1007880012307606031DCA2BC0307506031DCD2B0B
:10079800CE2BD42B0C308316031399001811222C5E
:1007A80000307806031DE22B00307706031DE22B8C
:1007B80025307606031DE22B80307506031DE52BD8
:1007C800E62BEC2B19308316031399001815222CED
:1007D80000307806031DFA2B00307706031DFA2B2C
:1007E800E1307606031DFA2B00307506031DFD2B3C
:1007F800FE2B042C14308316031399001815222C91
:1008080000307806031D122C01307706031D122CC8
:10081800C2307606031D122C00307506031D152CF8
:10082800162C222C0A308316031399001815222C33
:10083800222C222C222C222C222C222C08002D3077
:10084800F6008730F700023083120313A200220853
:10085800F8000A128A1101250A128A110D300A12AB
:100868008A11CD250A128A110A300A128A11CD2559
:100878000A128A11E830F500FD30F6000A128A11D2
:10088800B9250A128A11E830F500FD30F6000A127F
:100898008A11B9250A128A110A30F6008730F70042
:1008A800093083120313A2002208F8000A128A11E1
:1008B80001250A128A110D300A128A11CD250A1251
:1008C8008A110A300A128A11CD250A128A11E830D3
:1008D800F500FD30F6000A128A11B9250A128A11AC
:1008E800E830F500FD30F6000A128A11B9250A121F
:1008F8008A111730F6008630F7001130831203137F
:10090800A2002208F8000A128A1101250A128A1187
:100918000D300A128A11CD250A128A110A300A12DC
:100928008A11CD250A128A116430F5001930F600B3
:100938000A128A11B9250A128A11080083120313B0
:10094800A7000310003003180130A800C82C28089D
:100958002107840022080318220AFF000A128A11BC
:1009680015200A128A11A5002508F800280827076B
:100978000A128A1129250A128A11013083120313D7
:10098800A5002508A807C82C2808A500A601240842
:100998002602031DD12C23082502031CD42CD52C98
:1009A800AB2CD62C08008C1EDA2CDB2CF62C8C12E7
:1009B8001A08F0002E08293E84007008831380006E
:1009C80029082A3A031DE92CEA2CEF2C0130F00003
:1009D8007008AE07F62C0310003003180130AE0083
:1009E800F62CF62C7408FF0073088A00720884003D
:1009F80071088300FE0E7E0E0900031000300318F4
:100A0800013083120313A100212D210876078400E9
:100A180077080318770AFF000A128A1115200A12AC
:100A28008A110A128A11CD250A128A1101308312FD
:100A38000313A0002008A107212D78082102031C18
:100A4800262D272D092D282D080083120313A00019
:100A580020080A128A116D250A128A117808831251
:100A680003138800871607167D30F5000030F6005E
:100A78000A128A11B9250A128A11831203138712DE
:100A88007D30F5000030F6000A128A11B9250A12E5
:100A98008A110800831203132308F8002208F700BC
:100AA8002108F6002008F5000A128A1174230A1298
:100AB8008A118316031318128312031398178316C7
:100AC800031398168B170B178C168312031318161B
:100AD8000800F700770883120313880087160712A7
:100AE8007D30F5000030F6000A128A11B9250A1285
:100AF8008A118312031387127D30F5000030F60047
:100B08000A128A11B9250A128A11080038300A1205
:100B18008A116D250A128A1106300A128A116D256A
:100B28000A128A110C300A128A116D250A128A11CA
:100B380001300A128A116D250A128A110800F5007F
:100B48007508013A031DA92DAA2DB12D831603138B
:100B58008C16831203131816B82D831603138C12E0
:100B6800831203131812B82D0800BB2DBB2D0130BA
:100B7800F5020030031CF603F602FF307606031D6B
:100B8800C72DFF307506031DCA2DCB2DBB2DCC2DCF
:100B98000800F5007508831203139900D32D0C1E65
:100BA800D62DD72DD32D0C120800A901AA01AB010F
:0E0BB800AC01AD01AE0183010A128A1127289B
:100C0000413454342B3443344D34473453343D341D
:100C100022342B34393432343034393430343034B3
:100C200037343834363430343134223400344134BB
:100C300054342B3443344E344D3449343D343234FF
:100C40002C3432342C3430342C3430342C34303492
:100C500000344134503450344C34493441344E34EF
:100C6000433445345334203431343A344F344E34E1
:100C7000203400344134503450344C3449344134FD
:100C80004E34433445345334203432343A344F34C0
:100C90004E34203400344134503450344C344934D0
:100CA00041344E34433445345334203433343A34AD
:100CB0004F344E34203400344134503450344C34AA
:100CC000493441344E34433445345334203434347D
:100CD0003A344F344E342034003448344F344D3499
:100CE000453420344134503450344C344934413448
:100CF0004E344334453453343A3400344134503460
:100D000050344C34493441344E34433445345334F4
:100D1000203431343A344F3446344634003441348C
:100D2000503450344C34493441344E3443344534D7
:100D30005334203432343A344F3446344634003459
:100D40004134503450344C34493441344E344334BB
:100D500045345334203433343A344F3446344634F3
:100D600000344134503450344C34493441344E34DE
:100D7000433445345334203434343A344F344634D5
:100D8000463400346434653476346934633465340D
:100D90002034313420346F346E340034643465349C
:100DA00076346934633465342034323420346F341B
:100DB0006E340034643465347634693463346534B5
:100DC0002034333420346F346E340034643465346A
:100DD00076346934633465342034343420346F34E9
:100DE0006E34003464346534763469346334653485
:100DF0002034353420346F346E3400346434653438
:100E000076346934633465342034363420346F34B6
:100E10006E340034413454342B3443344D3447342D
:100E200046343D34313400347234653461346434D2
:100E300079342E342E342E34003443344F344E342F
:100E4000543452344F344C343A34003462347534B0
:100E5000733479342E342E34003441345434003415
:00000001FF
 
 THE END 




HAPPY NEW YEAR IN ADVANCE FROM TEAM OF SLTECH.


No comments:

Post a Comment