51
Wireless Module and Application Supervisor: Dr. Phan Duy Hùng DIGISKY GROUP Thái Thanh Tùng Trần Xuân Đạt Nguyễn Bá Thuận Bùi Văn Thái Nguyễn Anh Quân Trần Hải Linh

Team members Thái Thanh Tùng Nguyễn Anh Quân Bùi V ă n Thái Trần Xuân Đạt Nguyễn Bá Thuận Trần Hải Linh

Embed Size (px)

Citation preview

  • Slide 1

Slide 2 Team members Thi Thanh Tng Nguyn Anh Qun Bi V n Thi Trn Xun t Nguyn B Thun Trn Hi Linh Slide 3 Contents Introduction Project Management Implementation Result & Future Plan Demonstration & QA Slide 4 Introduction The Idea Overview of GSM/GPRS and GPS Proposed System Slide 5 The Idea Slide 6 The Idea (contd) LED board controlling over GSM Network. GPS Tracking over GPRS Network Slide 7 Overview of GSM/GPRS and GPS Slide 8 Proposed System Slide 9 Project Management Member Roles Project Plans Development Process Slide 10 Member Roles NoFull nameRoleResponsibilities 1 Thi Thanh Tng Project Manager, Developer Managing, creating documents, coding, testing 2Trn Xun t Project Technical Leader, Developer Managing documents, coding, testing 3Bi Vn Thi Developer, Hardware Coding, hardware crafting, testing 4 Nguyn B Thun Developer, Quality Assurance Coding, creating Test Plan, test Case, testing 5 Nguyn Anh Qun Developer, designer Coding, testing 6Trn Hi LinhDeveloper, Designer Coding, testing Slide 11 Project Plans 09-May: Register Capstone Project 11-May: Project Plan Approved 23-May: SRS Document completed 07-June: System Design completed 22-July: Implementation completed 03-August: System Test completed Slide 12 Development Process Slide 13 Requirements Functional requirement Non- functional requirement Slide 14 Functional Requirements Controller Commander(PC & Mobile) GPS Receiver LED board Controlling Communicating with Server/Commander via GPRS. Create NewLed(Name, ID,Size) Input text(fontname, size, style), image Choose effect, speed. Preview LED content. Zoom Display device position on map Manage devices information Send SMSs. GPRS Server Forward GPS data from controllers to commanders. Authenticate clients (Commander/Controller). Slide 15 Non-functional Requirements Usability Reliability Stability Extensibility Maintainability Running Environment PC Commander & GPRS Server: Microsoft Windows XP/7, Microsoft.NET 2.0 or greater. Mobile Commander: Android 2.2 (Froyo). Slide 16 Implementation System Architecture Selection of Devices & Tools Detailed Implementation of System Components Slide 17 WMA System Architecture Slide 18 Selection of Devices MICROCHIP dsPIC30F4013 LED Module 16x32x2 SIMCOM SIM548C Slide 19 Selection of Tools Development Tools Designing & Visualizing Tool Hardware Designing Tool Source Code Control Tool Communicating Tools Slide 20 Implementation Controller Detailed Implementation Slide 21 Controller Block Diagrams LED Controller Slide 22 Controller LED board controlling principle Slide 23 Controller Block Diagrams GPS Controller Slide 24 Controller GPS data Receiver NMEA Interface Supported Sentences: GPVTG, GPGSA, GPGSV, GPRMC, GPGGA. Slide 25 Controller GPS data Receiver 2101.9114, N Latitude 21 Degrees 1.9114 minutes North 10547.0500, E Longitude 105 Degrees 47.05 minutes East Slide 26 Implementation PC Commander Detailed Implementation Architecture Design Detail design Database Design Slide 27 PC Commander Architecture Design GSMGPRS Database Overall architecture 3-Layer Architecture Slide 28 Database PC Commander Architecture Design : Component diagram Slide 29 PC Commander Detail design: Workflows Convert to string bytes Access Data Data Input Send Convert to Led Matrix data LED Control LED board GPS Database Save Value Object Functions Slide 30 PC Commander Detail design : Analysis Data S Bitmap Image Convert To Bytes SMS LED board Slide 31 PC Commander Database Design XML File 0 16 64 0 50 >m ;JT*@JkI$$9# ; 0; x0; Hello World Times New Roman|8|Regular|0|0|0|False|False|False Slide 32 Implementation Mobile Commander Detailed Implementation Slide 33 Mobile Commander Android Operating System Developed by Open Handset Alliance led by Google Linux kernel Open source Most current version used: Froyo 2.2 (55.9%) At June 2011, 550.000 android devices is activated every day. More than 100 million devices have been activated, on the 1st, about 48% of the smart phone market share. Slide 34 Mobile Commander Architecture Wireless Module Application SQLite Database SMS Receiver SMS Sender Google Map API Socket Slide 35 Mobile Commander SQLite Slide 36 Implementation GPRS Server Detailed Implementation Slide 37 Implementation Protocol Design Slide 38 Protocol Design Wireless Module Message Format 123456789101112 RTPWDDTEFSPDLEN 12345678 RTPWDCS 12345678910111213 RTOLDPWDNEWPWD 1234 RTDTLEN 12 RTRC Response Get Content(Response) Set Password Get Content Set Content RT: Request Type PWD: PasswordDT: DatatypeEF: Effect SPD: SpeedLEN: LengthCS: CheckSum Slide 39 Protocol Design Wireless Module Communication Protocol Pseudo-code of WMADATAHEADER Struct WMADATAHEADER { byte stx; (1 byte) byte command; (1 byte) short dataLength; (2 bytes) } Slide 40 Protocol Design(contd) Wireless Module Communication Protocol ValueMeaning 0x01Packets from GPRS Server 0x02Packets from GPS Client 0x03Packets from GSM Module ValueMeaning 0x10Version of sending application 0x11Request and Response for Password 0x12Request and Response for Phone number list 0x13Request for GPS data of specific devices 0x14GPS Data 0x15Phone Number Registration 0x00Acknowledgment 0x01Not Acknowledgment Command STX Slide 41 Protocol Design(contd) Wireless Module Communication Protocol Slide 42 Implementation Testing Slide 43 Testing model Slide 44 Test Result Slide 45 Results & Future Plans Achievements Limitations Future Plans Slide 46 Achievements Hardware Slide 47 Achievements Software Slide 48 Limitations Depends on GSM Network. GPS only works outdoor Platform-dependant application Slide 49 Future Plans Develop commander on Web Application Framework. Develop Applications using 3G, WIFI, RF. Box the circuit board into completed packet. Slide 50 Lessons Learnt Project management Working group Communication Slide 51 Demonstration & QA