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

by Agus Kurniawan 14. February 2011 10:31

In this article I’m going to share how to get started on Iris-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]. For Telos-based WSN motes, please read this my article [V].

Hardware Configuration

For testing, I used Iris as WSN mote. Look this WSN hardware model

crossbow1crossbow2

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

iris1

Compile and Run

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

motelist

and I got the response like picture below

iris2

As you see, motelist didn’t find my Iris mote. I don’t how to fix. Currently I’m still finding to fix this. Please let me know if you have solution.

Although I didn’t find my Iris mote but my Linux can detect USB of Iris mote. You can check using command as below

ls /dev/ttyUSB*

So I think it’s no problem to deploy our app to Iris mote.

For a sample, my Iris 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 iris

iris3 

Now deploy Blink app to our Iris

make iris install mib510,/dev/ttyUSB0

If success, you’ll get this result as picture below

iris4

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

Running Blink @Iris

 

Clear Program From Iris

To clear your program from Iris, you can try to use avrdude

avrdude -cmib510 -P/dev/ttyUSB0 -pm1281 -e

iris5

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

Tags:

TinyOS | Linux

Comments (2) -

Celer.Liu
Celer.Liu Japan
3/5/2011 12:53:05 PM #

Thank you, Agus. Your article really gave me a great idea on how to utilizing the Blink on my Iris Board. But I got a problem here that I wish you could also be nice enough to get me through. Every process you illustrated was fine with me except for the last
make iris install mib510,/dev/ttyUSB0
What I got was like below
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device siganature.
                 Double check connections and try again, or use -F to override this check
Now, my develop environment is exactly the same as yours.
Many thanks in advance!

Jose Haroldo Bentes
Jose Haroldo Bentes Brazil
9/30/2011 6:45:13 AM #

Hi, every thing that I made and I had a good result but on time of "make iris", I just had many errors. I use Ubunto 10.10. Would you have some solution to me?


Thanks!

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading