Testing and Verifiation of Kmote using Tiny OS
description
Transcript of Testing and Verifiation of Kmote using Tiny OS
Testing and Verifiationof Kmote
using Tiny OS
Manish AggarwalGuide :- Proff Purushottam K
Kmote board: Front view
ADC lines SerialExpansionLine
LCD Interface JTAG
PowerConnector
CC2420Radio
User andReset button
LEDs
Kmote board: back view
ST flash
RS232Trans-reciever
MicroControllerMSP430
Crystal16MHz
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)
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
Project Details To test the peripherals attached with the
board like :-• Radio• Serial• External Flash• ADC (Sensors connectivity)• LCD interface
Agenda Software Support Experiments performed Demo Conclusion Future work
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
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
Tiny OS programming
Example
RadioComponent
Send and Receive Packet
Example
RadioComponent
Send and Receive Packet
SerialComponent
Example
RadioComponent
Send and Receive Packet
SerialComponent
Sense Data
And send it Either on radio
or serial
Sensor
Experiments Performed BlinkTORadio BaseStation (Radio to serial) Block BlinkConfig TestAdc SenseToSerial SenseToRadio
Conclusion/Observations The following peripherals was tested
successfully:-• LEDs• Radio• Serial• External Flash• ADC Lines
ADC0 and ADC2 are interchanged
Future Work LCD interface to be tested Implement a sensor network protocol on
the mote to have a greater confidence
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
Thank you Demo Any Questions??
Tmote: Front
Tmote: Back
Difference between kmote and tmote LCD Interface Onboard sensor Transreceiver
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
Power Consumption