CONTENTS
1. Abstract - - - - - - - - - - - - - - - - - - - - - 1
2. Introduction - - - - - - - - - - - - - - - - - - - - ..2
2.1 Literature Survey - - - - - - - - - .. - - - - - - - - ..2
2.2 Motivation - - - - - - - - - - - .. - - - - - - - - 3
2.3 Objective - - - - - - - - - - - - - - - - - - . … - 3
2.4 Work Plan …………… ……. ………………………. ……………………………4
3. Hardware
3.1 Block Diagram and Description - - . - - - - …………… - - - - - 5
3.2 Hardware Parts and Description - - - - - - - - - - - - - - ..6
3.2.1 Microcontroller 8051 ………………………………………………………….6
3.2.2 Microcontroller PIC16F877A …………………………………………………7
3.2.3 Wavecom Fastrack M1306B …………………………………………………..9
3.2.4 RS232 to USB Converter …………………………………………………… - 9
3.2.5 MAX232(ILX232) ……………………………………………………………10
3.2.6 Relay Driver ULN2803A ……………………………………………………..11
3.2.7 Relay …………………………………………………………………………. 12
3.3 Circuit Diagram - - - - - - . - - - - - - - - .. ………… - ..13
3.4 Flowchart …………………………………………………………….. ………… - ..15
4. Software
4.1 Software Part and Description - - - - - - - - - - - - - - .16
4.1.1. AT Command - - - - - - - - - - - - - - - - - .16
4.1.2. MikroeC PIC Programming Tool - - - - - - - - - - - - 18
4.1.3. Embedded C - - - - - - - - - - - - - - - - - 23
4.1.4. Labscenter Proteus VSM 7.10 - - - - - - - - - - - - ..24
4.1.5. SUNROM WinPic Programmer - - - - - - - - - - - - - - - - - 28
4.2Algorithm - - - - - - - - - - - - - - - - - - - - - - - - ……….…..30
4.3 Coding - - - - - - - - - - - - - - - - - - - - - - - - - - - - 31
5. Results and Discussions - - - - - - - - - - - - - - - - - .36
5.1 Simulation Results - - - - - - - - - - - - - - - - - 36
5.2 Hardware Results ……………………………………….…………………………..37
5.3 Discussion………………………………………………….………………………..39
5.4 Conclusion - - - - - - - - - - - - - - - - - - - 39
6. Bibliography …………………………………………….………………………………..40
7. Annexure
7.1 Appendix II: Datasheets - - - - - - - - - - - - - - - - 41
PIC16F877A
MAX232
ULN2803
M1206B
.