[Tinyos-help] non-continous usage

2007-09-23 Thread Ákos Maróy
Hi,

I'm wondering what the pattern is for non-continous usage of the motes
(primarily for energy consumption)?

I viable pattern woult be to turn on the motes only at some intervals
(is there such a feature?) - but then this depends on the motes turning
on at the same time always, so that they can form a mesh network. if a
mote turns on always so that the other motes are off, it will never be
able to communicate with the others, will it?

I'm sure there's work already done in this area - any pointers?


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


Re: [Tinyos-help] non-continous usage

2007-09-23 Thread Philip Levis

On Sep 23, 2007, at 10:36 AM, Ákos Maróy wrote:


Hi,

I'm wondering what the pattern is for non-continous usage of the motes
(primarily for energy consumption)?

I viable pattern woult be to turn on the motes only at some intervals
(is there such a feature?) - but then this depends on the motes  
turning

on at the same time always, so that they can form a mesh network. if a
mote turns on always so that the other motes are off, it will never be
able to communicate with the others, will it?

I'm sure there's work already done in this area - any pointers?


Here's a starter on how to write a low-power app:

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson16.html

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


Re: [Tinyos-help] non-continous usage

2007-10-01 Thread Ákos Maróy
Philip Levis wrote:
> Here's a starter on how to write a low-power app:
> 
> http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson16.html

thanks...

I tried to get the LowPowerSensing tutorial app mentioned at the end of
this page from CVS, but it doesn't seem to be there :(

is this tutorial available somehwere?


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


Re: [Tinyos-help] non-continous usage

2007-10-01 Thread Kevin Klues
Its definitely there.  I just reran the set of commands mentioned at
the end of the tutorial:

cd $TOSROOT/apps/tutorials
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos
co -P -d LowPowerSensing tinyos-2.x/apps/tutorials/LowPowerSensing

and it checked it out for me.

Kevin

On 10/1/07, Ákos Maróy <[EMAIL PROTECTED]> wrote:
> Philip Levis wrote:
> > Here's a starter on how to write a low-power app:
> >
> > http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson16.html
>
> thanks...
>
> I tried to get the LowPowerSensing tutorial app mentioned at the end of
> this page from CVS, but it doesn't seem to be there :(
>
> is this tutorial available somehwere?
>
>
> Akos
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


-- 
~Kevin

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


Re: [Tinyos-help] non-continous usage

2007-10-04 Thread Ákos Maróy

Kevin Klues wrote:

Its definitely there.  I just reran the set of commands mentioned at
the end of the tutorial:

cd $TOSROOT/apps/tutorials
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos
co -P -d LowPowerSensing tinyos-2.x/apps/tutorials/LowPowerSensing

and it checked it out for me.


yes, you're right. first I just did an update on the original tinyos CVS 
I already checked out, and nothing came from there..


my mistake, sorry.

now I just have to understand what's going on here... :)


Akos

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


Re: [Tinyos-help] non-continous usage

2007-10-04 Thread Kevin Klues
Its all part of the tinyos cvs repository, you probably just forgot to
do a `cvs update -dP` to guarantee that newly created directories get
added and old deleted ones get pruned.

Kevin

On 10/4/07, Ákos Maróy <[EMAIL PROTECTED]> wrote:
> Kevin Klues wrote:
> > Its definitely there.  I just reran the set of commands mentioned at
> > the end of the tutorial:
> >
> > cd $TOSROOT/apps/tutorials
> > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login
> > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos
> > co -P -d LowPowerSensing tinyos-2.x/apps/tutorials/LowPowerSensing
> >
> > and it checked it out for me.
>
> yes, you're right. first I just did an update on the original tinyos CVS
> I already checked out, and nothing came from there..
>
> my mistake, sorry.
>
> now I just have to understand what's going on here... :)
>
>
> Akos
>
>


-- 
~Kevin

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


Re: [Tinyos-help] non-continous usage

2007-10-05 Thread Ákos Maróy

Kevin Klues wrote:

Its all part of the tinyos cvs repository, you probably just forgot to
do a `cvs update -dP` to guarantee that newly created directories get
added and old deleted ones get pruned.


yes, you're right, I did this typical mistake. been using svn for a 
while now, so I'm getting out of the usual tricks of CVS



so, I tried to add low power capabilities to my application. it's 
basically the MultihopOscilloscope, only changed to read from 3 
different ADC sensors versus the default sensor.


I read through TEP 116, and the sample code.

as for the sensor, I didn't really see that I'd have to change anything. 
the readings were already done parallelly, triggered by a timer. is this 
assumption correct? is there anything else to do?


as for the radio, I added the LPLProvider impelemetation, similar to the 
LowPowerSensing/Base sample. I added LPL.setLocalSleepInterval() before 
the AMRadio is started, and LPL.setRxSleepInterval() before things are 
sent to a Collection object.


but I wonder if this is sufficient. the multihop app is using snooping 
and collection for the communciation. I wonder if this all works out?


and actually, I can't really measure the power consumption, so I just 
don't know if there's any effect... sort of like walking in the dark



Akos

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