Re: [Tinyos-help] any command for resetting TMOTE SKY

2007-03-23 Thread Simon Davis
I think you want to implement the WDT watchdog timer to reset the mote
automatically after problems. See message number 10518.

Regards

Simon Davis
___
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] Sensirion SHTxx batch differences?

2007-02-20 Thread Simon Davis
Hello,

I've bought a number of Sensirion SHT11 and 15s as seperate chips to use
with Tmote Sky's. I'm soldering them onto ribbon cable and mounting them
within modified cable glands as weather-proof housings. I want to ensure
that my process isn't affecting the calibration of the sensors.

What I'm wondering is whether there's a possibility that Sensirion's
humidity calibration process is producing batches of sensors which agree
in calibration with each other but not with other batches. For instance I
have:

11 SHT15s (the number on them is 436 - week 43 2006) all reading 49-50%.
3 SHT11s (236) reading 58-59%.
2 SHT11s (066) reading 53-54%.

I realise there are different accuracies between models but I think the
three batches appear to have differing calibrations so that each batch is
in agreement within itself but not the other two? The temperature
readings on all are within accuracy and are evenly distributed. All have
been hand soldered, I don't think this has affected them.

Does anyone else notice anything like this?

Thanks

Simon

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

Re: [Tinyos-help] multihop and low power modes

2007-01-28 Thread Simon Davis
Hello,



Why do you think there will be a problem? I use Delta (which uses multihop) on 
Moteiv Tmotes with a 1% low power duty cycle and have no problems.

Simon



RE:
Hi,Maybe someone that knows the inner working of tinyos (or at least more than 
me) can answer this: Is it safe to assume I'll have a problem using multihop 
with low power modes?thanks in advance, Bruce
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TMote / Telos hardware design question

2006-10-22 Thread Simon Davis
Hello,

If a TMote / Telos is plugged into a USB port, 3V appears on U4 - the battery 
holder connection. If batteries (particularly disposables) are installed, is 
this going to cause a problem? If the batteries are partially exhausted then 
there's a danger of a reverse current presumably?

Thanks

Simon







-- 

Search for products and services at: 
http://search.mail.com


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


Re: [Tinyos-help] Delta and retransmissions question

2006-10-04 Thread Simon Davis
Hi,

Thanks, it's just that I've never seen a figure over 127 yet, perhaps I should 
look at my database harder. I suppose the way to keep track of retransmissions 
is to subtract the current from the previous when every DeltaMsg arrives.


Simon

-- 
___
Play 100s of games for FREE! http://games.mail.com


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


Re: [Tinyos-help] GIO1/ADC2 on Tmote

2006-09-05 Thread Simon Davis
Well, I guessed it was TOSH_MAKE_ADC2_INPUT(); and it works fine now.






-- 
___
Play 100s of games for FREE! http://games.mail.com/


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


Re: [Tinyos-help] GIO1/ADC2 on Tmote

2006-09-04 Thread Simon Davis
Hi,

Thanks for the response. The sensor I'm using requires about 2-3mA for 10ms, so 
I was hoping to avoid using an FET even though this isn't the sensible way. I 
like the idea of using GIO1 as a sink. I still have to set ADC2 as an input 
though? What would the command be?

Thanks

Simon






-- 
___
Play 100s of games for FREE! http://games.mail.com/


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


[Tinyos-help] GIO1/ADC2 on Tmote

2006-09-03 Thread Simon Davis
Hello,

I'm trying to use GIO1 as a power source for a sensor so I can turn it on and 
off to save power. If I put a voltmeter on the pad of R16 I get the battery 
voltage of about 3V appearing as it turns on. If I solder a 0ohm bridge on R16 
to feed it to pin 7 of the 10 pin header (which is also used by ADC2), the 
voltage drops to about 1.3V and it draws over 30mA - this is without any load 
on pin 7.

What am I doing wrong!? It's presumably something programmatic. I'm using 
TOSH_MAKE_GIO1_OUTPUT() and then turning it on and off with TOSH_SET_GIO1_PIN() 
and TOSH_CLR_GIO1_PIN(). Should I do something with ADC2 and why is the voltage 
dropping and 30mA being drawn?

Many thanks

Simon Davis










-- 
___
Play 100s of games for FREE! http://games.mail.com/


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


Re: [Tinyos-help] calibrating TMote Sky sensors???

2006-08-30 Thread Simon Davis
Hello,

Are the batteries on both motes supplying at least 2.4V? If it falls below, the 
readings will be different from what they should be. The SHT11's otherwise are 
calibrated by Sensirion at the factory, that's why they cost what they do!

Simon Davis 



On Tuesday 29 August 2006 09:55 am, Luis E. Palafox-Maestre wrote:
 Hi,

 Is there a way of calibrating the onboard sensors on the TMote? I'm asking
 this because I keep getting different readings for motes that are next to
 each other, for instance I consistently get temperature readings that are
 up two Celsius degrees apart.









-- 
___
Play 100s of games for FREE! http://games.mail.com/


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


[Tinyos-help] Tmote, Delta and lowpower

2006-05-26 Thread Simon Davis
Hello,

I'm still trying to work out what's going on with the Delta application 
compiled with lowpower. In the lowpower.extra file there's a setting :

LOWPOWER ?= 5

Changing the number doesn't seem to make any difference to the application when 
it's compiled. The motes run for 88 seconds (sending data to Trawler) and 
remain off for 5 minutes 34 seconds. Any explanation or comments on what's 
going on would be appreciated.

Thanks

Simon







-- 
___
Play 100s of games for FREE! http://games.mail.com/


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