Project - PowerPoint PPT Presentation

About This Presentation
Title:

Project

Description:

Project #2. Mobile Multiplayer Game: Tic-Tac-Toe. Project #3. TinyOS Sensing Application ... periodically takes light readings and sends a group of readings ... – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 15
Provided by: Aptly
Learn more at: http://www.ece.tufts.edu
Category:

less

Transcript and Presenter's Notes

Title: Project


1
Project 2Mobile Multiplayer Game
Tic-Tac-ToeProject 3TinyOS Sensing Application
  • EE194WIR
  • Matt Magpayo
  • Matthew.magpayo_at_tufts.edu

2
Project2 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
Project3 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.
  • EtcTree 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_at_localhost port0
  • 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?
Write a Comment
User Comments (0)
About PowerShow.com