Background Automatic Mail Detector Via SMS.

II LITERATURE REVIEW

2.1 Background

5 2.2 Mailing system, Sensor, GSM modem and interface module; Concept, Overview of Concept, Element and Specification 5 2.2.1 Mailing System 5 2.2.2 Control of the mail alert system 6 2.2.3 Element of AMDETSYS concept 7 2.2.3.1 PIC microcontroller for main circuit 7 2.2.3.2 Communnication Interface 17 2.2.3.3 GSM modem 22 2.2.3.4 Sensor 27 III METHODOLOGY 3.1 Introduction 32 3.2 Flow Chart of methodology 33 3.3 Project Plan Overview 34 3.4 Functional Block Diagram of AMDETSYS 35 3.5 Connection of AMDETSYS 36 3.6 Hardware Design and Development 37 3.7 Microcontrollers 37 3.7.1 Pin Diagram of PIC16F877A 38 3.7.2 Port Assignment 39 3.7.3 Basic Circuit for a Microcontroller 39 3.8 Printed Circuit Board PCB 41 3.8.1 PCB Design Rule and Consideration 41 3.9 Software Development 42 3.9.1 C Language 43 3.9.2 PIC Programmer 43 3.9.2.1 Programming a PIC 45 3.10 Testing 45 3.11 Expected Result 46 3.12 Gantt Chart of Project Planning 47 IV RESULT AND ANALYSIS 4.1 Introduction 48 4.2 Project Result 49 4.2.1 How the System Works 49 4.2.2 Software Analysis 51 4.2.2.1 Programming Procedure 51 4.2.3 Hardware Analysis 60 4.2.3.1 Medium range IR detector 60 4.2.3.2 Control unit 66 4.2.3.3 GSM Modem 72 4.2.3.4 Voltage regulator 73 4.2.4 Testing on breadboard 75 4.2.5 Design of the mailbox 75 4.2.6 Finish product of the prototype 76 V DISCUSSION AND CONCLUSION 5.1 Introduction 77 5.2 Discussion 77 5.3 Conclusion 78 5.4 Future Recommendations 80 REFERENCES 81 APPENDICES 82 LIST OF TABLES NO TITLE PAGE 2.1 Main features of a chip 9 2.2 PIC 16F87XA Device Features 15 2.3 Three-State Control of Receivers 20 2.4 Pin Definitions 30 3.1 Port Assignment 39 3.2 Common Design Rules of PCB Layout Design 42 4.1 IR specification 63 LIST OF FIGURES NO TITLE PAGE 2.1 Centralize mailbox system 6 2.2 PIC 16F877A microcontroller 7 2.3 Peripherals PIC 16F877A 14 2.4 Pic16F874A877A Block Diagram 16 2.5 MAX220MAX232MAX232A Pin Configuration and Typical Operating Circuit 17 2.6 MAX232 Communication Interface 21 2.7 Typical organization of network elements in a GSM network Supporting SMS 23 2.8 WAVECOM Fastrack GSM Modem 26 2.9 Medium Range Infrared Sensor 29 2.10 PCB layout of the transmitter and receiver circuit IR sensor 31 3.1 Frame work of PSM 34 3.2 The AMDETSYS block diagram 35 3.3 Basic connection of AMDETSYS 36 3.4 Pin Diagram of Microcontroller PIC16F877A 38 3.5 Basic Circuit for a Microcontroller 40 3.6 PIC Programmer Circuit 44 3.7 IC-Prog Software 44 4.1 Full functional block diagram of AMDETSYS 50 4.2 Medium range IR detector 61 4.3 Schematic Circuit of IR 61 4.4 PCB Layout of IR Circuit 61 4.5 IR sensor place inside the mailbox 62 4.6 Signal detection overview 64 4.7 Signal detection using oscilloscope 64 4.8 Reflection of the sensor 65 4.9 PIC16F877A main circuit 66 4.10 Schematic Circuit of PIC Main Circuit 66 4.11 PCB Layout of PIC Main Circuit 66 4.12 Interface circuit using MAX 232 67 4.13 Schematic Circuit of Interface Circuit 68 4.14 PCB layout of Interface Circuit 68 4.15 Connection using RS232 cable 70 4.16 GSM Modem 72 4.17 GSM Modem connection with control unit 73 4.18 Voltage regulator 74 4.19 Schematic circuit of Voltage Regulator Circuit 74 4.20 PCB layout of voltage regulator Circuit 74 4.21 Testing on breadboard 75 4.22 Mail compartment and control unit casing 75 4.23 Finish product of the prototype 76 LIST OF ABBREVIATIONS CI - Communication Interface CM - Conventional method GSM - Global System for Mobile Communication Modem LCD - Liquid Crystal Display LED - Light Emitting Diode PIC - Programmable Interface Controller SMS - Short Message System AMDETSYS - Automatic Mail Detector Via SMS IR - Infra Red SMS - Short Message System APPENDICES NO TITLE PAGE A PIC16F87XA Data Sheet 82 B +5V-Powered, Multichannel RS-232 DriversReceivers 98 CHAPTER I INTRODUCTION

1.1 Background