ABSTRACT
This paper presents the development of GSM-based home appliance control for smart
home system. The main aim of the prototype development is to reduce electricity
wastage. GSM module is used for receiving short message service (SMS) from user’s
mobile phone that automatically enable the controller to take any further action such
as to switch ON and OFF the home appliances such as light, air-conditioner etc. The
system is integrated with microcontroller and GSM network interface using embedded
C language. MikroC software was utilized to accomplish the integration. The system
is activated when user sends the SMS to controller at home. Upon receiving the SMS
command, the microcontroller unit then automatically controls the electrical home
appliances by switching ON or OFF the device according to the user direction. In
other words, it reads message from the mobile phone and responds to control the
devices according to the received message. The prototype has been successfully
developed and it could provide an effective mechanism in utilizing the energy source
efficiently
CONTENTS
1 Abstract - - - - - - - - - - - - - - - - - - - - - 1
2 Introduction - - - - - - - - - - - - - - - - - - - - 2
21 Literature Survey - - - - - - - - - - - - - - - - - 2
22 Motivation - - - - - - - - - - - - - - - - - - - 3
23 Objective - - - - - - - - - - - - - - - - - - … - 3
24 Work Plan …………… …… ……………………… ……………………………4
3 Hardware
31 Block Diagram and Description - - - - - - …………… - - - - - 5
32 Hardware Parts and Description - - - - - - - - - - - - - - 6
321 Microcontroller 8051 …………………………………………………………6
322 Microcontroller PIC16F877A …………………………………………………7
323 Wavecom Fastrack M1306B …………………………………………………9
324 RS232 to USB Converter …………………………………………………… - 9
325 MAX232(ILX232) ……………………………………………………………10
326 Relay Driver ULN2803A ……………………………………………………11
327 Relay ………………………………………………………………………… 12
33 Circuit Diagram - - - - - - - - - - - - - - ………… - 13
34 Flowchart ……………………………………………………………
………… - 15
4 Software
41 Software Part and Description - - - - - - - - - - - - - - 16
411 AT Command - - - - - - - - - - - - - - - - - 16
412 MikroeC PIC Programming Tool - - - - - - - - - - - - 18
413 Embedded C - - - - - - - - - - - - - - - - - 23
414 Labscenter Proteus VSM 710 - - - - - - - - - - - - 24
415 SUNROM WinPic Programmer - - - - - - - - - - - - - - - - - 28
42Algorithm - - - - - - - - - - - - - - - - - - - - - - - - …………30
43 Coding - - - - - - - - - - - - - - - - - - - - - - - - - - - - 31
5 Results and Discussions - - - - - - - - - - - - - - - - - 36
51 Simulation Results - - - - - - - - - - - - - - - - - 36
52 Hardware Results …………………………………………………………………37
53 Discussion…………………………………………………………………………39
54 Conclusion - - - - - - - - - - - - - - - - - - - 39
6 Bibliography ……………………………………………………………………………40
7 Annexure
71 Appendix II: Datasheets - - - - - - - - - - - - - - - - 41
PIC16F877A
MAX232
ULN2803
M1206B