1 / 51

Wireless Module and Application

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.

august
Download Presentation

Wireless Module and Application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. Team members NguyễnAnhQuân TrầnXuânĐạt TrầnHảiLinh BùiVănThái NguyễnBáThuận TháiThanhTùng

  3. Contents • Introduction • Project Management • Implementation • Result & Future Plan • Demonstration & QA

  4. Introduction The Idea Overview of GSM/GPRS and GPS Proposed System

  5. The Idea

  6. The Idea (cont’d) • LED board controlling over • GSM Network. • GPS Tracking over GPRS Network

  7. Overview of GSM/GPRS and GPS

  8. Proposed System

  9. Project Management Member Roles Project Plans Development Process

  10. Member Roles

  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

  12. Development Process

  13. Requirements Functional requirement Non- functional requirement

  14. 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.

  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).

  16. Implementation System Architecture Selection of Devices & Tools Detailed Implementation of System Components

  17. WMA System Architecture

  18. Selection of Devices SIMCOM SIM548C MICROCHIP dsPIC30F4013 LED Module 16x32x2

  19. Selection of Tools • Development Tools • Designing & Visualizing Tool • Hardware Designing Tool • Source Code Control Tool • Communicating Tools

  20. Implementation Detailed Implementation Controller

  21. Controller Block Diagrams LED Controller

  22. ControllerLED board controlling principle

  23. Controller Block Diagrams GPS Controller

  24. ControllerGPS data Receiver • NMEA Interface • Supported Sentences: GPVTG, GPGSA, GPGSV, GPRMC, GPGGA.

  25. ControllerGPS data Receiver • 2101.9114, N • Latitude 21 Degrees 1.9114 minutes North • 10547.0500, E • Longitude 105 Degrees 47.05 minutes East

  26. Implementation Detailed Implementation PC Commander Architecture Design Detail design Database Design

  27. PC Commander Architecture Design GPRS GSM Database 3-Layer Architecture Overall architecture

  28. PC Commander Architecture Design : Component diagram Database

  29. 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

  30. PC Commander Detail design : Analysis Data S Bitmap Image Convert To Bytes SMS LED board

  31. 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>&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&gt;Û&#x1F;m€&#x0;&#x0;&#x0;JT¥*@&#x0;&#x0;&#x0;J×¥kÀ&#x0;&#x0;&#x0;I$$’&#x0;&#x0;&#x0;&#x0;9#œ‘À&#x0;&#x0;&#x0;&#x8;&#x0;&#x4;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0 </StringBytes> <Text>Hello World</Text> <Format>Times New Roman|8|Regular|0|0|0|False|False|False</Format> </Led>

  32. Implementation Detailed Implementation Mobile Commander

  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.

  34. Mobile CommanderArchitecture SMS Sender SMS Receiver Google Map API Wireless Module Application SQLite Database Socket

  35. Mobile CommanderSQLite

  36. Implementation Detailed Implementation GPRS Server

  37. Implementation Protocol Design

  38. 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

  39. Protocol DesignWireless Module Communication Protocol Pseudo-code of WMADATAHEADER StructWMADATAHEADER { byte stx; (1 byte) byte command; (1 byte) short dataLength; (2 bytes) }

  40. Protocol Design(cont’d)Wireless Module Communication Protocol STX Command

  41. Protocol Design(cont’d)Wireless Module Communication Protocol

  42. Implementation Testing

  43. Testing model

  44. Test Result

  45. Results & Future Plans Achievements Limitations Future Plans

  46. AchievementsHardware

  47. AchievementsSoftware

  48. Limitations • Depends on GSM Network. • GPS only works outdoor • Platform-dependant application

  49. Future Plans • Develop commander on Web Application Framework. • Develop Applications using 3G, WIFI, RF. • Box the circuit board into completed packet.

  50. Lessons Learnt • Project management • Working group • Communication

More Related