Ad Hoc and Sensor Networks4/1 Ad Hoc and Sensor Networks Exercise 4 Sensor Network programming.

Slides:



Advertisements
Similar presentations
1chung 5 th Annual Robofest 2004 Informational Meeting Mar. 20, 2004 Chan Jin Chung Ali Khazaal Jason Lo Computer Science Lawrence Technological University.
Advertisements

TinyOS Tutorial, Part I Phil Levis et al. MobiSys 2003.
Junior Control Insight An introduction to the software – and the Deltronics Junior Serial Interface.
PowerPoint ® Presentation Chapter 7 LonWorks Network Programming LonWorks Network Programming Network Variable Bindings Device Commissioning.
CSCI 4800/6800 E. Kraemer 9/2/2009.  Apple iPhone SDK Apple iPhone SDK ◦ iPhone University Program iPhone University Program  if/when UGA legal signs.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
Lab7: Introduction to Arduino
Feb 2007WSN Training: First Steps in nesC Programming1 First Steps in TinyOS and nesC Programming Topics  Timer Application: MyApp  Application directory.
1 Lab 3 Objectives  Case study: “Hello world” program on motes  Write you first program on mote.
Problem Solving Lab – Part B
Chen-Hanson Ting SVFIG December 20, 2014
Steven Koelmeyer BDS(hons)1 Reconfigurable Hardware for use in Ad Hoc Sensor Networks Supervisors Charles Greif Nandita Bhattacharjee.
Synthesthesia: Test Plan and Experimental Validation Alan Gerber, Cem Onyuksel, Evan Tobac, James Forbes 1.
7/13/2007AIIT Summer Course - D#1 Wireless Embedded Systems and Networking Lab Day 5: Part 1: TinyOS Programming on Open Source Distribution Jaein Jeong.
Tutorial How to use sensors Reporter : Jensen Vinson.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Electrical and Computer Engineering How to Program with JTAG ECE 353 – Computer Systems lab I Mike O’Malley Tom Stack September 20 th 2005.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
2008EECS Embedded Network Programming nesC, TinyOS, Networking, Microcontrollers Jonathan Hui University of California, Berkeley.
Tutorial How to use sensors Reporter : Jensen Vinson.
1 © 2004, Cisco Systems, Inc. All rights reserved. Wireless Access Points (WAPs) or (APs)
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 5 WANs and Routers/ Introduction to Routers.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Wireless Sensor Networks CS 4501 Professor Jack Stankovic Department of Computer Science Fall 2010.
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
Project #2 Mobile Multiplayer Game: Tic-Tac-Toe Project #3 TinyOS Sensing Application EE194WIR Matt Magpayo
Computer System Laboratory
Technology for Teaching GTA Seminar Students will this account. Set a forwarding address at
Chapter 1: Introduction to Computers and Programming.
PC Maintenance: Preparing for A+ Certification Chapter 9: Working with the BIOS Setup Program.
High Speed Data Converter University
Ethernet and Wifi Chapter 7 & 8. Send and Receive Data network adapter or network interface NIC card the most common wired Ethernet network interfaces.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 1 WANs and Routers.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
IP Forwarding.
Wireless Sensor Networks MOTE-KITS TinyOS Crossbow UC Berkeley.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 2 Introduction to Routers.
CS 170 Java Programming Introduce myself Introduce the class Teaching style and requirements What you expect from me What I expect from you What you will.
LIGHT SENSOR GADGETEER PROJECT #2. Step #1 Create a new Gadgeteer project named: SensorGadgeteerApp Add A red power module (USBClientSP) A Light Sensor.
Simulation of Distributed Application and Protocols using TOSSIM Valliappan Annamalai.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Lab 2: TCP /IP communication Southern Methodist University Bryan Rodriguez.
Jim Ng 15/1/2014 CENG4480 TUTORIAL 1. ABOUT ME Current MPhil Student supervised by Prof. Mak You can find me at Rm116 in SHB
E0001 Computers in Engineering Communications and Networks.
Basic Input/Output System
Report of Internship Summer 2007 Boivineau Samuel Antonio Ruzzelli – Raja Jurdak Gregory O'Hare.
Architectures and Applications for Wireless Sensor Networks ( ) Sensor Network Programming and MoteLib Simulator Chaiporn Jaikaeo
Thermal Detecting Wireless Sensor Network
TinyOS By Valliappan Annamalai. Hardware Mica motes (Mica2 and Mica2Dot) Hardware –Radio –Microcontroller –Flash memory –ADC –Sensor Board (MTA310)
HANBACK ELECTRONICS CO., LTD. 저자권 보호됨 Lab1: LED Control ZigbeX mote has Red, Yellow, Green LED. This lab using LED control component provided by TinyOS.
Lesson 2 Component Overview Core Hardware Fundamentals.
Senior Project Poster Day 2006, CIS Dept. University of Pennsylvania One if by land… Yosef Weiner, David Charles Pollack Faculty Advisor: C.J. Taylor,
438 labs. Labs Lab 1: Refreshing C and Linux Programming 2 Lab 1: Refreshing C and Linux Programming 2 – First: Getting familiar with development.
LonWorks Introduction Hwayoung Chae.
PROJECT OVERVIEW GSM SECTION BLUE TOOTH SECTION SOFTWARE DEVELOPMENT CIRCUIT DEVELOPMENT LESSONS LEARNED AND CHALLENGES FACED.
ECE 544 Group Project : Routing KC Huang. Objective Application: message multicast. A message is sent from one sender to 1~3 recipients. Reach a protocol.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
Intro to the Atlas Platform Raja Bose Dr. Abdelsalam (Sumi) Helal January 23, 2007.
CCNA 2 v3.1 Module 2 Introduction to Routers
Lab 1: Using NIOS II processor for code execution on FPGA
Simulation of Distributed Application and Protocols using TOSSIM
Wireless Sensor Networks
Meng Cao, Xiangqing Sun, Ziyue Chen May 28th, 2014
CS190/295 Programming in Python for Life Sciences: Lecture 1
Intro to Micro Controllers
Software Setup & Validation
Presentation transcript:

Ad Hoc and Sensor Networks4/1 Ad Hoc and Sensor Networks Exercise 4 Sensor Network programming

Ad Hoc and Sensor Networks4/2 TinyOS exercise Sensor network programming in a nutshell –Read a tutorial –Solve two (simple) tasks on real hardware –Lab-style exercise –Teams of two to three students are ideal –Two parallel lab working places are available –Reservation system on the course website –Expected time needed for all tasks: 3-4 hours –Mandatory to get the testat without taking the exam

Ad Hoc and Sensor Networks4/3 Tutorial Carefully read the tutorial on the TinyOS website – –Ignore instructions about setting up the system, flashing applications, simulation, and data ROM access The tutorial contains several exercise tasks: Think about them but do not write code We use an Eclipse plug-in to develop the applications which is not mentioned in the tutorial

Ad Hoc and Sensor Networks4/4 Exercise 1 Exchange of a sensor reading –Two sensor nodes are used for this task –One node periodically samples its light sensor and broadcasts the reading over its radio –The other node listens for radio messages and signals if it is getting brighter or darker –Brighter -> The green LED of the receiver is set –Darker -> The red LED of the receiver is set –No significant change -> The yellow LED is set What exactly do we get from the sensor?

Ad Hoc and Sensor Networks4/5 Exercise 2 Optical Communication using Morse Codes –Sender –Sensor node connected to the pc over a serial connection –Controlled by a (provided) java application –LEDs are toggled on/off to transmit Morse signals –Receiver –Sensor node sampling its light sensor. Detects and decodes Morse signals –Connected to a pc over a serial connection. On the pc the Hyperterminal is used for output HyperterminalMorser.jar A SimpleBlinker MorseReceiver · – on off on

Ad Hoc and Sensor Networks4/6 Exercise 2 Optical Communication using Morse Codes –Sender –Sensor node connected to the pc over a serial connection –Controlled by a (provided) java application –LEDs are toggled on/off to transmit Morse signals –Receiver –Sensor node sampling its light sensor. Detects and decodes Morse signals –Connected to a pc over a serial connection. On the pc the Hyperterminal is used for output HyperterminalMorser.jar SimpleBlinker MorseReceiver on off off onon off A A A

Ad Hoc and Sensor Networks4/7 Exercise 2 Optical Communication using Morse Codes –Sender –Sensor node connected to the pc over a serial connection –Controlled by a (provided) java application –LEDs are toggled on/off to transmit Morse signals –Receiver –Sensor node sampling its light sensor. Detects and decodes Morse signals –Connected to a pc over a serial connection. On the pc the Hyperterminal is used for output HyperterminalMorser.jar SimpleBlinker MorseReceiver Ex 2

Ad Hoc and Sensor Networks4/8 General Information Code Skeletons for both applications are provided –Exercise 1 only needs very little additional programming and should be solved by all groups –Exercise 2 is more challenging but is also more fun Hint: Exercise 1 may contain helpful code fragments

Ad Hoc and Sensor Networks4/9 Setup The lab computers are preinstalled with all necessary tools and the exercise skeletons An Eclipse plug-in for TinyOS development is installed and configured. Check the following website for a quick start on how to use it:

Ad Hoc and Sensor Networks4/10 Compiling For all Exercise applications two compile commands are defined. –Target tinynode is used to compile the application. The compiler output is directed to the Eclipse console –tinynode install is used to compile and flash the application to a sensor node –A popup asks for a bsl number. This is the identifier of the serial port the sensor node is attached to. The identifier count starts at 0. Therefore COM1 == 0, COM2 == 1, COM3 == 2

Ad Hoc and Sensor Networks4/11 Final Remarks The lab is in the ETL building. Hardware and keys must be fetched in our office ETZ G64.1 If you get stuck come back to ETZ G64.1 and ask for help A FAQ page will be linked from the course website and updated regularly