On the micaz the INT2 pin is shared between the radio receiver
and the Temp power on the micasb. This could be causing some grief...
Search back on this list for some discussion, and there's a bit
about it in the xbow User's Manual. The workaround is to make
sure you do Temp conversions when there are no radio messages,
and to start and stop the sensor on each sample. I don't know
how this could affect the Photo readings, but perhaps something
got crossed-up in T2...
MS
Hugo Sousa wrote:
(using a mts300ca board on a crossbow micaz mote and tinyos 2.x)
A did a simple experiment, I added one Timer to the Oscilloscope
application, which is set periodic and samples the photosensor (every
100ms), lighting the leds with the most significant bits of the sensor
reading; the other timer is used with a startOneShot(5000) (on
Boot.booted() ) to start the radio when it is fired (just start the
radio, do nothing else, no sending and no receiving).
The light readings are ok before the radio starts, after that the value
always has the most significant bit on. It's not just that the bit is
on, the readings change on the other bits, but now the value is never
lower than 512 (most significant bit). After turning off the radio,
values go back to normal.
Turning on the radio is affecting the adc voltage readings? The same
happens with the TempC sensor, which has the same adc. The microphone
doesn't seem to be affected by this.
Any thoughts?
Cheers,
Hugo
On 4/24/07, *Hugo Sousa* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Forgot to mention, this only happens with the oscilloscope
application. With Sense the readings are normal.
On 4/24/07, *Hugo Sousa* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I never get light readings below a certain value (~500), not
even in a closed box, why is that? Any kind of calibration is
needed? Heat sensitivity? Also, while in the closed box, the
readings slowly go up.
Cheers,
Hugo
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help