Smart GPS System EEL 4915 - Senior Design II
Total Page:16
File Type:pdf, Size:1020Kb
2013 Smart GPS System EEL 4915 - Senior Design II Group B/14 Carlos Gonzalez Melissa Grenier Gina McGhee Sainjulien Senatus Table of Contents 1 Executive Summary ..................................................................................................... 1 2 Project Description ...................................................................................................... 2 2.1 Motivation ............................................................................................................ 2 2.2 Goals and Objectives ............................................................................................ 3 2.3 Requirements and Specifications ......................................................................... 3 3 Research ....................................................................................................................... 4 3.1 Existing Technology and Products ....................................................................... 4 3.2 Outdoor Tracking System .................................................................................... 5 3.2.1 LS20031 ........................................................................................................ 5 3.2.2 Microcontrollers for GPS ............................................................................ 16 3.2.3 Communication Protocol ............................................................................ 20 3.2.4 Tracking Device .......................................................................................... 24 3.3 Indoor Tracking System ..................................................................................... 25 3.3.1 RFID ........................................................................................................... 25 3.3.2 Wireless Sensor Network (WSN) Overview .............................................. 28 3.3.3 Different Methods of Integrating RFID Readers and Tags ........................ 30 3.3.4 Types of Communications between Tags and Readers .............................. 31 3.3.5 Data Modulation ......................................................................................... 32 3.3.6 Transmission and Reception ....................................................................... 32 3.3.7 Communication between GPS Device and RFID Reader........................... 33 3.3.8 Software ...................................................................................................... 33 3.3.9 Hardware ..................................................................................................... 33 3.4 Base Station ........................................................................................................ 34 3.4.1 Microcontroller Unit ................................................................................... 34 3.4.2 Internet Connectivity .................................................................................. 43 3.4.3 Power Supply .............................................................................................. 56 3.4.4 Wireless Transmitter ................................................................................... 58 3.5 PCB .................................................................................................................... 61 3.5.1 Express PCB ............................................................................................... 62 3.5.2 PCB4Less .................................................................................................... 62 3.5.3 Ultimate PCB .............................................................................................. 62 3.5.4 PCB Express ............................................................................................... 63 3.5.5 Imagineering Inc. ........................................................................................ 63 3.5.6 4PCB.com ................................................................................................... 63 3.6 User Interface ..................................................................................................... 63 3.6.1 Android OS ................................................................................................. 63 3.6.2 IPhone OS ................................................................................................... 66 3.6.3 Google App Engine..................................................................................... 68 3.7 Communication Systems .................................................................................... 70 3.7.1 Wireless Communication ............................................................................ 70 3.7.2 Internet Communication Protocol ............................................................... 70 4 Project Hardware and Software Design Details ........................................................ 73 4.1 Initial Design Architectures and Related Diagrams ........................................... 73 4.2 Outdoor Tracking System .................................................................................. 74 4.2.1 GPS Module Specifications ........................................................................ 74 4.2.2 Power Supply Design .................................................................................. 75 4.2.3 Microcontroller MSP430G2553 ................................................................. 77 4.2.4 LCD Character Display............................................................................... 78 4.2.5 Software ...................................................................................................... 79 4.2.6 Base Station Interaction .............................................................................. 80 4.2.7 Schematic Design........................................................................................ 81 4.3 Indoor Tracking System ..................................................................................... 82 4.3.1 RFID Software and Hardware Design ........................................................ 82 4.3.2 Antenna ....................................................................................................... 83 4.3.3 RFID Part Selection .................................................................................... 85 4.3.4 Microcontroller Selection ........................................................................... 85 4.3.5 Interface ...................................................................................................... 86 4.3.6 Base Station Interaction .............................................................................. 91 4.3.7 Power .......................................................................................................... 92 4.4 Base Station ........................................................................................................ 93 4.4.1 Microcontroller ........................................................................................... 95 4.4.2 UART .......................................................................................................... 95 4.4.3 Software ...................................................................................................... 96 4.4.4 Hardware Components................................................................................ 96 4.4.5 Wireless Communication ............................................................................ 97 4.4.6 Schematic Design........................................................................................ 99 4.5 Internet Communication Protocol .................................................................... 101 4.6 Client Side Application .................................................................................... 102 4.6.1 Google App Engine................................................................................... 103 4.6.2 Android Application ................................................................................. 106 5 Design Summary of Hardware and Software .......................................................... 106 5.1 Outdoor Tracking System ................................................................................ 106 5.2 Indoor Tracking System ................................................................................... 107 5.3 Base Station ...................................................................................................... 109 5.3.1 Stellaris LM3S8962 Microcontroller ........................................................ 109 5.3.2 XBee Pro 900 ............................................................................................ 110 5.4 Google App Engine .......................................................................................... 110 5.4.1 Web Application – User Interaction ......................................................... 110 5.4.2 Database .................................................................................................... 110 6 Project Prototype Testing ........................................................................................ 110 6.1 Outdoor Tracking System Testing ................................................................... 111 6.2 Indoor Tracking System Testing ...................................................................... 112 6.3 Base Station Testing ......................................................................................... 113