Re: [Tinyos-help] Delta application -help required

2006-08-31 Thread Joe Polastre

Please go through the TinyOS tutorial.  These are basic questions that
are answered by this tutorial.

-Joe

On 8/31/06, siva prasad <[EMAIL PROTECTED]> wrote:


thanks for tht idea michael...

if i changed the value of AM_COUNTMSG to some other value(say 35) it is was
compiling ..but it is not sending any datawhy..?

now i want to introduce one more "uint_16t reading2" variable into the
structure..deltamsg:--
for using another external ADC port and sending tht value...in the msg..

it was compiling but ...it is not sending any data...i think this is the
problem with the AM_DELTAMSG=33i hav tried with different values of the
same value still it is not working...
pls help me...



On 8/31/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
> Usually anything starting with AM_ is meant to be used
> as a message type indicator, to stick in TOS_Msg.type
> The values are arbitrary, and there is no master
> dictionary of types.
>
> Also, one thought on your sampling problem. If the signal
> changes you are interested in are sporadic, you might have
> the mote detect them and only transmit when there is some
> thing of interest.
>
> MS
>
> siva prasad wrote:
> > hi...sorry to bother u again...
> > why in Delta application ..the "enum"AM_DELTAMSG is initialised to
33;
> > can any body pls explain
> >
> >
> >
> > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]
> > > wrote:
> >
> > Keptin, I kenna change th'laws o'physics...
> >
> > siva prasad wrote:
> >  > again thanks for tht explanation...i can understand tht
problem...
> >  > As i told previously, my system is highly dynamic in nature...in
> > order
> >  > to monitor such dynamical system is there any better idea...not
like
> >  > sending 10 readings in one packet after 10ms...
> >  >
> >  > thanks in advance...
> >  >
> >  > siva katru
> >  >
> >  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]
> > 
> >  > >> wrote:
> >  >
> >  > As I said, based on my (small) experience with micaz I
believe
> >  > that 100 messages per second is about the max you can expect.
> >  > And that 100 is for the total system, not per mote (unless of
> >  > course you have only one mote transmitting). If you are doing
> >  > multihop then you need to divide the total messages by the
> >  > number of hops (each hop being it's own message) to get even
> >  > a best case estimate -- ignoring hidden nodes and any other
> >  > actual practical considerations.
> >  >
> >  > So the only way I see to get your higher sample rate is to
> >  > aggregate samples, say 10 per message. You would need to
> >  > do some testing in various configurations to see how many
> >  > messages you can get...let's say, the source and two hops
gives
> >  > you best case 30 msg/sec, with 10 samples/msg, is 300
> > samples/sec.
> >  >
> >  > Nobody said that motes were a High Speed sensor network...
> >  > MS
> >  >
> >  >
> >  > siva prasad wrote:
> >  >  > thanks for ur reply michael,
> >  >  >
> >  >  > if i sample the signal at 1ms(suppose for 50hz signal)
> > then it
> >  > will be
> >  >  > better ...that is required for my application ...one more
> > thing
> >  > is that,
> >  >  > the system tht i want to monitor is highly dynamic in
> > nature..so the
> >  >  > data should be send for every 1ms...i think 1ms is
> > sufficient for
> >  > just
> >  >  > measuring the external ADC value..and sending this value
using
> >  >  > multihop(must) technique...
> >  >  > But the problem is. i am losing lot of packets abt 50%
> > even
> >  > for the
> >  >  > sampling period at 10 msdo u hav any different idea
tht
> >  > ...how can i
> >  >  > overcome this problem
> >  >  > any help should be highly appreciated...
> >  >  >
> >  >  > if we cant sample and send(using multihop) the data in 1ms
> > ...pls
> >  > give
> >  >  > the reason...
> >  >  >
> >  >  > still i did nt clear my old doubts...
> >  >  >
> >  >  >
> >  >  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]
> > 
> >  > mailto:[EMAIL PROTECTED]>>
> >  >  > 
> >  >  >  >
> >  >  > I don't know the message rate you can expect from
> > moteiv motes
> >  >  > but if you are trying to send one sample every 10ms
> > you are
> >  >  > probably pretty close to the limit (somewhere on t

Re: [Tinyos-help] Delta application -help required

2006-08-31 Thread siva prasad
thanks for tht idea michael...
 
if i changed the value of AM_COUNTMSG to some other value(say 35) it is was compiling ..but it is not sending any datawhy..?
 
now i want to introduce one more "uint_16t reading2" variable into the structure..deltamsg:--
for using another external ADC port and sending tht value...in the msg..
 
it was compiling but ...it is not sending any data...i think this is the problem with the AM_DELTAMSG=33i hav tried with different values of the same value still it is not working...
pls help me... 
On 8/31/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
Usually anything starting with AM_ is meant to be usedas a message type indicator, to stick in TOS_Msg.type
The values are arbitrary, and there is no masterdictionary of types.Also, one thought on your sampling problem. If the signalchanges you are interested in are sporadic, you might havethe mote detect them and only transmit when there is some
thing of interest.MSsiva prasad wrote:> hi...sorry to bother u again...> why in Delta application ..the "enum"AM_DELTAMSG is initialised to 33;> can any body pls explain
 On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:
>> Keptin, I kenna change th'laws o'physics...>> siva prasad wrote:>  > again thanks for tht explanation...i can understand tht problem...>  > As i told previously, my system is highly dynamic in nature...in
> order>  > to monitor such dynamical system is there any better idea...not like>  > sending 10 readings in one packet after 10ms...>  >>  > thanks in advance...
>  >>  > siva katru>  >>  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> 
[EMAIL PROTECTED]>>  > [EMAIL PROTECTED] [EMAIL PROTECTED]>>> wrote:>  >>  > As I said, based on my (small) experience with micaz I believe
>  > that 100 messages per second is about the max you can expect.>  > And that 100 is for the total system, not per mote (unless of>  > course you have only one mote transmitting). If you are doing
>  > multihop then you need to divide the total messages by the>  > number of hops (each hop being it's own message) to get even>  > a best case estimate -- ignoring hidden nodes and any other
>  > actual practical considerations.>  >>  > So the only way I see to get your higher sample rate is to>  > aggregate samples, say 10 per message. You would need to
>  > do some testing in various configurations to see how many>  > messages you can get...let's say, the source and two hops gives>  > you best case 30 msg/sec, with 10 samples/msg, is 300
> samples/sec.>  >>  > Nobody said that motes were a High Speed sensor network...>  > MS>  >>  >>  > siva prasad wrote:
>  >  > thanks for ur reply michael,>  >  >>  >  > if i sample the signal at 1ms(suppose for 50hz signal)> then it>  > will be
>  >  > better ...that is required for my application ...one more> thing>  > is that,>  >  > the system tht i want to monitor is highly dynamic in> nature..so the
>  >  > data should be send for every 1ms...i think 1ms is> sufficient for>  > just>  >  > measuring the external ADC value..and sending this value using
>  >  > multihop(must) technique...>  >  > But the problem is. i am losing lot of packets abt 50%> even>  > for the>  >  > sampling period at 10 msdo u hav any different idea tht
>  > ...how can i>  >  > overcome this problem>  >  > any help should be highly appreciated...>  >  >>  >  > if we cant sample and send(using multihop) the data in 1ms
> ...pls>  > give>  >  > the reason...>  >  >>  >  > still i did nt clear my old doubts...>  >  >>  >  >
>  >  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>>  > [EMAIL PROTECTED] [EMAIL PROTECTED]>>>  >  > [EMAIL PROTECTED]
 [EMAIL PROTECTED]>> [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:>  >  >>  >  > I don't know the message rate you can expect from> moteiv motes>  >  > but if you are trying to send one sample every 10ms
> you are>  >  > probably pretty close to the limit (somewhere on the> order of>  >  > 100 msg/sec is the max for micaz's). You'll probably> need to
>  >  > collect multiple samples in one message to get anywhere at>  > 30Hz...>  >  >>  >  > Let me know if you need clarification one answers to
> your other>  >  > questions.>  >  > MS>  >  >>  >  >>  >  > siva prasad wrote:>  >  >  >
>  >  >  >>  > 

Re: [Tinyos-help] Delta application -help required

2006-08-31 Thread Michael Schippling

Usually anything starting with AM_ is meant to be used
as a message type indicator, to stick in TOS_Msg.type
The values are arbitrary, and there is no master
dictionary of types.

Also, one thought on your sampling problem. If the signal
changes you are interested in are sporadic, you might have
the mote detect them and only transmit when there is some
thing of interest.

MS

siva prasad wrote:

hi...sorry to bother u again...
why in Delta application ..the "enum"AM_DELTAMSG is initialised to 33;
can any body pls explain


 
On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED] 
> wrote:


Keptin, I kenna change th'laws o'physics...

siva prasad wrote:
 > again thanks for tht explanation...i can understand tht problem...
 > As i told previously, my system is highly dynamic in nature...in
order
 > to monitor such dynamical system is there any better idea...not like
 > sending 10 readings in one packet after 10ms...
 >
 > thanks in advance...
 >
 > siva katru
 >
 > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]

 > >> wrote:
 >
 > As I said, based on my (small) experience with micaz I believe
 > that 100 messages per second is about the max you can expect.
 > And that 100 is for the total system, not per mote (unless of
 > course you have only one mote transmitting). If you are doing
 > multihop then you need to divide the total messages by the
 > number of hops (each hop being it's own message) to get even
 > a best case estimate -- ignoring hidden nodes and any other
 > actual practical considerations.
 >
 > So the only way I see to get your higher sample rate is to
 > aggregate samples, say 10 per message. You would need to
 > do some testing in various configurations to see how many
 > messages you can get...let's say, the source and two hops gives
 > you best case 30 msg/sec, with 10 samples/msg, is 300
samples/sec.
 >
 > Nobody said that motes were a High Speed sensor network...
 > MS
 >
 >
 > siva prasad wrote:
 >  > thanks for ur reply michael,
 >  >
 >  > if i sample the signal at 1ms(suppose for 50hz signal)
then it
 > will be
 >  > better ...that is required for my application ...one more
thing
 > is that,
 >  > the system tht i want to monitor is highly dynamic in
nature..so the
 >  > data should be send for every 1ms...i think 1ms is
sufficient for
 > just
 >  > measuring the external ADC value..and sending this value using
 >  > multihop(must) technique...
 >  > But the problem is. i am losing lot of packets abt 50%
even
 > for the
 >  > sampling period at 10 msdo u hav any different idea tht
 > ...how can i
 >  > overcome this problem
 >  > any help should be highly appreciated...
 >  >
 >  > if we cant sample and send(using multihop) the data in 1ms
...pls
 > give
 >  > the reason...
 >  >
 >  > still i did nt clear my old doubts...
 >  >
 >  >
 >  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]

 > >
 >  > 
  >
 >  > I don't know the message rate you can expect from
moteiv motes
 >  > but if you are trying to send one sample every 10ms
you are
 >  > probably pretty close to the limit (somewhere on the
order of
 >  > 100 msg/sec is the max for micaz's). You'll probably
need to
 >  > collect multiple samples in one message to get anywhere at
 > 30Hz...
 >  >
 >  > Let me know if you need clarification one answers to
your other
 >  > questions.
 >  > MS
 >  >
 >  >
 >  > siva prasad wrote:
 >  >  >
 >  >  >
 >  >  > From: *siva prasad* < [EMAIL PROTECTED]

 > >
 >  >  mailto:[EMAIL PROTECTED]>> >
 > 
>
 >  > mailto:[EMAIL PROTECTED]> 
 >  >  > Date: Aug 28, 2006 12:52 AM
 >  >  > Subject: Delta application -help required
 >  >  > To: tiny

Re: [Tinyos-help] Delta application -help required

2006-08-31 Thread siva prasad
hi...sorry to bother u again...
why in Delta application ..the "enum"AM_DELTAMSG is initialised to 33;
can any body pls explain
 
On 8/30/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
Keptin, I kenna change th'laws o'physics...siva prasad wrote:> again thanks for tht explanation...i can understand tht problem...
> As i told previously, my system is highly dynamic in nature...in order> to monitor such dynamical system is there any better idea...not like> sending 10 readings in one packet after 10ms...>
> thanks in advance...>> siva katru>> On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> [EMAIL PROTECTED]
>> wrote:>> As I said, based on my (small) experience with micaz I believe> that 100 messages per second is about the max you can expect.> And that 100 is for the total system, not per mote (unless of
> course you have only one mote transmitting). If you are doing> multihop then you need to divide the total messages by the> number of hops (each hop being it's own message) to get even
> a best case estimate -- ignoring hidden nodes and any other> actual practical considerations.>> So the only way I see to get your higher sample rate is to> aggregate samples, say 10 per message. You would need to
> do some testing in various configurations to see how many> messages you can get...let's say, the source and two hops gives> you best case 30 msg/sec, with 10 samples/msg, is 300 samples/sec.
>> Nobody said that motes were a High Speed sensor network...> MS>>> siva prasad wrote:>  > thanks for ur reply michael,>  >>  > if i sample the signal at 1ms(suppose for 50hz signal) then it
> will be>  > better ...that is required for my application ...one more thing> is that,>  > the system tht i want to monitor is highly dynamic in nature..so the>  > data should be send for every 1ms...i think 1ms is sufficient for
> just>  > measuring the external ADC value..and sending this value using>  > multihop(must) technique...>  > But the problem is. i am losing lot of packets abt 50% even
> for the>  > sampling period at 10 msdo u hav any different idea tht> ...how can i>  > overcome this problem>  > any help should be highly appreciated...
>  >>  > if we cant sample and send(using multihop) the data in 1ms ...pls> give>  > the reason...>  >>  > still i did nt clear my old doubts...
>  >>  >>  > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> [EMAIL PROTECTED]
>>  > [EMAIL PROTECTED] [EMAIL PROTECTED]>>> wrote:>  >>  > I don't know the message rate you can expect from moteiv motes
>  > but if you are trying to send one sample every 10ms you are>  > probably pretty close to the limit (somewhere on the order of>  > 100 msg/sec is the max for micaz's). You'll probably need to
>  > collect multiple samples in one message to get anywhere at> 30Hz...>  >>  > Let me know if you need clarification one answers to your other>  > questions.
>  > MS>  >>  >>  > siva prasad wrote:>  >  >>  >  >>  >  > From: *siva prasad* <
[EMAIL PROTECTED]> [EMAIL PROTECTED]>>  > [EMAIL PROTECTED] 
[EMAIL PROTECTED]> >> [EMAIL PROTECTED] [EMAIL PROTECTED]>>  > [EMAIL PROTECTED] [EMAIL PROTECTED]>  >  > Date: Aug 28, 2006 12:52 AM>  >  > Subject: Delta application -help required
>  >  > To: tinyos-help@millennium.berkeley.edu> tinyos-help@millennium.berkeley.edu
>>  > tinyos-help@millennium.berkeley.edu> tinyos-help@millennium.berkeley.edu
>>>  >  > tinyos-help@millennium.berkeley.edu> 
tinyos-help@millennium.berkeley.edu>>  > tinyos-help@millennium.berkeley.edu> 
tinyos-help@millennium.berkeley.edu  >  >>  >  > hi all...>  >  >>  >  > i am working on sampling the ADC value instead of
>  > DEmosensorc...in the>  >  > delta application provided by moteiv.>  >  >>  >  > i am glad to say tht ..i hav successfully compiled it ...
>  >  > and installed..it worked...>  >  > the problem is when i tried to undrstand the program..i am> facing>  > some>  >  > difficulties
>  >  >>  >  > -> i could nt understand the task..named...sendDone( )>  >  >>  >  > -> while i tried to see the raw data using listen
> tool...it is>  > showing>  >  > 42 bytes...but i could nt figured out the data format..>  >  >>  >  > ->one more problem is...the signal tht i want to sample is
> a low>  >  > frequency signal..abt 30Hz...>  >  >if i increase the sampling time to 10ms ..i am losing> lots of>  > packets...>  >  >
>  >  > can any body pls help me...> 

Re: [Tinyos-help] Delta application -help required

2006-08-30 Thread Michael Schippling

Keptin, I kenna change th'laws o'physics...

siva prasad wrote:

again thanks for tht explanation...i can understand tht problem...
As i told previously, my system is highly dynamic in nature...in order 
to monitor such dynamical system is there any better idea...not like 
sending 10 readings in one packet after 10ms...
 
thanks in advance...
 
siva katru
 
On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED] 
> wrote:


As I said, based on my (small) experience with micaz I believe
that 100 messages per second is about the max you can expect.
And that 100 is for the total system, not per mote (unless of
course you have only one mote transmitting). If you are doing
multihop then you need to divide the total messages by the
number of hops (each hop being it's own message) to get even
a best case estimate -- ignoring hidden nodes and any other
actual practical considerations.

So the only way I see to get your higher sample rate is to
aggregate samples, say 10 per message. You would need to
do some testing in various configurations to see how many
messages you can get...let's say, the source and two hops gives
you best case 30 msg/sec, with 10 samples/msg, is 300 samples/sec.

Nobody said that motes were a High Speed sensor network...
MS


siva prasad wrote:
 > thanks for ur reply michael,
 >
 > if i sample the signal at 1ms(suppose for 50hz signal) then it
will be
 > better ...that is required for my application ...one more thing
is that,
 > the system tht i want to monitor is highly dynamic in nature..so the
 > data should be send for every 1ms...i think 1ms is sufficient for
just
 > measuring the external ADC value..and sending this value using
 > multihop(must) technique...
 > But the problem is. i am losing lot of packets abt 50% even
for the
 > sampling period at 10 msdo u hav any different idea tht
...how can i
 > overcome this problem
 > any help should be highly appreciated...
 >
 > if we cant sample and send(using multihop) the data in 1ms ...pls
give
 > the reason...
 >
 > still i did nt clear my old doubts...
 >
 >
 > On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]

 > >> wrote:
 >
 > I don't know the message rate you can expect from moteiv motes
 > but if you are trying to send one sample every 10ms you are
 > probably pretty close to the limit (somewhere on the order of
 > 100 msg/sec is the max for micaz's). You'll probably need to
 > collect multiple samples in one message to get anywhere at
30Hz...
 >
 > Let me know if you need clarification one answers to your other
 > questions.
 > MS
 >
 >
 > siva prasad wrote:
 >  >
 >  >
 >  > From: *siva prasad* <[EMAIL PROTECTED]

 >  >

 >   > Date: Aug 28, 2006 12:52 AM
 >  > Subject: Delta application -help required
 >  > To: tinyos-help@millennium.berkeley.edu

 > mailto:tinyos-help@millennium.berkeley.edu>>
 >  > mailto:tinyos-help@millennium.berkeley.edu>
 > mailto:tinyos-help@millennium.berkeley.edu>>>
 >  >
 >  > hi all...
 >  >
 >  > i am working on sampling the ADC value instead of
 > DEmosensorc...in the
 >  > delta application provided by moteiv.
 >  >
 >  > i am glad to say tht ..i hav successfully compiled it ...
 >  > and installed..it worked...
 >  > the problem is when i tried to undrstand the program..i am
facing
 > some
 >  > difficulties
 >  >
 >  > -> i could nt understand the task..named...sendDone( )
 >  >
 >  > -> while i tried to see the raw data using listen
tool...it is
 > showing
 >  > 42 bytes...but i could nt figured out the data format..
 >  >
 >  > ->one more problem is...the signal tht i want to sample is
a low
 >  > frequency signal..abt 30Hz...
 >  >if i increase the sampling time to 10ms ..i am losing
lots of
 > packets...
 >  >
 >  > can any body pls help me...
 >  >
 >  > thanks
 >  >
 >  > siva katru
 >  >
 >  >
 >  >
 >


 >  >
 >  > ___
 >  > Tinyos-help mailing list
 >

Re: [Tinyos-help] Delta application -help required

2006-08-30 Thread siva prasad
again thanks for tht explanation...i can understand tht problem...
As i told previously, my system is highly dynamic in nature...in order to monitor such dynamical system is there any better idea...not like sending 10 readings in one packet after 10ms...
 
thanks in advance... 
siva katru 
On 8/30/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
As I said, based on my (small) experience with micaz I believethat 100 messages per second is about the max you can expect.
And that 100 is for the total system, not per mote (unless ofcourse you have only one mote transmitting). If you are doingmultihop then you need to divide the total messages by thenumber of hops (each hop being it's own message) to get even
a best case estimate -- ignoring hidden nodes and any otheractual practical considerations.So the only way I see to get your higher sample rate is toaggregate samples, say 10 per message. You would need to
do some testing in various configurations to see how manymessages you can get...let's say, the source and two hops givesyou best case 30 msg/sec, with 10 samples/msg, is 300 samples/sec.Nobody said that motes were a High Speed sensor network...
MSsiva prasad wrote:> thanks for ur reply michael,>> if i sample the signal at 1ms(suppose for 50hz signal) then it will be> better ...that is required for my application ...one more thing is that,
> the system tht i want to monitor is highly dynamic in nature..so the> data should be send for every 1ms...i think 1ms is sufficient for just> measuring the external ADC value..and sending this value using
> multihop(must) technique...> But the problem is. i am losing lot of packets abt 50% even for the> sampling period at 10 msdo u hav any different idea tht ...how can i> overcome this problem
> any help should be highly appreciated...>> if we cant sample and send(using multihop) the data in 1ms ...pls give> the reason...>> still i did nt clear my old doubts...>
>> On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> I don't know the message rate you can expect from moteiv motes
> but if you are trying to send one sample every 10ms you are> probably pretty close to the limit (somewhere on the order of> 100 msg/sec is the max for micaz's). You'll probably need to
> collect multiple samples in one message to get anywhere at 30Hz...>> Let me know if you need clarification one answers to your other> questions.> MS>>> siva prasad wrote:
>  >>  >>  > From: *siva prasad* <[EMAIL PROTECTED]> [EMAIL PROTECTED]
> [EMAIL PROTECTED]> [EMAIL PROTECTED]  > Date: Aug 28, 2006 12:52 AM
>  > Subject: Delta application -help required>  > To: tinyos-help@millennium.berkeley.edu> 
tinyos-help@millennium.berkeley.edu>>  > tinyos-help@millennium.berkeley.edu> 
tinyos-help@millennium.berkeley.edu>>>  >>  > hi all...>  >>  > i am working on sampling the ADC value instead of> DEmosensorc...in the>  > delta application provided by moteiv.
>  >>  > i am glad to say tht ..i hav successfully compiled it ...>  > and installed..it worked...>  > the problem is when i tried to undrstand the program..i am facing
> some>  > difficulties>  >>  > -> i could nt understand the task..named...sendDone( )>  >>  > -> while i tried to see the raw data using listen tool...it is
> showing>  > 42 bytes...but i could nt figured out the data format..>  >>  > ->one more problem is...the signal tht i want to sample is a low>  > frequency signal..abt 30Hz...
>  >if i increase the sampling time to 10ms ..i am losing lots of> packets...>  >>  > can any body pls help me...>  >>  > thanks>  >
>  > siva katru>  >>  >>  >> >  >>  > ___
>  > Tinyos-help mailing list>  > Tinyos-help@Millennium.Berkeley.EDU> 
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] Delta application -help required

2006-08-30 Thread Michael Schippling

As I said, based on my (small) experience with micaz I believe
that 100 messages per second is about the max you can expect.
And that 100 is for the total system, not per mote (unless of
course you have only one mote transmitting). If you are doing
multihop then you need to divide the total messages by the
number of hops (each hop being it's own message) to get even
a best case estimate -- ignoring hidden nodes and any other
actual practical considerations.

So the only way I see to get your higher sample rate is to
aggregate samples, say 10 per message. You would need to
do some testing in various configurations to see how many
messages you can get...let's say, the source and two hops gives
you best case 30 msg/sec, with 10 samples/msg, is 300 samples/sec.

Nobody said that motes were a High Speed sensor network...
MS


siva prasad wrote:

thanks for ur reply michael,
 
if i sample the signal at 1ms(suppose for 50hz signal) then it will be 
better ...that is required for my application ...one more thing is that, 
the system tht i want to monitor is highly dynamic in nature..so the 
data should be send for every 1ms...i think 1ms is sufficient for just 
measuring the external ADC value..and sending this value using 
multihop(must) technique...
But the problem is. i am losing lot of packets abt 50% even for the 
sampling period at 10 msdo u hav any different idea tht ...how can i 
overcome this problem

any help should be highly appreciated...
 
if we cant sample and send(using multihop) the data in 1ms ...pls give 
the reason...
 
still i did nt clear my old doubts...


 
On 8/30/06, *Michael Schippling* <[EMAIL PROTECTED] 
> wrote:


I don't know the message rate you can expect from moteiv motes
but if you are trying to send one sample every 10ms you are
probably pretty close to the limit (somewhere on the order of
100 msg/sec is the max for micaz's). You'll probably need to
collect multiple samples in one message to get anywhere at 30Hz...

Let me know if you need clarification one answers to your other
questions.
MS


siva prasad wrote:
 >
 >
 > From: *siva prasad* <[EMAIL PROTECTED]
 >>
 > Date: Aug 28, 2006 12:52 AM
 > Subject: Delta application -help required
 > To: tinyos-help@millennium.berkeley.edu

 > mailto:tinyos-help@millennium.berkeley.edu>>
 >
 > hi all...
 >
 > i am working on sampling the ADC value instead of
DEmosensorc...in the
 > delta application provided by moteiv.
 >
 > i am glad to say tht ..i hav successfully compiled it ...
 > and installed..it worked...
 > the problem is when i tried to undrstand the program..i am facing
some
 > difficulties
 >
 > -> i could nt understand the task..named...sendDone( )
 >
 > -> while i tried to see the raw data using listen tool...it is
showing
 > 42 bytes...but i could nt figured out the data format..
 >
 > ->one more problem is...the signal tht i want to sample is a low
 > frequency signal..abt 30Hz...
 >if i increase the sampling time to 10ms ..i am losing lots of
packets...
 >
 > can any body pls help me...
 >
 > thanks
 >
 > siva katru
 >
 >
 >

 >
 > ___
 > 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] Delta application -help required

2006-08-30 Thread siva prasad
hi ole,
i am very thankful to unow, i understand whats going on..
but one thing remindsthat is ---i asked abt sampling at 1ms and sending the data in tht time only...for an external ADC signal of 50 hz(say)using multihop(obvious) technique...the thing is i am losing lots of packets...how can i overcome this problem...?

i need help in this area...
once again thank u. 
On 8/30/06, Ole Bischoff <[EMAIL PROTECTED]> wrote:



Hy Siva,
 
here is a short description of the Delta application:
- StdControl.start() calls the command Timer.start() to start the programm
- Every time when Timer.fired() (periodically, all DELTA_TIME ms) the sensor gets the request ADC.getData
()
- When the data is ready (ADC.dataReady()), the sendData() task will be posted
- sendData() sends the sensor reading and some route information in the message dmsg with SendDeltaMsg.send
()
 

- SendDeltaMsg.sendDone() indicates that the message was sent by your mote (it's is not an ACK from your destination) and erases it from the queue buffer

- SnoopDeltaMsg.intercept() reports an incoming message, which should be forwarded (by the MultiHop module)
 
If you want to know why and which parent / route is selected in sendData() you'll have to take a closer look at .../moteiv/tos/lib/MultiHopLQI.

Genrerally it is helpfull to compile the apps with make tmote fileset to generate a filest.txt file in .../build/tmote that lists the used components and header including the location of each source file.

Also you can create some documentation of an application by using make tmote docs instead, this generates a html-based documentation in .../moteiv/doc/nesdoc. There you can see all the apps, components, interfaces and the wiring.

 
Hope this helps you a bit.

 
OLE
 



- Original Message - 
From: siva prasad 

To: tinyos-help@Millennium.Berkeley.EDU
 
Sent: Wednesday, August 30, 2006 5:47 AM
Subject: [Tinyos-help] Delta application -help required
 From: siva prasad <[EMAIL PROTECTED]
>Date: Aug 28, 2006 12:52 AMSubject: Delta application -help required To: tinyos-help@millennium.berkeley.edu



hi all...
 
i am working on sampling the ADC value instead of DEmosensorc...in the delta application provided by moteiv.
 
i am glad to say tht ..i hav successfully compiled it ...
and installed..it worked...
the problem is when i tried to undrstand the program..i am facing some difficulties
 
-> i could nt understand the task..named...sendDone( )
 
-> while i tried to see the raw data using listen tool...it is showing 42 bytes...but i could nt figured out the data format..
 
->one more problem is...the signal tht i want to sample is a low frequency signal..abt 30Hz...
   if i increase the sampling time to 10ms ..i am losing lots of packets...
   
can any body pls help me...
 
thanks
 
siva katru





___Tinyos-help mailing listTinyos-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] Delta application -help required

2006-08-30 Thread Ole Bischoff



Hy Siva,
 
here is a short description of the Delta 
application:
- StdControl.start() calls the command Timer.start() to start the programm
- Every time when Timer.fired() (periodically, all DELTA_TIME ms) the sensor gets the request ADC.getData()
- When the data is ready (ADC.dataReady()), the sendData() task will be posted
- sendData() sends 
the sensor reading and some route information in the message dmsg with SendDeltaMsg.send()
 

- SendDeltaMsg.sendDone() indicates that the message was 
sent by your mote (it's is not an ACK from your destination) and erases it 
from the queue buffer
- SnoopDeltaMsg.intercept() reports an incoming 
message, which should be forwarded (by the MultiHop module)
 
If you want to know why and which parent / route is 
selected in sendData() you'll have to take 
a closer look at .../moteiv/tos/lib/MultiHopLQI.
Genrerally it is helpfull to compile the apps with 
make tmote fileset to 
generate a filest.txt file in .../build/tmote that lists the used 
components and header including the location of each source 
file.
Also you can create some documentation of an 
application by using make tmote docs instead, 
this generates a html-based documentation in .../moteiv/doc/nesdoc. There you 
can see all the apps, components, interfaces and the wiring.
 
Hope this helps you a bit.
 
OLE
 

  - Original Message - 
  From: 
  siva prasad 
  
  To: tinyos-help@Millennium.Berkeley.EDU 
  
  Sent: Wednesday, August 30, 2006 5:47 
  AM
  Subject: [Tinyos-help] Delta application 
  -help required
  From: siva prasad <[EMAIL PROTECTED]>Date: Aug 28, 
  2006 12:52 AMSubject: Delta application -help required To: tinyos-help@millennium.berkeley.edu
  
  
  hi all...
   
  i am working on sampling the ADC value instead of DEmosensorc...in 
  the delta application provided by moteiv.
   
  i am glad to say tht ..i hav successfully compiled it ...
  and installed..it worked...
  the problem is when i tried to undrstand the program..i am facing some 
  difficulties
   
  -> i could nt understand the task..named...sendDone( )
   
  -> while i tried to see the raw data using listen tool...it is 
  showing 42 bytes...but i could nt figured out the data format..
   
  ->one more problem is...the signal tht i want to sample is a low 
  frequency signal..abt 30Hz...
     if i increase the sampling time to 10ms ..i am losing 
  lots of packets...
     
  can any body pls help me...
   
  thanks
   
  siva katru
  
  

  ___Tinyos-help mailing 
  listTinyos-help@Millennium.Berkeley.EDUhttps://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] Delta application -help required

2006-08-30 Thread siva prasad
thanks for ur reply michael,
 
if i sample the signal at 1ms(suppose for 50hz signal) then it will be better ...that is required for my application ...one more thing is that, the system tht i want to monitor is highly dynamic in nature..so the data should be send for every 1ms...i think 1ms is sufficient for just measuring the external ADC value..and sending this value using multihop(must) technique...

But the problem is. i am losing lot of packets abt 50% even for the sampling period at 10 msdo u hav any different idea tht ...how can i overcome this problem
any help should be highly appreciated...
 
if we cant sample and send(using multihop) the data in 1ms ...pls give the reason...
 
still i did nt clear my old doubts... 
On 8/30/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
I don't know the message rate you can expect from moteiv motesbut if you are trying to send one sample every 10ms you are
probably pretty close to the limit (somewhere on the order of100 msg/sec is the max for micaz's). You'll probably need tocollect multiple samples in one message to get anywhere at 30Hz...Let me know if you need clarification one answers to your other questions.
MSsiva prasad wrote:>>> From: *siva prasad* <[EMAIL PROTECTED] [EMAIL PROTECTED]>>
> Date: Aug 28, 2006 12:52 AM> Subject: Delta application -help required> To: tinyos-help@millennium.berkeley.edu> 
tinyos-help@millennium.berkeley.edu>>> hi all...>> i am working on sampling the ADC value instead of DEmosensorc...in the> delta application provided by moteiv.>> i am glad to say tht ..i hav successfully compiled it ...
> and installed..it worked...> the problem is when i tried to undrstand the program..i am facing some> difficulties>> -> i could nt understand the task..named...sendDone( )>
> -> while i tried to see the raw data using listen tool...it is showing> 42 bytes...but i could nt figured out the data format..>> ->one more problem is...the signal tht i want to sample is a low
> frequency signal..abt 30Hz...>if i increase the sampling time to 10ms ..i am losing lots of packets...>> can any body pls help me...>> thanks>> siva katru>
>> >> ___> 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] Delta application -help required

2006-08-30 Thread Michael Schippling

I don't know the message rate you can expect from moteiv motes
but if you are trying to send one sample every 10ms you are
probably pretty close to the limit (somewhere on the order of
100 msg/sec is the max for micaz's). You'll probably need to
collect multiple samples in one message to get anywhere at 30Hz...

Let me know if you need clarification one answers to your other questions.
MS


siva prasad wrote:



From: *siva prasad* <[EMAIL PROTECTED] >
Date: Aug 28, 2006 12:52 AM
Subject: Delta application -help required
To: tinyos-help@millennium.berkeley.edu 



hi all...
 
i am working on sampling the ADC value instead of DEmosensorc...in the 
delta application provided by moteiv.
 
i am glad to say tht ..i hav successfully compiled it ...

and installed..it worked...
the problem is when i tried to undrstand the program..i am facing some 
difficulties
 
-> i could nt understand the task..named...sendDone( )
 
-> while i tried to see the raw data using listen tool...it is showing 
42 bytes...but i could nt figured out the data format..
 
->one more problem is...the signal tht i want to sample is a low 
frequency signal..abt 30Hz...

   if i increase the sampling time to 10ms ..i am losing lots of packets...
  
can any body pls help me...
 
thanks
 
siva katru





___
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] Delta application -help required

2006-08-29 Thread Hui KANG

>i am working on sampling the ADC value instead of DEmosensorc...in the delta
>application provided by moteiv.
>
>i am glad to say tht ..i hav successfully compiled it ...
>and installed..it worked...
>the problem is when i tried to undrstand the program..i am facing some
>difficulties
>
>-> i could nt understand the task..named...sendDone( )
When the message is sent, you get this event.

>
>-> while i tried to see the raw data using listen tool...it is showing 42
>bytes...but i could nt figured out the data format..
This is multihop message format.
>
>->one more problem is...the signal tht i want to sample is a low frequency
>signal..abt 30Hz...
>   if i increase the sampling time to 10ms ..i am losing lots of packets...
>
>can any body pls help me...
>
>thanks
>
>siva katru

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