510 likes | 724 Views
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. Nguyễn Anh Quân. Trần Xuân Đạt. Trần Hải Linh. Bùi Văn Thái. Nguyễn Bá Thuận. Thái Thanh Tùng.
E N D
Wireless Module and Application Supervisor: Dr. PhanDuyHùng DIGISKY GROUP TháiThanhTùng TrầnXuânĐạt NguyễnBáThuận BùiVănThái NguyễnAnhQuân TrầnHảiLinh
Team members NguyễnAnhQuân TrầnXuânĐạt TrầnHảiLinh BùiVănThái NguyễnBáThuận TháiThanhTùng
Contents • Introduction • Project Management • Implementation • Result & Future Plan • Demonstration & QA
Introduction The Idea Overview of GSM/GPRS and GPS Proposed System
The Idea (cont’d) • LED board controlling over • GSM Network. • GPS Tracking over GPRS Network
Project Management Member Roles Project Plans Development Process
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
Requirements Functional requirement Non- functional requirement
Functional Requirements GPRS Server Controller Commander(PC & Mobile) • Forward GPS data from controllers to commanders. • Authenticate clients (Commander/Controller). • 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.
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).
Implementation System Architecture Selection of Devices & Tools Detailed Implementation of System Components
Selection of Devices SIMCOM SIM548C MICROCHIP dsPIC30F4013 LED Module 16x32x2
Selection of Tools • Development Tools • Designing & Visualizing Tool • Hardware Designing Tool • Source Code Control Tool • Communicating Tools
Implementation Detailed Implementation Controller
Controller Block Diagrams LED Controller
Controller Block Diagrams GPS Controller
ControllerGPS data Receiver • NMEA Interface • Supported Sentences: GPVTG, GPGSA, GPGSV, GPRMC, GPGGA.
ControllerGPS data Receiver • 2101.9114, N • Latitude 21 Degrees 1.9114 minutes North • 10547.0500, E • Longitude 105 Degrees 47.05 minutes East
Implementation Detailed Implementation PC Commander Architecture Design Detail design Database Design
PC Commander Architecture Design GPRS GSM Database 3-Layer Architecture Overall architecture
PC Commander Architecture Design : Component diagram Database
PC Commander Detail design: Workflows LED Control LED board Functions Data Input Send Value Object Convert to Led Matrix data GPS Convert to string bytes Save Access Data Database
PC Commander Detail design : Analysis Data S Bitmap Image Convert To Bytes SMS LED board
PC CommanderDatabase Design • XML File <Led ID=“841228323599" Name="Led 1"> <DataType>0</DataType> <Height>16</Height> <Width>64</Width> <EffectID>0</EffectID> <Speed>50</Speed> <StringBytes>��������>Ûm���JT¥*@���J×¥kÀ���I$$����9#À���������������������������������������������� </StringBytes> <Text>Hello World</Text> <Format>Times New Roman|8|Regular|0|0|0|False|False|False</Format> </Led>
Implementation Detailed Implementation Mobile Commander
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.
Mobile CommanderArchitecture SMS Sender SMS Receiver Google Map API Wireless Module Application SQLite Database Socket
Implementation Detailed Implementation GPRS Server
Implementation Protocol Design
Protocol DesignWireless Module Message Format Set Content Get Content Set Password Get Content(Response) Response RT: Request Type PWD: Password DT: DatatypeEF: Effect SPD: Speed LEN: Length CS: CheckSum
Protocol DesignWireless Module Communication Protocol Pseudo-code of WMADATAHEADER StructWMADATAHEADER { byte stx; (1 byte) byte command; (1 byte) short dataLength; (2 bytes) }
Protocol Design(cont’d)Wireless Module Communication Protocol STX Command
Protocol Design(cont’d)Wireless Module Communication Protocol
Implementation Testing
Results & Future Plans Achievements Limitations Future Plans
Limitations • Depends on GSM Network. • GPS only works outdoor • Platform-dependant application
Future Plans • Develop commander on Web Application Framework. • Develop Applications using 3G, WIFI, RF. • Box the circuit board into completed packet.
Lessons Learnt • Project management • Working group • Communication