I'm just kibbitzing so nothing is necessary.
If a close reading of the ADC code reveals no
first sample timing issues, then I'm out of ideas
so tossing the first reading is my (second) best solution...
MS



Dimas Abreu Dutra wrote:
> I am actually *SURE* that the value was stable since I measured it on 
> the oscilloscope and saw no artifacts. Also, the accelerometer's power 
> comes from an I2C chip which is not affected by the microcontroller 
> reset, and I turned it on before reseting the mote. It is hard trying 
> with another voltage source since the circuit is smd, but if you think 
> it is necessary I can try it with the tmote mini.
> 
> ~Dimas~
> 
> On Mon, Jun 23, 2008 at 8:28 PM, Michael Schippling <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Now, is it possible that the accelerometer is "warming up".
>     Previously you said that you were _sure_ the the value was
>     stable when the first measurement was made. Can you try it
>     with a truly fixed voltage on the A0,1 input? The fact that
>     the InternalVoltage is OK would indicate that initial S/H
>     time might not be the culprit...
> 
> 
>     MS
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to