2.8 Load 13
2.8.1 LM35 Series Temperature Sensor 13
2.9 Summary 14
3 METHODOLOGY
3.1 Introduction 15
3.2 Project Work Flow 15
3.3 Hardware and software design 18
3.3.1 Hardware Design 18
3.3.1.1 Switching Circuit 18
3.3.1.2 Build circuit on PCB board 22 3.3.1.3 Integrated SK40C with XBee radio 26
frequencyRF module 3.3.1.4 Integrated All Circuit
28 3.3.1.5 Hardware Development Design
29 3.3.1.6 Microcontroller Circuit Construction 30
3.3.2 Software Design 32
3.4 Design and Develop graphical user interface GUI 34 3.5 Summary
39
4 RESULT
4.1 Introduction 40
4.2 Result 40
4.2.1 Experiment 1- Simulation testing with Proteus 40 4.2.2 Experiment 2-Switching circuit testing use 44
relay 12V 4.2.3 Experiment 3-Integration Between XBee RF 45
module with microcontroller through GUI
4.2.4 Experiment 4 – Control and monitor 48
temperature testing
5 ANALYSIS AND DISCUSSION
5.1 Analysis and discussion 50
6 CONCLUSION AND RECOMMENDATION 6.1 Conclusion
52
6.2 Recommendation 53
6.2.1 XBee-Pro module 53
REFERENCES 54
APPENDICES 55
LIST OF FIGURES
FIGURE TITLE PAGE 2.1 User interface running on PC
6 2.2 The system diagram of XBee RF transmitter and receiver 7
2.3 Different functional blocks in the Bluetooth system 8
2.4 UART Frame Format 9
3.1 Project flowchart
17 3.2
Switching circuit 18
3.3 Switching circuit create in Proteus
19 3.4 Switching circuit constructed in Proteus
19 3.5
GUI system run with Proteus 20
3.6 Switching constructed in breadboard
20 3.7
Switching circuit testing for LED 21
3.8 Switching circuit testing for cooler fan
21 3.9
Switching circuit testing for LED and cooler fan 22
3.10 Process block for PCB board
22 3.11
Circuit design use ARES 7 Professional 23
3.12 Circuit design in 3D visual
23 3.13
Develop circuit with developer liquid 24
3.14 Etching Process
24 3.15
Drilling Process 25
3.16 PCB board after drill
25 3.17
Circuit testing 26
3.18 Integrate the XBee module with SK40C
27 3.19
X-CTU software 27
3.20 XBee integrate with PC
28 3.21
The combination of related circuits 28
3.22 Hardware is designed and installed by a few materials needs 29
3.23 Hardware construction completely
29
3.24 PIC16F877A
30 3.25
SK40C 30
3.26 XBee radio frequency RF module
31 3.27
Mikro C software 33
3.28 Coding mikro C flowchart
34 3.29
GUI programming flowchart 35
3.30 Visual basic new project
36 3.31
Toolbox and windows properties of visual basic 37
3.32 Visual basic coding
37 3.33
First GUI layout design 38
3.34 Second GUI layout design
38 4.1
MikroC coding 41
4.2 Visual basic coding
42 4.3
GUI system 42
4.4 Circuit in Proteus
43 4.5
Switching circuit 44
4.6 Switching circuit integrate with XBee RF
45 4.7
Graph for accuracy of signal strength indoor testing 46
4.8 Graph for accuracy of signal strength outdoor testing 48
5.1 Graph for accuracy of signal strength at outdoor testing
51 6.1
XBee-Pro module 53
LIST OF TABLES AND GRAPHS
TABLES TITLE PAGE 4.1 Simulation testing data
43 4.2 Address and functionality for hardware
45 4.3
Data collected for analyze the effect of wirelessly 46
technique system indoor testing 4.4
Data collected for analyze the effect of wirelessly 47
technique system outdoor testing 4.5
Fan control and monitoring based on temperature 49
LIST OF ABBREVIATIONS
VB Visual Basic
GUI Graphical User Interface
IDE Integrated Development
RAD Rapid Integrated Development
DAO Data Access Objects
RDO Remote Data Objects
ADO ActiveX Data Objects
VBA Visual Basic Application
PC Personal Computer
RF Radio Frequency
GSM Global System for Mobile Communications
PIC Peripheral Interface Controller
ECG Electrocardiogram
BASIC Beginners All-purpose Symbolic Instruction Code
CDMA Code Division Multiple Access
USART Universal synchronousasynchronous receivertransmitter
PLC Programmable logic controller
PDA Personal digital assistance
IO Input output
MCU Microcontroller unit
WDT Watchdog Timer
ICD In-Circuit Debug
PIC Peripheral Interface Controller
ECG Electrocardiogram
SMS Short message service
LIST OF APPENDICES
APPENDIX TITLE PAGE A Project Gantt Chart
55 B
Wireless link performance 56
CHAPTER 1
INTRODUCTION
1.1 Project Background