a simple sensor network simulation using tiny os by jonghoon kim & rajesh sankaran ee & csc,...

7

Click here to load reader

Upload: dora-lewis

Post on 18-Jan-2018

214 views

Category:

Documents


0 download

DESCRIPTION

Tiny OS and TinyViz on Windows. Simple, Easy, Stable and It Works ! Go to, from there go to, Now, fill out the form and download and install. Please Install the above with Admin Privileges only. Else the Install will finally abort leaving a cruft behind.

TRANSCRIPT

Page 1: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

A simple sensor network A simple sensor network simulation using Tiny OSsimulation using Tiny OS

By Jonghoon Kim & Rajesh Sankaran

EE & CSC, Louisiana State University, June 21st , 2007

Page 2: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

Tiny OS:Tiny OS:What is TinyOS? TinyOS is an event based operating environment

designed for use with embedded networked sensors. More specifically, it is designed to support the concurrency intensive operations required by networked sensors with minimal hardware requirements.

How hard is TinyOS to learn?The concurrency concept requires some effort to get used to but it's essentially C. Proficiency and/or experience with GNU development tools is a plus, but not mandatory.

From: http://www.tinyos.net/faq.html#SEC-16

Page 3: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

Tiny OS and TinyViz on Tiny OS and TinyViz on Windows.Windows.Simple , Easy , Stable and It Works !

Go to ,

http://tinyos.net/windows-1_1_0.html

from there go to,

http://webs.cs.berkeley.edu/users/users.php?download=1

Now , fill out the form and download and install.

Please Install the above with Admin Privileges only. Else the Install will finally abort leaving a cruft behind.

Page 4: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

Now the Simulation:Now the Simulation: Simulates a bunch of motes that cluster together and

modify a bunch of files in a distributed way. Implemented :

◦ Clustering and Leader Election◦ Time Synchronization.◦ Distributed File servers◦ File Distribution , Mutual Exclusion

Energy Penalty for sending receiving and staying idle. – to be close to real world.

Network Time Server and percolation of time into the network.

Some Features Some Features Implemented:Implemented:

Page 5: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

Every node gets a energy penalty of 10 units for send , 5 Units for receive and 1 unit for Idle.

Every Node starts as a newbie and makes 10 attempts to reach a cluster head.

Any Cluster cannot have less that 2 client Nodes and a node cannot join a cluster whose rank is greater or less that itself by 5.

When a file request which is very old its dropped . ( about 10 counts ). Simple rollback .

Rules of the game:Rules of the game:

Page 6: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

How it all looks :How it all looks :

Page 7: A simple sensor network simulation using Tiny OS By Jonghoon Kim & Rajesh Sankaran EE & CSC, Louisiana State University, June 21 st, 2007

Lets see the Demo ….Lets see the Demo ….