Mohammed,
I was having problems getting sensible readings for my 2.5V excitation
sensors when I removed the parameter EXCITATION_ALWAYS_ON. The
excitation just wasn't happening; I slowed the VOLTAGE_STABLE_TIME to
5 seconds and watched the voltage with a voltmeter and it did not
change to 2.5V. It stayed at 0V.
My colleague and I took a look at the code in IBADCM.nc and we made the
following changes:
Line 107. Add a call to VOLTAGE_BOOSTER_ON():
if(param[chan] & EXCITATION_25 ) { VOLTAGE_BOOSTER_ON();
TURN_VOLTAGE_BUFFER_ON();}
Line 133: Add a call to VOLTAGE_BOOSTER_OFF();
if(flag25==0) { VOLTAGE_BOOSTER_OFF(); TURN_VOLTAGE_BUFFER_OFF(); }
Line 143: Add a call to VOLTAGE_BOOSTER_ON();
TURN_VOLTAGE_BUFFER_ON(); VOLTAGE_BOOSTER_ON();
This has resulted in observable voltage change and in correct values for
my sensors (temperature).
I think that these changes should be incorporated into CVS. I would be
happy submit a bug report to a tracking system if you want, but since it's
in contrib/xbow, I'm not sure where that would be.
-Kim Nico
Remtrol, Inc.
www.remtrol.com
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users