[Tinyos-help] Tinyos-2.x problem reading temperature with MTS310
Philip Levis
pal at cs.stanford.edu
Thu Jan 3 09:44:10 PST 2008
On Jan 3, 2008, at 9:38 AM, Michael Schippling wrote:
> I believe the MTS310 light and temp sensors use the same ADC channel
> and are enabled by toggling one (or two...) DIO lines. What this means
> is that you need to start and stop each of the sensors (in T1 at
> least)
> in between readings. Look through the T2 PhotoC and TempC code to see
> how they deal with it.
You don't need to do this kind of manual control in T2. I haven't
written or read the MTS310 drivers, though, so I don't have any idea
of what's going on. Roberto, if you don't get a response, you might
want to directly contact the authors of the code.
Phil
More information about the Tinyos-help
mailing list