250 likes | 414 Vues
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
E N D
Testing and Verifiationof Kmoteusing 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 MSP430 Crystal 16MHz ST flash RS232 Trans-reciever
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
Radio Component Send and Receive Packet Example
Radio Component Serial Component Send and Receive Packet Example
Radio Component Serial Component Send and Receive Packet Sense Data And send it Either on radio or serial Sensor Example
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??
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