[Tinyos-help] Switching Radio on/off

2007-08-17 Thread Hassan Naqvi
Hi All!
   
  I am working on a WSN for indoor environment monitoring. I want to make every 
senor should send the sensed data when there is a significant change in it. In 
order to implement this idea I need to make radio switich on and off time to 
time in order to do power saving.
   
  I just started to use TinyOS 2.0 with Tmote Sky motes. Please help me how can 
I make the Tmote Sky CC2420 on and off time to time.
   
  Regards,
   
  -Hassan



   
-
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Switching radio on/off

2007-10-04 Thread Nelisse, M.W. (Martin)
Hello everybody,

We are working on an outdoor WSN application, which should collect data
from one or more motes in the field to a single mote connected to a
computer. This mote has no power restrictions (powered via USB
connection), however the motes in the field do have power restrictions.
Currently the power consumption of these motes is rather high since the
radio reciever is always on. 

Our communication scheme is very simple: after a START command, the
field motes start transmitting data at regular interval for a (long)
fixed period of time; so after the START command the field motes do not
need to receive data from the central mote

We already looked into using NetSync or compiling for lowpower, but
these mechanisms seem to be rather complex for our approach. Is there an
easier way how we can switch off the radio chip between transmissions
(on the field motes)?

Martin


PS:
Some extra info:
- the mote connected to the PC is running TOSBase and all data is
collected using a Java application. 
- the motes are Tmote Sky, Tmote Mini and Tmote Mini Plus
- we use SPReceive and SPSend for communication on the field motes

This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html

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


RE: [Tinyos-help] Switching Radio on/off

2007-08-17 Thread David Moss
1.  Compile your application with the preprocessor variable
LOW_POWER_LISTENING defined to include the low power listening layer in your
radio stack:

 

make telosb lpl  (if lpl.extra is in your support/make directory)

 

-or-

 

Makefile:

  component=xyzC

  CFLAGS += -DLOW_POWER_LISTENING

  .

 

There's some other ways of doing that too.

 

2.  In your application, wire into CC2420ActiveMessageC's
LowPowerListening interface and call
LowPowerListening.setLocalSleepInterval(x);  where x is the receive check
interval in milliseconds (how often your radio wakes up to see if someone's
transmitting).

 

3.  When you're sending a message to a low power listener, you need to
tell your own radio about it.  Before you send a message, call
LowPowerListening.setRxSleepInterval(&myMsg, x);  where myMsg is the
message_t you're about to send, and x is the receiver's receive check
interval.

 

-David

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hassan
Naqvi
Sent: Friday, August 17, 2007 2:16 AM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Switching Radio on/off

 

Hi All!

 

I am working on a WSN for indoor environment monitoring. I want to make
every senor should send the sensed data when there is a significant change
in it. In order to implement this idea I need to make radio switich on and
off time to time in order to do power saving.

 

I just started to use TinyOS 2.0 with Tmote Sky motes. Please help me how
can I make the Tmote Sky CC2420 on and off time to time.

 

Regards,

 

-Hassan

  

  _  

Boardwalk for $500? In 2007? Ha! 
Play
<http://us.rd.yahoo.com/evt=48223/*http:/get.games.yahoo.com/proddesc?gameke
y=monopolyherenow>  Monopoly Here and Now (it's updated for today's economy)
at Yahoo! Games.

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

Re: [Tinyos-help] Switching Radio on/off

2007-08-17 Thread Ittipong Khemapech
Hello,

Any suggestions on doing this on TOSSIM (TinyOS 1.x)?

Many thanks,
Ittipong

On 17/08/07, David Moss <[EMAIL PROTECTED]> wrote:
>
>
>1. Compile your application with the preprocessor variable
>LOW_POWER_LISTENING defined to include the low power listening layer in 
> your
>radio stack:
>
>
>
> make telosb lpl  (if lpl.extra is in your support/make directory)
>
>
>
> -or-
>
>
>
> Makefile:
>
>   component=xyzC
>
>   CFLAGS += -DLOW_POWER_LISTENING
>
>   …
>
>
>
> There's some other ways of doing that too.
>
>
>
>1. In your application, wire into CC2420ActiveMessageC's
>LowPowerListening interface and call
>LowPowerListening.setLocalSleepInterval(x);  where x is the receive
>check interval in milliseconds (how often your radio wakes up to see if
>someone's transmitting).
>
>
>
>1. When you're sending a message to a low power listener, you need
>to tell your own radio about it.  Before you send a message, call
>LowPowerListening.setRxSleepInterval(&myMsg, x);  where myMsg is the
>message_t you're about to send, and x is the receiver's receive check
>interval.
>
>
>
> -David
>
>
>
>
>  ------
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Hassan Naqvi
> *Sent:* Friday, August 17, 2007 2:16 AM
> *To:* tinyos-help@Millennium.Berkeley.EDU
> *Subject:* [Tinyos-help] Switching Radio on/off
>
>
>
> Hi All!
>
>
>
> I am working on a WSN for indoor environment monitoring. I want to make
> every senor should send the sensed data when there is a significant change
> in it. In order to implement this idea I need to make radio switich on and
> off time to time in order to do power saving.
>
>
>
> I just started to use TinyOS 2.0 with Tmote Sky motes. Please help me how
> can I make the Tmote Sky CC2420 on and off time to time.
>
>
>
> Regards,
>
>
>
> -Hassan
>
>
>  --
>
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and 
> Now<http://us.rd.yahoo.com/evt=48223/*http:/get.games.yahoo.com/proddesc?gamekey=monopolyherenow>(it's
>  updated for today's economy) at Yahoo! Games.
>
> ___
> 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] Switching Radio on/off

2007-08-17 Thread David Moss
Hi Ittipong - No, I don't think it'll work in TOSSIM, especially in 1.x.
LPL was new to 2.x. 

-David

 

  _  

From: Ittipong Khemapech [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 17, 2007 11:36 AM
To: David Moss
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Switching Radio on/off

 

Hello,

Any suggestions on doing this on TOSSIM (TinyOS 1.x)?

Many thanks,
Ittipong

On 17/08/07, David Moss < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:

1.  Compile your application with the preprocessor variable
LOW_POWER_LISTENING defined to include the low power listening layer in your
radio stack:

 

make telosb lpl  (if lpl.extra is in your support/make directory)

 

-or-

 

Makefile:

  component=xyzC

  CFLAGS += -DLOW_POWER_LISTENING

  .

 

There's some other ways of doing that too.

 

2.  In your application, wire into CC2420ActiveMessageC's
LowPowerListening interface and call
LowPowerListening.setLocalSleepInterval(x);  where x is the receive check
interval in milliseconds (how often your radio wakes up to see if someone's
transmitting).

 

3.  When you're sending a message to a low power listener, you need to
tell your own radio about it.  Before you send a message, call
LowPowerListening.setRxSleepInterval(&myMsg, x);  where myMsg is the
message_t you're about to send, and x is the receiver's receive check
interval.

 

-David

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hassan
Naqvi
Sent: Friday, August 17, 2007 2:16 AM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Switching Radio on/off

 

Hi All!

 

I am working on a WSN for indoor environment monitoring. I want to make
every senor should send the sensed data when there is a significant change
in it. In order to implement this idea I need to make radio switich on and
off time to time in order to do power saving.

 

I just started to use TinyOS 2.0 with Tmote Sky motes. Please help me how
can I make the Tmote Sky CC2420 on and off time to time.

 

Regards,

 

-Hassan

  

  _  

Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now
<http://us.rd.yahoo.com/evt=48223/*http:/get.games.yahoo.com/proddesc?gameke
y=monopolyherenow>  (it's updated for today's economy) at Yahoo! Games.


___
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