210 likes | 299 Views
SENIOR TRACKING SYSTEM. TEAM MEMBERS: RYAN LUDWIG PROJECT ADVISORS: DR. BRIAN HUGGINS DR. IN SOO AHN DR. OLEK MALINOWSKI. ABSTRACT.
E N D
SENIOR TRACKING SYSTEM TEAM MEMBERS: RYAN LUDWIG PROJECT ADVISORS: DR. BRIAN HUGGINS DR. IN SOO AHN DR. OLEK MALINOWSKI
ABSTRACT • Using GPS technology along with Personal Digital Assistants (PDA) , tracking a "wild" senior will be possible on Bradley University's campus. Once a GPS position is obtained, the system will dial to a computer via phone line to download data for future use.
BLOCK DIAGRAM GPS SATTELITES GPS MODULE PDA WIRELESS LINK USER PC
PROJECT IMPLEMENTATION • 2 Approaches • Intel 8051 Microprocessor (EMAC Board) • Tracey and Allison • Handspring Visor Neo Handheld Organizer • Ryan
DISCUSSION ON PDA APPROACH • Why a PDA? • Implementation • PalmOS libraries • Code • Shortcomings • Progress • Schedule of Project • Handheld Output Screens
PDA APPROACH • New Technology • Accessories • Size • Programmability
IN THEORY….. • Timer • Magellan GPS Tracking Module • Latitude / Longitude Position • Serial Port • Mobile Phone • Main Computer
TESTING PHASES • Data Entry Enter Text and Redisplay • Serial Port Access Open and Close Serial Port Send Out Entered Data (Alert Boxes) • Hyperterminal Data Transmission • Use Modems To Transfer Data Between PDA and Main Computer • Store Incoming Data To Memory • Access Memory For Tracking Location
PDA IMPLEMENTATION • Code Warrior • PalmOS Constructor • Emulator • HotSync Cradle • Handheld Device
PalmOS Programming • C / C++ Structure • “Case” and “If” Statements • Interrupts • Handlers • Event, Application, Menu • PalmOS Library Functions and Codes • SrmSend() , SrmOpen() , SysTaskDelay() • TimGetSeconds(), • sysAppLaunchCmdNormalLaunch
SAMPLE CODE Boolean OpenSerial () { Err error = false; error = SrmOpen(serPortCradlePort, 9600, &gPortID); if(error == serErrAlreadyOpen) FrmAlert(SerialAlreadyOpenAlert); else if(error == serErrBadPort) FrmCustomAlert(TestAlert,"Bad Port"," ", " "); else if(error == memErrNotEnoughSpace) FrmCustomAlert(TestAlert, "Not Enough Space in Memory", " ", " "); else FrmAlert(SerialOpenAlert); return (true); }
ENTERING DATA INTO PDA • Field Selection • Graffiti or Keyboard Entry • Data Entry Error Checking • Storing Field Text To Memory
ACCESSING THE SERIAL PORT • 3 Ports To Use • Cradle Port • HotSync Port • IR Port • SrmOpen() • Errors?? • Battery Life
HAYES 1200 SMARTMODEM • Modem Commands • Reset Modem Status “ATZ” • Numerical Results “ATV0” • Echo Off “ATE0” • Number To Dial “ATDT2854” • Disconnect “ATH0”
HARDWIRE TRANSMISSION TRANSMITTING MODEM HANDHELD DEVICE HOTSYNC CRADLE Phone Line MAIN COMPUTER RECEIVING MODEM
PROGRESS • TrackMe Project ( 20 pages of code = 10K) • Forms, Alerts And Movement • Data Entry From A User • Memory Access • Serial Port Access (Cradle Port) • Data Transmission using Hyperterminal • Modem Dialing • Hardwire Data Transmission
PROBLEMS • GPS Software Access … ZIP!!!!!!! • Wireless Transmission • Storage Code For Main Computer