Example Distributed Sensor Network with TinyOS Motes - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Example Distributed Sensor Network with TinyOS Motes

Description:

Example Distributed Sensor Network with TinyOS Motes. RPI ECSE 6965/4694. Daniel Casner ... On the Motes. Odd node i. Send current estimate to random odd ... – PowerPoint PPT presentation

Number of Views:82
Avg rating:3.0/5.0
Slides: 19
Provided by: danielt
Category:

less

Transcript and Presenter's Notes

Title: Example Distributed Sensor Network with TinyOS Motes


1
Example Distributed Sensor Network with TinyOS
Motes
  • RPI ECSE 6965/4694
  • Daniel Casner
  • 2007 April 13th

2
Outline
  • Hardware
  • Applications
  • Implementation (software)

3
Hardware
4
Hardware
  • Processing
  • ATmega128L
  • 7MHz
  • 64Kb RAM
  • Radio
  • 900 MHz
  • 38.4 Kbps
  • Storage
  • Program 128Kb flash
  • Data 512Kb flash
  • Sensors (10 bit ADC)
  • Magnetometer (x,y)
  • Microphone
  • Photo
  • Seismic
  • Temperature
  • Actuators
  • Piezoelectric buzzer

5
Applications
  • Temperature Estimation
  • Measure local temperature
  • Repeatedly average with neighbors
  • Converges to global average
  • Event Notification
  • Detect an event
  • Notify whole network

6
Initializing the Network
No
Broadcast existence
Is new?
Wait to hear from neighbors
Power On
Hear from neighbor
Yes
Periodically rebroadcast our existence
Store neighbor information
7
Source Code
8
Distributed averaging algorithm
  • Take a number
  • Pick a random person
  • Average your two numbers
  • Both of you store the new number
  • It should be between 1 and 100
  • Go to step 2 and repeat
  • When you see the same number several times in a
    row, sit down.

9
On the Motes
Measure local temperature
Measure local temperature
Receive message
Send current estimate to random odd neighbor
Is busy?
Receive message
No
Yes
Message type
Average with local estimate
Send NACK
Returned estimate
NACK
Update local estimate
Send update
10
Deadlock
1
4
2
3
Now what?
11
With Even/Odd Roles
1
4
2
3
12
Source Code
13
Multi-hop event routing
At each node
Network initialization (identify all neighbors)
Node j
Initialize sensors
Detect event
Receive event notification from neighbor
Send event notification to all neighbors k ? j ? i
14
Source Code
15
References
  • Source code on LMS
  • TinyOS www.tinyos.net
  • Download
  • Tutorials
  • Examples
  • Crossbow www.xbow.com
  • Mica2 Motes
  • UC Berkeley webs.cs.berkeley.edu
  • Original TinyOS and Mote development

16
(No Transcript)
17
Mica2 Specifications
18
Demonstrations
Write a Comment
User Comments (0)
About PowerShow.com