1 / 14

Project #2 Mobile Multiplayer Game: Tic-Tac-Toe Project #3 TinyOS Sensing Application

Project #2 Mobile Multiplayer Game: Tic-Tac-Toe Project #3 TinyOS Sensing Application. EE194WIR Matt Magpayo Matthew.magpayo@tufts.edu. Project#2 Mobile Tic-Tac-Toe. Language: Java Emulator: Nokia S60 prototype emulator Multiple instances Nokia Connectivity Framework

ulfah
Download Presentation

Project #2 Mobile Multiplayer Game: Tic-Tac-Toe Project #3 TinyOS Sensing 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. Project #2Mobile Multiplayer Game: Tic-Tac-ToeProject #3TinyOS Sensing Application EE194WIR Matt Magpayo Matthew.magpayo@tufts.edu

  2. Project#2 Mobile Tic-Tac-Toe • Language: Java • Emulator: Nokia S60 prototype emulator • Multiple instances • Nokia Connectivity Framework • Short Message Service (SMS) communication

  3. Implementation • Midlet format • Game loop • SMS Messagehandler

  4. Screenshots

  5. Screenshots (cont.)

  6. Screenshots (cont.)

  7. Project#3 TinyOS Sensing Application • Application: Light/Temperature Sensing • Language = NesC • Testing: TOSSIM • GUI: TinyViz, GraphViz

  8. Implementation • Sensor nodes and 1 Base Station • Sensor node • periodically takes light readings and sends a group of readings over radio to base station • Base Station • Forwards packets through serial port to PC • Led Module used • yellow LED is toggled when new packet sent • red LED is on when the light sensor reading is above some constant value (0x0300 or 768)

  9. Routing Scheme • Base Station simply broadcasts a beacon packet. • Those who hear it • Set one hop neighbor as base station. • Broadcast beacon packet. • Those who hear that • Add to list of all neighbors who have path to base station • Broadcast beacon packet. • Etc…Tree network topology is created. • When routing, node forwards data to random neighbor out the its list.

  10. Simulation • TOSSIM/TinyViz TinyOS simulator • Normally allows simulation of only ONE type of application. • Fix: Make code dependant upon the local address of node. • IF TOS_LOCAL_ADDRESS = 0 , use base station code • ELSE use sensor code • SerialFowarder • Connects to TOSSIM • MOTECOM address = tossim-serial@localhost port:0 • Listens to Node 0 (base station) • Oscilloscope GUI • Extracts/Displays data received from SerialFowarder packets. • Allows graphing of multiple node data.

  11. TinyViz • Node 0 as base station. • “ADC Readings” Plug-in used to preset light data for testing. • Used Values 0-700

  12. Serial Forwarder • Read packets sent from Base Station (node 0)

  13. Oscilloscope GUI • Preset Values • All motes seen using channel 1 • Possibility to add more data channels (ex. temp)

  14. Questions?

More Related