310 likes | 698 Views
Tmote Sky. Doug Schultz for FWLUG (Fort Wayne Linux Users Group). What is a Tmote ?. Reliable low-power wireless sensor. Moteiv http://www.moteiv.com/ Moteiv is a venture-funded company that provides wireless sensor networking solutions to enterprises worldwide.
E N D
Tmote Sky Doug Schultz for FWLUG (Fort Wayne Linux Users Group)
What is a Tmote ? • Reliable low-power wireless sensor. Moteiv http://www.moteiv.com/ • Moteiv is a venture-funded company that provides wireless sensor networking solutions to enterprises worldwide. • Moteiv's founding team has several decades of collective experience leading the implementation of the world's largest wireless sensor network deployments from UC Berkeley.
Different motes for different folks! • Tmote Sky • Tmote Invent • Tmote Connect
Different Tmotes • Tmote Sky • Widely proven platform for wireless sensor systems deployments. Tmote Sky is the wireless sensor module of choice for large-scale, high data-rate sensor network applications requiring ultra low-power, high-reliability and ease of development. • Tmote Sky offers a number of integrated peripherals including a 12-bit ADC and DAC, Timer, I2C, SPI, and UART bus protocols, and a performance boosting DMA controller.
Different Tmotes • Tmote Invent • Wireless sensing unit. • Pre-integrated on-board sensors. • Light, temperature, vibration (2-axis accelerometer) and sound (microphone). • Tmote Invent includes a speaker for auditory feedback, headphone jack for discrete applications, and LEDs for visual feedback.
Different Tmotes • Tmote Connect: • Wireless gateway appliance: • Connecting Tmote wireless sensor modules to a wired local area network. • Software eases connection to existing Internet infrastructure. • Linksys NSLU2 hardware.
Tmote SkyKey Features: • 250kbps 2.4GHz IEEE 802.15.4 Chipcon Wireless Transceiver • Interoperability with other IEEE 802.15.4 devices • 8MHz Texas Instruments MSP430 microcontroller (10k RAM, 48k Flash) • Integrated ADC, DAC, Supply Voltage Supervisor, and DMA Controller • Integrated onboard antenna with 50m range indoors / 125m range outdoors • Optional Integrated Humidity, Temperature, and Light sensors • Ultra low current consumption
Tmote SkyKey Features: • Fast wakeup from sleep (<6us) • Hardware link-layer encryption and authentication • Programming and data collection via USB • 16-pin expansion support and optional SMA antenna connector • TinyOS support : mesh networking and communication implementation • FCC modular certification : conforms to all US and Canada regulations
Installation Windows: • Windows: • Simple Dos commands. • Uses Cygwin. • Motelist • Lists connected Tmote’s. • To compile an application: • cd / opt / moteiv / apps / Delta • make tmote • To program a Tmote: • make tmote reinstall,1 • 1 sets the network address of the module.
Installation Linux: • Linux: • http://www.moteiv.com/community/Tmote_Linux_install • Installing TinyOS on Fedora Core 2 • http://www.owlnet.rice.edu/~tm/tinyos/telos-linux.pdf • by Tom Mowad • Installing TinyOS on Debian • (http://www.comnets.uni-bremen.de/typo3site/index.php?id=48) • by Markus Becker • Installing TinyOS on Red Hat 9 • (http://www.crhc.uiuc.edu/~mjmille2/howtos/installing-tinyos-for-telos-on-linux/) by Matt Miller • Installing TinyOS on Ubuntu • (http://www.5secondfuse.com/tinyos/install.html) by Chad Metcalf
Trawler Application: MOTECOM=serial@COM4:tmote java com.moteiv.trawler.Trawler
TinyOS • TinyOS system, libraries, and applications are written in nesC. • nesC applications are built out of : • Components with well-defined, bidirectional interfaces. • nesC concurrency model: • tasks and hardware event handlers • detects data races at compile time.
Blink Application: • Blink.nc configuration Blink {}implementation { components Main, BlinkM, SingleTimer, LedsC; Main.StdControl -> BlinkM.StdControl; Main.StdControl -> SingleTimer.StdControl; BlinkM.Timer -> SingleTimer.Timer; BlinkM.Leds -> LedsC;}
Blink Application: • BlinkM.nc module BlinkM { provides { interface StdControl; } uses { interface Timer; interface Leds; }}
Blink Application: • implementation { command result_t StdControl.init() { call Leds.init(); return SUCCESS; } command result_t StdControl.start() { return call Timer.start(TIMER_REPEAT, 1000) ; } command result_t StdControl.stop() { return call Timer.stop(); } event result_t Timer.fired() { call Leds.redToggle(); return SUCCESS; }}
nesC Documentation: Component: Blink2 configuration Blink2 Blink2 is a basic application that toggles the LEDs on the mote on every clock interrupt. The clock interrupt is scheduled to occur every second. The initialization of the clock can be seen in the Blink2 initialization function, StdControl.start(). Author: tinyos-help@millennium.berkeley.edu Modified by Douglas Schultz for ECET 581
nesC Documentation: • Wiring Diagram:
nesC Documentation: Component: BlinkM2 module BlinkM2 Implementation for Blink2 application. Toggle the red and blue LED's when a Timer fires. Modified by Douglas Schultz 11/05/06 ECET 581 Note: yellowToggle actually powers blue LED. Provides interface StdControl Uses interface Leds interface Timer
Where I learned about Tmotes: Paul I - Hai Lin, Professor Email: lin@ipfw.edu Phone: 260-481-6339 ECET 581/CS 590 CPET/ECET 499 Wireless Sensor Network Systems and Applications Fall 2006
A Line in the Sand • Wireless Sensor Network for: • Target Detection • Classification • Tracking • From: CS 263 • Wireless Communications and Sensor Networks • DIVISION OF ENGINEERING AND APPLIED SCIENCESHARVARD UNIVERSITY
A Line in the Sand • Institutions: • Ohio State University1 • University of Texas at Austin2 • University of Iowa3 • Michigan State University4 • Kent State University5
A Line in the Sand • System Architecture:
A Line in the Sand • System Architecture : • Network nodes: • Mica2 Mote • Sensor boards • Mica Sensor board • Advantaca TWR-ISM-002 radar motion sensor • Mica Power Board was developed • Dual Boost regulators to power the radar board.
A Line in the Sand • Packaging : • Smooth to minimize wind resistance • Clear for solar cell • Watertight o-ring seals • Electronics gimbal mounted • Co-planar with ground
A Line in the Sand • Visualization :