Getting Started Telos-Based WSN Mote With TinyOS 2.1.1 and Ubuntu 10.10

by Agus Kurniawan 13. February 2011 19:53

In this article I’m going to share how to get started on Telos-based WSN motes with TinyOS 2.1.1 and Ubuntu 10.10. Before starting, please make sure you installed TinyOS on Ubuntu 10.10. If you aren’t install yet please read my article [V].

Hardware Configuration

For testing, I used Kmote (Telos based) as WSN mote. You can see this hardware below

kmote

Now connect your Kmote on computer via USB, for a sample look at this picture below

kmote2

Compile and Run

After Kmote connected on your computer, now we try to check that our mote was listened or not. Try to use this command

motelist

motelist

For a sample, my Kmote runs on /dev/ttyUSB0. For illustration, I used a TinyOS sample app i.e Blink for testing. Now change your current folder on /opt/tinyos-2.1.1/apps/Blink. Try to make Blink app

make telosb

Now deploy Blink app to our Kmote

make telosb reinstall bsl,/dev/ttyUSB0

compile

Now your Kmote runs Blink app. For a sample, look at this video (I captured for you)

Running Blink @Kmote

Clear Program From Kmote

To clear your program from Kmote, you can try to use tos-bsl

tos-bsl --telosb -c /dev/ttyUSB0 -e

clear_app_kmote

I hope this article is useful for you. Please rate this article.

Tags:

Linux | TinyOS

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading