Re: [Tinyos-help] Need help in coding.

2007-03-21 Thread Urs Hunkeler
Hi Vasudha,

A good starting place for learning the NesC language is the
TinyOS-Tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/index.html
In particular, I think that Lesson 2 talks about reading the light
sensor. As a beginner, a good way to start coding is often to take an
existing program and modify it to your needs. Have a look at the
SenseToLeds program in the app folder of your TinyOS installation: it
periodically samples the light sensor and shows some of the results on
the leds. For an example on how to use the Sounder (to make a beep) you
could have a look at the test application in
tinyos-1.x/apps/MicaSBVerify/TestSounder.

Cheers,
Urs


Vasudha K schrieb:
> Hi all,
> 
> I am working on Crossbow Mote and Using TinyOS. I need help in producing a 
> beep sound, when the mote detects light and their is a difference in past and 
> present reading value. 
> 
> Thanks in advance.
> Vasudha
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] how do I model lossless environment in Tossim

2007-03-21 Thread SANTOSH KUMAR
Hi,

I am facing a similar problem on TOSSIM on tinyos 1.x. I have used the
LossyBuilder to generate a grid topology. Say there are four nodes 0 to 3. A
message sent by node 0 is not received by 1, 2, and 3 at the same time. There
are instances that a message that is broadcasted by 0 is not received by one of
its neighbors. I have specified the same bit error probability in the nss file.
Is there a way the performance can be improved?

The main focus of what I am writing is not there in the communication though I
just want to build a network with multiple hops and preferably a grid structure.
Can you please suggest a way in TOSSIM to simulate this kind of a structure?

Thanks in advance.

Regards,
Santosh

> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] any command for resetting TMOTE SKY

2007-03-21 Thread siva prasad

Dear all..

I am facing a problem abt the code tht i hav built, it was sending the data
only for a short interval of time...suppose if i hav pressed reset button on
the tmote sky module..it is sending the data again for some interval of time
and then stops again..i hav tried hard to figure out this problem..asked abt
this problem in our mailing list ..but did nt received any reply...now i am
thinking to press reset for every time it is stop sending the
data..any command to do RESET the tmote sky module..

any help will be greatly apprecialted..!!
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf

You're right even with a gain of 0 you'll still have the possibility of a
collision.

I might suggest looking into using the BinaryInterferenceModelC.nc instead
of the  UscGainInterferenceModelC.nc. You'll need to use a different
ActiveMessageC.nc.

Cheers
Chad

On 3/21/07, Lilia Paradis <[EMAIL PROTECTED]> wrote:


Hi Chad,

Thanks for quick response!

That's what I've been doing too, but I still have weird inconsistencies.
My grid network initializes and builds routing tree perfectly about 9 out of
10 times, but that one time some node somewhere never gets the message sent
to it.

I am thinking it must be because of collisions. What is the default MAC
protocol used in Tinyos 2? I thought it was B-mac, is that true? Is there
some carrier sensing going on by default? Or is it only possible to prevent
collisions by randomizing transmission times?

Thanks,
Lilia

On 3/21/07, Chad Metcalf < [EMAIL PROTECTED]> wrote:
>
> I imagine the best way is in the link specification. Tutorial 11 talks a
> little about this.
>
> The method you're looking for is:
> *
> add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When
> *src* transmits, *dest* will receive a packet attenuated by the *gain*value.
>
> From the tutorial:
>
> Because the radio connectivity graph can be scripted, you can easily
> store topologies in files and then load the file. Alternatively, you can
> store a topology as a script. For example, this script will load a file
> which specifies each link in the graph as a line with three values, the
> source, the destination, and the gain, e.g.:
>
> 1  2 -54.0
>
> means that when 1 transmits 2 hears it at -54 dBm. Create a file
> topo.txt that looks like this:
>
> 1  2 -54.0
> 2  1 -55.0
> 1  3 -60.0
> 3  1 -60.0
> 2  3 -64.0
> 3  2 -64.0
>
> This script will read such a file:
>
> >>> f = open("topo.txt", "r")
> >>> lines = f.readlines()
> >>> for line in lines:
> ...   s = line.split()
> ...   if (len(s) > 0):
> ... print " ", s[0], " ", s[1], " ", s[2];
>
>
>
> ... r.add(int(s[0]), int(s[1]), float(s[2]))
>
>
> The default sensitivity seems to be 3.0 so an incoming packet must be
> 3dBm greater than the sum of noise and concurrent transmissions for it to be
> received. The default threshold seems to be -95 dBm. Specify a 0 gain and
> that should mean the packet is heard at the same strength it was sent (I
> think...).
>
> Of course Phil or someone else might have a better answer.
>
> Cheers,
> Chad
>
> On 3/21/07, Lilia Paradis < [EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I can't seem to figure out how to model lossless environment in
> > Tossim, i.e. 100% packet delivery rate and error-free. I've searched
> > the archives and found a few messages on this subject, but they all refer to
> > Tinyos-1.x. I am using Tinyos-2
> >
> > Thanks,
> >
> > --
> > Lilia Paradis
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
>
>
> --
> Chad @ Home




--
Lilia Paradis

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Lilia Paradis

Hi Chad,

Thanks for quick response!

That's what I've been doing too, but I still have weird inconsistencies. My
grid network initializes and builds routing tree perfectly about 9 out of 10
times, but that one time some node somewhere never gets the message sent to
it.

I am thinking it must be because of collisions. What is the default MAC
protocol used in Tinyos 2? I thought it was B-mac, is that true? Is there
some carrier sensing going on by default? Or is it only possible to prevent
collisions by randomizing transmission times?

Thanks,
Lilia

On 3/21/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:


I imagine the best way is in the link specification. Tutorial 11 talks a
little about this.

The method you're looking for is:
*
add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When *
src* transmits, *dest* will receive a packet attenuated by the *gain*value.

From the tutorial:

Because the radio connectivity graph can be scripted, you can easily store
topologies in files and then load the file. Alternatively, you can store a
topology as a script. For example, this script will load a file which
specifies each link in the graph as a line with three values, the source,
the destination, and the gain, e.g.:

1  2 -54.0

means that when 1 transmits 2 hears it at -54 dBm. Create a file topo.txtthat 
looks like this:

1  2 -54.0
2  1 -55.0
1  3 -60.0
3  1 -60.0
2  3 -64.0
3  2 -64.0

This script will read such a file:

>>> f = open("topo.txt", "r")
>>> lines = f.readlines()
>>> for line in lines:
...   s = line.split()
...   if (len(s) > 0):
... print " ", s[0], " ", s[1], " ", s[2];


... r.add(int(s[0]), int(s[1]), float(s[2]))


The default sensitivity seems to be 3.0 so an incoming packet must be 3dBm
greater than the sum of noise and concurrent transmissions for it to be
received. The default threshold seems to be -95 dBm. Specify a 0 gain and
that should mean the packet is heard at the same strength it was sent (I
think...).

Of course Phil or someone else might have a better answer.

Cheers,
Chad

On 3/21/07, Lilia Paradis < [EMAIL PROTECTED]> wrote:

> Hi all,
>
> I can't seem to figure out how to model lossless environment in Tossim,
> i.e. 100% packet delivery rate and error-free. I've searched the
> archives and found a few messages on this subject, but they all refer to
> Tinyos-1.x. I am using Tinyos-2
>
> Thanks,
>
> --
> Lilia Paradis
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>



--
Chad @ Home





--
Lilia Paradis

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to get out of sleep mode...

2007-03-21 Thread Spidernet Lists

Hi,
I am using Micaz platform... It seems i am getting struck in the "sleep 
mode" of  atmel-avr 128 as i am using gdb to debug and the program 
receives an interrupt and does not go ahead of these lines can 
anyone guide me with this???



Cheers!!!
VJ
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf

I imagine the best way is in the link specification. Tutorial 11 talks a
little about this.

The method you're looking for is:
*
add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When *
src* transmits, *dest* will receive a packet attenuated by the *gain* value.


From the tutorial:


Because the radio connectivity graph can be scripted, you can easily store
topologies in files and then load the file. Alternatively, you can store a
topology as a script. For example, this script will load a file which
specifies each link in the graph as a line with three values, the source,
the destination, and the gain, e.g.:

1  2 -54.0

means that when 1 transmits 2 hears it at -54 dBm. Create a file
topo.txtthat looks like this:

1  2 -54.0
2  1 -55.0
1  3 -60.0
3  1 -60.0
2  3 -64.0
3  2 -64.0

This script will read such a file:


f = open("topo.txt", "r")
lines = f.readlines()
for line in lines:

...   s = line.split()
...   if (len(s) > 0):
... print " ", s[0], " ", s[1], " ", s[2];
... r.add(int(s[0]), int(s[1]), float(s[2]))


The default sensitivity seems to be 3.0 so an incoming packet must be 3dBm
greater than the sum of noise and concurrent transmissions for it to be
received. The default threshold seems to be -95 dBm. Specify a 0 gain and
that should mean the packet is heard at the same strength it was sent (I
think...).

Of course Phil or someone else might have a better answer.

Cheers,
Chad

On 3/21/07, Lilia Paradis <[EMAIL PROTECTED]> wrote:


Hi all,

I can't seem to figure out how to model lossless environment in Tossim,
i.e. 100% packet delivery rate and error-free. I've searched the archives
and found a few messages on this subject, but they all refer to Tinyos-1.x.
I am using Tinyos-2

Thanks,

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Lilia Paradis

Hi all,

I can't seem to figure out how to model lossless environment in Tossim, i.e.
100% packet delivery rate and error-free. I've searched the archives and
found a few messages on this subject, but they all refer to Tinyos-1.x. I am
using Tinyos-2

Thanks,

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] changes in TinyOS packet

2007-03-21 Thread Philip Levis

On Mar 21, 2007, at 5:15 PM, Abhishek Jain wrote:


I want to make the following changes in the TinyOS packet.

1) Use some bits of the DstAddr field for a small counter.
2) Remove the Grp ID field
3) Remove the CRC field
4) Add a new field for SrcAddr.
5) Add a new field for MAC

Could someone give me an idea how to go about it? Currently, we are
looking to do this for telosb motes.


TelosB motes use an 802.15.4 radio, which has a standard link header.  
There are some ways you can tweak it, but some of it is checked/ 
needed by hardware, so you can't.


In TinyOS 2.x, you'd want to change CC2420.h for the packet format,  
CC2420TransmitP for the transmission path and CC2420ReceiveP for the  
receive path. The code isn't that well commented, but David Moss has  
written a really nice document on how it works. I don't know if he's  
made it public yet, but maybe he can give you a preliminary copy.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] RFM component

2007-03-21 Thread theone alex

i use tinyos 1.1.0 , is RFM component HPLRFMC component ? if not , which
file is RFM component  in? thanks
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] changes in TinyOS packet

2007-03-21 Thread Abhishek Jain

I want to make the following changes in the TinyOS packet.

1) Use some bits of the DstAddr field for a small counter.
2) Remove the Grp ID field
3) Remove the CRC field
4) Add a new field for SrcAddr.
5) Add a new field for MAC

Could someone give me an idea how to go about it? Currently, we are
looking to do this for telosb motes.

thanks,
Abhishek
--
All you need in life is ignorance and confidence, and then success is sure.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-21 Thread Philip Levis

On Mar 21, 2007, at 2:51 PM, Salvo Fiduccia wrote:


Hi all,
relating to the "sim_gain_receive_handle" function  
(UscGainInterferenceModelC.nc file), I don't understand when the  
code that checks if has been received a packet stronger than the  
others, i.e.


 "if ((list->power - sim_gain_sensitivity()) < heardSignal())"

could be false (heardSignal() adds the same value "list->power").
Thanks


That's a good question. It's been long enough that I'm not 100% up to  
speed on the code. But I'm incorporating a new noise model for 2.0.1  
next week, so I'll take a look then.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: LinkLayerModel

2007-03-21 Thread fatima cabot

What about transmision power on TOSSIM (T2)?Where is this value set in the
simulator?

I am interested in configuring Linklayermodel so that its rates and gain
parameters model the area inside which a mote transmits. For example, if I
want a micaz mote to send packets that other motes will hear inside a 50m
radius circle, how do I have to set parameters?

Maybe knowing transmision power would help

On 3/21/07, fatima cabot <[EMAIL PROTECTED]> wrote:


Is anyone using this topology generator?I would like to know how to set
its configuration file in order to make nodes receive or not receive packets
according to distance

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: java compile errors in tinyos-2.x

2007-03-21 Thread Michael Schippling

I'm cc'ing this to the help list for you...

This looks like a runtime error, not compilation...but anyway...

I think you have
CLASSPATH="$TOSROOT/support/sdk/java/tinyos.jar;."
so java should be able to find MessageListener in that tinyos.jar.

First make sure that the CP is really set in the shell environment
where you are running by doing "echo $CLASSPATH". Then make sure
the jar exists by doing "ls -l $TOSROOT/support/sdk/java/tinyos.jar",
and, assuming success, that the class is actually in the jar with:
"jar tvf $TOSROOT/support/sdk/java/tinyos.jar | grep MessageListener"

If all of that is successful I might try re-compiling all of the
java tools (there should be a top level makefile or something) and
changing the CP to point to the dir-tree that contains the new .classes.
I don't have a T2 devsys, but I'd guess something like:
$TOSROOT/support/sdk/java
would contain net/tinyos/message/MessageListener.java and .class

MS


mark karpa wrote:

Hi,
 
I thank you for your kind help in advance. I try to fix some Java 
compilation errors in tinyos-2.x.
 
I use the code from the following web site:
 
http://sing.stanford.edu/abbado/RssiSampling.tar
This code basically measures the noise and records the noise data to the 
sensor's memory. And the java file gets the data from the memory. I 
compiled the code and installed succesfully. The apllication module is 
working. But, java file not.It gives the following error when I try to 
read the data from the mote's memory:
 
Exception in thread "main" java.lang.NoClassDefFoundError: 
net/tinyos/message/Me

ssageListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12

4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 
 
I have read so many emails in the email list. These Java compilation 
errors are common with Tinyos-2.x.
 
Do you hava any suggestion to fix this Java problem? or Do you have any 
application module to measure noise level in tinyos-1.x using Telos or 
Tmotes?
 
Thanks again for your kind help.

Mark

*/Michael Schippling <[EMAIL PROTECTED]>/* wrote:

A) please send questions to the help list so we can keep a record.
B) What's the problem?
MS


mark karpa wrote:
 > Hi,
 >
 > I have seen your email about java compilation problem in tinyos-2.x
 >
 > I also came accross similar problems in tinyos-2.x. How did you
fix the
 > problem?
 >
 > My tinyos.sh is as follows:
 >
 > # script for profile.d for bash shells, adjusted for each users
 > # installation by substituting /opt for the actual tinyos tree
 > # installation point.
 > TOSROOT="/opt/tinyos-2.x"
 > export TOSROOT
 > TOSDIR="$TOSROOT/tos"
 > export TOSDIR
 > CLASSPATH="$TOSROOT/support/sdk/java/tinyos.jar;."
 > export CLASSPATH
 > MAKERULES="$TOSROOT/support/make/Makerules"
 > export MAKERULES
 > PATH= "/opt/msp430/bin:$PATH"
 > export PATH
 >
 > #Extend path for java
 > type java >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
 > --java`:$PATH
 > type javac >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
 > --javac`:$PATH
 > echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH
 >
 >
 > Any help is greatly appreciated.
 >
 > Regards,
 > Mark
 >
 >

 > Now that's room service! Choose from over 150,000 hotels
 > in 45,000 destinations on Yahoo! Travel
 >
 > > to find your fit.



Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel 
 to find your fit.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-21 Thread Salvo Fiduccia
Hi all,
relating to the "sim_gain_receive_handle" function 
(UscGainInterferenceModelC.nc file), I don't understand when the code that 
checks if has been received a packet stronger than the others, i.e. 

 "if ((list->power - sim_gain_sensitivity()) < heardSignal())"

could be false (heardSignal() adds the same value "list->power").
Thanks 


--
Con Prometeo prestiti senza spese fino a 31.000 Euro! Clicca qui
http://click.libero.it/webnation21m07



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Sepcifying Stack size in ncc

2007-03-21 Thread RADHIKA VIND

Hi,

I need to specify a larger stack size than the default one in nesC compiler.
Does anyone know how this is done? What is the default stack size allocated
by the linker?

Thank you,
~Radhika
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] need help in a tinyos project

2007-03-21 Thread Michael Schippling

I think there is a demo acoustic ranging app someplace already,
but you'll probably have to google around to find it.

You'll only need message routing if some of your re-Motes are
out of base-station range. That's a design decision...
MS

Mohammad Allouh wrote:

Hello everybody

i am working on my graduation project in which i use wireless sensors 
from crossbow.


the main idea of this project is to determine the approximate location 
and distance of a noise source using tinyos (v1.1) and the acoustic sensor.


my questions are:

1. is this application applicable or not.

2. if applicable, what is the best application to use on the PC 
connected to the gateway? should i use TinyDB or develop my own 
application ?


3. how can i set a threshold value for the microphone to sense the noise ?

4. in tinyos, do i need to develop a routing protocol explicitly in 
order to route the packets to the gateway, or i just need to call the 
send and receive methods ??


thanks in advance



Live Search Maps – find all the local information you need, right when 
you need it. 





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Measuring energy consumption on micaz motes, also using external flash

2007-03-21 Thread Michael Schippling

Search back on this list for energy and power measurement...
But the basic idea would be to put a small resistor in line
with the battery/source and measure the voltage drop to
calculate current flow.

MS

Munaretto, Daniele wrote:

Hi all,

 

I am using the external flash (RAM is too small for my 
tasks) on micaz motes and I am wondering hot to measure exactly the 
energy consumption in the motes during the use of flash. Moreover, I was 
wondering how to measure continuously (accurately) the motes’ energy 
consumption while they are working in any case.


Any suggestion will be really appreciated,

Cheers

Daniele

 

 

 

 


*Daniele Munaretto*

Researcher

* *

*DoCoMo Communications Laboratories Europe GmbH*

Landsbergerstraße 312  80687 Munich  Germany

 


Mobile  :   +49- 162-  2919-218

Office  :   +49-  89- 56824-218

Fax  :   +49-  89- 56824-300

 


[EMAIL PROTECTED] 

visit us in http://www.docomolab-euro.com 

 


Managing Directors (Geschäftsführer):

Dr. Toru Otsu, Narumi Umeda, Kazushige Yoshida

Amtsgericht München, HRB 132967

---
DoCoMo Communications Laboratories Europe GmbH

Landsbergerstrasse 312,  80687 Munich,  Germany

Managing Directors (Geschaeftsfuehrer): 
Dr. Toru Otsu, Narumi Umeda, Kazushige Yoshida

Amtsgericht: Muenchen, HRB 132967
---




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Regarding Mib gateway Links

2007-03-21 Thread Michael Schippling

Aside from the size of the destination address field (16 bits I think)
there is no physical limit to how many re-Motes you can have. However
there is a bandwidth limit. For mica2's I measured about 25 messages
per second max.

For your magnetometer question I have no info, but the sensor's
data sheet might have some clues. I doubt that it will scale to
50 feet if it's only working reliably at <1 ft though...

MS

ankur jain wrote:

Hi all,
I  have just started working on tinyos.I am using mica 2 motes and 
mib-510 gateway.I was wondering whether there is any limit on the no. of 
motes. with which gatway could be simultaneously connected to. i.e the 
max. no. of links that a gateway can have at one time.There is no 
mention of this limit in the tinyos tutorial also. So if anyone could 
help me on this issue,that would be highly appreciated.

Thnx in advance
Ankur jain


Here’s a new way to find what you're looking for - Yahoo! Answers 






___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Telos - working when plugged on USB - not working with batteries

2007-03-21 Thread siva prasad

Hi all...

I have a problem with a program I wrote for a Telos mote.I am sending the
data using Multihop routing technique.I have loaded the application into 2
modules, one with ' 0' address and another with ' 1' address..!!

The mote connected to the USB( ' 0' address) is sending the data
continuously...the other mote (1-address) is sending the data only for a
short duration..!!!
suppose if i have connected the mote(1-address) to the USB port,it is
signalling that it is sending the data continuously..if i
hav checked with the batteries, its sending only for a short interval of
time..why

one more observation i have done..when running LISTEN tool..
i am sending "parent ID" in the data packet..the node with address-1 is
showing the value as "FF" (for the first 15 packets roughly)-during this
time the code on this node is working fine..!!
once the node is showing the parent ID as-' 0'--it is sending some duplicate
packets..and after some time..it is completely stop sending the data..!!!

Any idea would be really appreciated...
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] repost: tmote sky modules stop responding when using Delta app.

2007-03-21 Thread Simon Davis
Hello,

>On occasion(after a few days) a random mote will stop sending data and the red 
>led will
>stay on until the reset button is pressed. (motes that fail do not recover).

Yes, it's annoying isn't it! I looked into this problem and couldn't decide 
whether the problem was in Delta 
or in the rest of the networking code. 


>On a side note, can the watchdog be implemented in low-power
>mode? And would this be a possible solution of if moving to tinyos 2.0 would 
>help?

Yes, implement the WDT watchdog timer. This is what I did in Delta:

  void touch_watchdog(){
WDTCTL = WDT_ARST_1000;
  }


Have a timer touch_watchdog() every 500ms. Since I have Delta sending messages 
every 10 minutes (DELTA_TIME = 614400), I use:

  uint32_t count = 0;
  //DELTA_TIME plus 30 secs
  uint32_t WDT_TIME = (int)(((DELTA_TIME/1000)*2)+60);

  event result_t TimerWatchdog.fired() {
if(count < WDT_TIME){
touch_watchdog();
count = count + 1;
}
return SUCCESS;
  }


  event result_t SendDeltaMsg.sendDone(TOS_MsgPtr _msg, result_t _success) {
call Leds.redOff();
count = 0;
return SUCCESS;
  }


This ensures that if a message fails to send after 10 mins and 30 secs, the 
mote will reboot. 
I haven't had any lock-ups since.


Regards

Simon Davis


=


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] need help in a tinyos project

2007-03-21 Thread Mohammad Allouh

Hello everybody
i am working on my graduation project in which i use wireless sensors from crossbow.
the main idea of this project is to determine the approximate location and distance of a noise source using tinyos (v1.1) and the acoustic sensor.
my questions are:
1. is this application applicable or not.
2. if applicable, what is the best application to use on the PC connected to the gateway? should i use TinyDB or develop my own application ?
3. how can i set a threshold value for the microphone to sense the noise ?
4. in tinyos, do i need to develop a routing protocol explicitly in order to route the packets to the gateway, or i just need to call the send and receive methods ??thanks in advance Live Search Maps – find all the local information you need, right when you need it. 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Measuring energy consumption on micaz motes, also using external flash

2007-03-21 Thread Munaretto, Daniele
Hi all,

 

I am using the external flash (RAM is too small for my tasks) on 
micaz motes and I am wondering hot to measure exactly the energy consumption in 
the motes during the use of flash. Moreover, I was wondering how to measure 
continuously (accurately) the motes' energy consumption while they are working 
in any case.

Any suggestion will be really appreciated,

Cheers

Daniele 

 

 

 

 

Daniele Munaretto

Researcher

 

DoCoMo Communications Laboratories Europe GmbH

Landsbergerstraße 312  80687 Munich  Germany

 

Mobile  :   +49- 162-  2919-218

Office   :   +49-  89- 56824-218

Fax  :   +49-  89- 56824-300

 

[EMAIL PROTECTED]  

visit us in http://www.docomolab-euro.com   

 

Managing Directors (Geschäftsführer): 

Dr. Toru Otsu, Narumi Umeda, Kazushige Yoshida

Amtsgericht München, HRB 132967


---
DoCoMo Communications Laboratories Europe GmbH

Landsbergerstrasse 312,  80687 Munich,  Germany

Managing Directors (Geschaeftsfuehrer): 
Dr. Toru Otsu, Narumi Umeda, Kazushige Yoshida
Amtsgericht: Muenchen, HRB 132967
---

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] LinkLayerModel

2007-03-21 Thread fatima cabot

Is anyone using this topology generator?I would like to know how to set its
configuration file in order to make nodes receive or not receive packets
according to distance
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Tmote I2C problems

2007-03-21 Thread Miguel Domínguez Durán

Thanks for your quick answer, Ankur.
Well, it seems like that's not my problem as I'm already releasing the
bus resource in the writePacketDone event. As I said, I've been
looking at the AD524X interface from the tmote invent sensorboard
drivers, so I guess the command calls sequence is right. Could you
tell me, please, how did you address your slave devices?
Maybe I'm not filling the data field properly. For example, if I want
to write the byte 0xCF at position 0x22, I'm using the following code,
where 0xA0 is the slave device address for the write command:

   uint8_t *data = 0x22CF;
   result = call I2CPacket.writePacket( rh, 0xA0, 2, data );

Is that right?

Thanks,

Miguel Dominguez


On 3/21/07, Ankur Kamthe <[EMAIL PROTECTED]> wrote:

Hi Miguel,

Assuming your addresses and other things are ok, where/when are you
releasing the bus? I had the same problem because the bus was released
too soon, so the data was not being written after the address. The fix
was to put the ResourceCmd.release in the writeDone event.

See the Moteiv implementation at
http://www.moteiv.com/community/Boomerang_UART0_Sample

there they wait till the transmit buffer is empty and then release the bus.

hope this helps,
ankur


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help