Testing and Verifiation of Kmote using Tiny OS

24
Testing and Verifiation of Kmote using Tiny OS Manish Aggarwal Guide :- Proff Purushottam K

description

Testing and Verifiation of Kmote using Tiny OS. Manish Aggarwal Guide :- Proff Purushottam K. Kmote board: Front view. LCD Interface. JTAG. Power Connector. CC2420 Radio. User and Reset button. LEDs. Expansion Line. ADC lines. Serial. Kmote board: back view. MicroController - PowerPoint PPT Presentation

Transcript of Testing and Verifiation of Kmote using Tiny OS

Page 1: Testing and Verifiation of Kmote using Tiny OS

Testing and Verifiationof Kmote

using Tiny OS

Manish AggarwalGuide :- Proff Purushottam K

Page 2: Testing and Verifiation of Kmote using Tiny OS

Kmote board: Front view

ADC lines SerialExpansionLine

LCD Interface JTAG

PowerConnector

CC2420Radio

User andReset button

LEDs

Page 3: Testing and Verifiation of Kmote using Tiny OS

Kmote board: back view

ST flash

RS232Trans-reciever

MicroControllerMSP430

Crystal16MHz

Page 4: Testing and Verifiation of Kmote using Tiny OS

Platform Details (Hardware) Micro-Controller (MSP430) Radio (CC2420) Flash (STM25P80) RS232 Trans-receiver (MAX3380) 16MHz crystal for radio LEDs LCD interface (useful for debugging) JTAG (to download the program) ADC Lines (to attach sensors)

Page 5: Testing and Verifiation of Kmote using Tiny OS

Motivation Number of motes available. Not easily available and expensive for

research and teaching purpose in India. Goal:

• To build knowledge base in sensor mote.• Aid easy availability in India.• Develop India specific applications.• To design a low cost, low power platform

Page 6: Testing and Verifiation of Kmote using Tiny OS

Project Details To test the peripherals attached with the

board like :-• Radio• Serial• External Flash• ADC (Sensors connectivity)• LCD interface

Page 7: Testing and Verifiation of Kmote using Tiny OS

Agenda Software Support Experiments performed Demo Conclusion Future work

Page 8: Testing and Verifiation of Kmote using Tiny OS

Software support Independent Programs (IAR workbench) Use some existing OS

• Tiny OS• SOS

Preferred approach• Use Tiny OS

• Supports its close counterpart (Tmote)• Easy configurability• Good Documentation

Page 9: Testing and Verifiation of Kmote using Tiny OS

Tiny OS Open source Event driven architecture Uses Components, Interfaces and wiring

concept Small memory footprint Efficient in power and computation Supports diverse application design

Page 10: Testing and Verifiation of Kmote using Tiny OS

Tiny OS programming

Page 11: Testing and Verifiation of Kmote using Tiny OS

Example

RadioComponent

Send and Receive Packet

Page 12: Testing and Verifiation of Kmote using Tiny OS

Example

RadioComponent

Send and Receive Packet

SerialComponent

Page 13: Testing and Verifiation of Kmote using Tiny OS

Example

RadioComponent

Send and Receive Packet

SerialComponent

Sense Data

And send it Either on radio

or serial

Sensor

Page 14: Testing and Verifiation of Kmote using Tiny OS

Experiments Performed BlinkTORadio BaseStation (Radio to serial) Block BlinkConfig TestAdc SenseToSerial SenseToRadio

Page 15: Testing and Verifiation of Kmote using Tiny OS

Conclusion/Observations The following peripherals was tested

successfully:-• LEDs• Radio• Serial• External Flash• ADC Lines

ADC0 and ADC2 are interchanged

Page 16: Testing and Verifiation of Kmote using Tiny OS

Future Work LCD interface to be tested Implement a sensor network protocol on

the mote to have a greater confidence

Page 17: Testing and Verifiation of Kmote using Tiny OS

References KMote - Design and Implementation of a Low Cost, Low

Power Hardware Platform for Wireless Sensor Networks. Mtech thesis Report, N. Madabhushi

Tutorial on TinyOS2.0 from www.tinyos.net Gay, D., Levis, P., and Culler, D. 2005. Software design

patterns for TinyOS. In Proceedings of the 2005 ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools For Embedded Systems

TinyOS Programming by Philip Levis DataSheet, MSP430 TinyOS Tutorial: Jeremy Gummeson, Sensors Lab,

UMass-Amherst

Page 18: Testing and Verifiation of Kmote using Tiny OS

Thank you Demo Any Questions??

Page 19: Testing and Verifiation of Kmote using Tiny OS

Tmote: Front

Page 20: Testing and Verifiation of Kmote using Tiny OS

Tmote: Back

Page 21: Testing and Verifiation of Kmote using Tiny OS

Difference between kmote and tmote LCD Interface Onboard sensor Transreceiver

Page 22: Testing and Verifiation of Kmote using Tiny OS

Problems Faced Make the platform work (Linux and

windows) Understanding Tiny OS Downloading the program Dump message packets to serial Attach pot to check ADC

Page 23: Testing and Verifiation of Kmote using Tiny OS

Power Consumption

Page 24: Testing and Verifiation of Kmote using Tiny OS