[Tinyos-help] Troughput, time synchronized & low power on TMote
We are experiencing problems when trying to transmit data with high bit rate and at the same time have the network synchronized. We are aiming at getting a system working that fills the following requirements: * All network nodes must always be time synchronized. * The network shall be able to transmit highest possible data speed (typical 500 packets/s) * It shall be possible to switch to "low speed and low power mode". This shall be done in runtime. Is it possible to put these requirements into practice? We have studied the NetSync and NetWake code, but are still very confused. We would be very grateful if you can provide us with an example code which meets the requirements above. -Jörgen ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
SV: [Tinyos-help] Questions on NetSync and lowpower
Hi I need a description of the contents in the file NetSync.h and NetWake.h. MOTEIV_LOWPOWER_DUTYCYCLE ? TIME_PERIOD ? TIME_SYNC ? TIME_TIMEON ? TIME_TIMEOFF ? TIME_EXPIRE ? TIME_DELAY? INVALID_HOPCOUNT ? NETWAKE_MIN_INTERVAL ? What happends when I compile with LOWPOWER as in "MAKE TMOTE LOWPOWER". I will dynamically switch the dutycycle of the radio on-time without making a new compilation. Low power most of the time and high bandwith short times (60 minutes a day). Best Regards Jörgen -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Jörgen Johansson Skickat: den 22 juni 2006 08:28 Till: Joe Polastre; Henric Kärnhall Kopia: tinyos-help@Millennium.Berkeley.EDU Ämne: SV: [Tinyos-help] Questions on NetSync and lowpower Hi Joe, When I don´t compile with "LOWPOWER" I don´t get GlobalTime.isValid() = TRUE, why? How can I get both synchronization and full bandwith on the radio? How can I switch between LOWPOWER and HIGHPOWER in realtime. I need the full bandwidth about one hour a day. The reset of the time I will run the Tmote in low power mode. Best Regards Jörgen Johansson -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre Skickat: den 21 juni 2006 17:39 Till: Henric Kärnhall Kopia: tinyos-help@Millennium.Berkeley.EDU Ämne: Re: [Tinyos-help] Questions on NetSync and lowpower Hi Henric, The UART is always on, even in low power, if the node is connected to a base station. The radio is only on when NetSync defines the global periods. -Joe On 6/21/06, Henric Kärnhall <[EMAIL PROTECTED]> wrote: > Hi > > Thanks Joe for your answer on my last question. > > I have a few more questions on NetSync and about the lowpower flag to > make. > > I want to use NetSync to get the GlobalTime. But to use NetSync I have > to use the lowpower flag to make, correct? (e.g. make tmoteinvent MyApp > lowpower). And by using the lowpower mode things doesn’t work as I > would like to. For example the UART and radio is only enabled a short > time period every two second. > > To get the UART up and running I did like this: > > call Timer.start(TIMER_REPEAT, 50); > > ... > > event result_t Timer.fired(){ >if(call HPLUSARTControl.isUART() == FALSE) > call HPLUSARTControl.enableUART(); > } > > Is that ok? Or a bad idea? > > How can I get my network synchronized (with for example NetSync) but at > the same time have full speed radio communication? And how do I switch > between lowpower and full speed in runtime? > > Best regards, > Henric > > ___ > 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 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
SV: [Tinyos-help] Questions on NetSync and lowpower
Hi Joe, When I don´t compile with "LOWPOWER" I don´t get GlobalTime.isValid() = TRUE, why? How can I get both synchronization and full bandwith on the radio? How can I switch between LOWPOWER and HIGHPOWER in realtime. I need the full bandwidth about one hour a day. The reset of the time I will run the Tmote in low power mode. Best Regards Jörgen Johansson -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre Skickat: den 21 juni 2006 17:39 Till: Henric Kärnhall Kopia: tinyos-help@Millennium.Berkeley.EDU Ämne: Re: [Tinyos-help] Questions on NetSync and lowpower Hi Henric, The UART is always on, even in low power, if the node is connected to a base station. The radio is only on when NetSync defines the global periods. -Joe On 6/21/06, Henric Kärnhall <[EMAIL PROTECTED]> wrote: > Hi > > Thanks Joe for your answer on my last question. > > I have a few more questions on NetSync and about the lowpower flag to > make. > > I want to use NetSync to get the GlobalTime. But to use NetSync I have > to use the lowpower flag to make, correct? (e.g. make tmoteinvent MyApp > lowpower). And by using the lowpower mode things doesn’t work as I > would like to. For example the UART and radio is only enabled a short > time period every two second. > > To get the UART up and running I did like this: > > call Timer.start(TIMER_REPEAT, 50); > > ... > > event result_t Timer.fired(){ >if(call HPLUSARTControl.isUART() == FALSE) > call HPLUSARTControl.enableUART(); > } > > Is that ok? Or a bad idea? > > How can I get my network synchronized (with for example NetSync) but at > the same time have full speed radio communication? And how do I switch > between lowpower and full speed in runtime? > > Best regards, > Henric > > ___ > 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 mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Debug UART Tmote "printf"
I need a simple application that writes data to the USB UART for debug purpose, something like printf. Med vänliga hälsningar / Best Regards Jörgen Johansson Electronic System Design Saab AB mailto:[EMAIL PROTECTED] Dep TFI-JJ. Hus 123-2. Tel: +46 13 181696 Bröderna Ugglas gata Fax: +46 13 182219 581 88 Linköping Mobile 0733-920982 Sweden ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Boomerang UART0 Sample
There is a link failure on the http://www.moteiv.com/community/Boomerang_UART0_Sample page. I can´t download the Moteiv Boomerang Uart0 Sample.tar.gz. I think I can use the UART as a simple debuger. Does anyone used the UART as a trace? /Jörgen Johansson ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
SV: [Tinyos-help] GlobalTime in Tmote from Moteiv
How synchronized (us) is GlobalTime in different nodes? Is it possible to get an event e.g. once a second from GlobalTime? /Jörgen Johansson -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre Skickat: den 1 juni 2006 13:32 Till: Jörgen Johansson Kopia: tinyos-help@millennium.berkeley.edu Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv if (call GlobalTime.isValid()) { call GlobalTime.get(); } -Joe On 5/31/06, Jörgen Johansson <[EMAIL PROTECTED]> wrote: > Can you explain with an example how I can use the Globaltime in the Delta > example in Bomerang 2.0.2 ? > > /Jörgen Johansson > > -Ursprungligt meddelande- > Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre > Skickat: den 30 maj 2006 18:51 > Till: Jörgen Johansson > Kopia: tinyos-help@millennium.berkeley.edu > Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv > > > GlobalTime is provided by the NetSyncC component. If you're not using > networkwide synchronization, then there is no GlobalTime provided. > > -Joe > > On 5/30/06, Jörgen Johansson <[EMAIL PROTECTED]> wrote: > > How can I access the GlobalTime from my code? I will have a main node as a > > time master. > > Is the timesynchronization only active when compiled with "lowpower"? > > Shall I include the file GlobalTime.nc or shall I wire the NetSync > > component? > > What´s the accuracy of the GlobalTime? > > > > My application is a system that will wake up one hour once a day. At that > > hour I will send as much data as possible. The rest of the time I will save > > power and only listen for a wakeup command. > > > > Best Regards > > Jörgen Johansson > > > > ___ > > 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
SV: [Tinyos-help] GlobalTime in Tmote from Moteiv
Can you explain with an example how I can use the Globaltime in the Delta example in Bomerang 2.0.2 ? /Jörgen Johansson -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Joe Polastre Skickat: den 30 maj 2006 18:51 Till: Jörgen Johansson Kopia: tinyos-help@millennium.berkeley.edu Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv GlobalTime is provided by the NetSyncC component. If you're not using networkwide synchronization, then there is no GlobalTime provided. -Joe On 5/30/06, Jörgen Johansson <[EMAIL PROTECTED]> wrote: > How can I access the GlobalTime from my code? I will have a main node as a > time master. > Is the timesynchronization only active when compiled with "lowpower"? > Shall I include the file GlobalTime.nc or shall I wire the NetSync component? > What´s the accuracy of the GlobalTime? > > My application is a system that will wake up one hour once a day. At that > hour I will send as much data as possible. The rest of the time I will save > power and only listen for a wakeup command. > > Best Regards > Jörgen Johansson > > ___ > 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] GlobalTime in Tmote from Moteiv
How can I access the GlobalTime from my code? I will have a main node as a time master. Is the timesynchronization only active when compiled with "lowpower"? Shall I include the file GlobalTime.nc or shall I wire the NetSync component? What´s the accuracy of the GlobalTime? My application is a system that will wake up one hour once a day. At that hour I will send as much data as possible. The rest of the time I will save power and only listen for a wakeup command. Best Regards Jörgen Johansson ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help