Hi,

I am trying to get the light sensor of an MTS300 sensorboard (I think its CB
as it has the green wire at the back) to work with a micaZ mote. I started
from the tinyos 2.0.0 release code, but couldnt get it to work. So I copied
over the tos/sensorboards/mts300/* files from the tinyos 2.0.2 release and
then made the following changes:

* Changed MicaBusC.nc by adding the Int0,1,2,3 pins and wiring them to
HplAtm128GeneralIOC.PortE4,5,6,7 respectively.
* Replaced ResourceDefaultOwner with ResourceController in
PhotoTempDeviceC.nc

This enabled me to compile the code and get it running on the micaz with the
PhotoC sensor wired into my app. But simply wiring in the PhotoC sensor (and
not even calling 'read' on it) causes the radio to stop working. I've also
tried changing

TempControl.Power -> MicaBusC.Int2;

in PhotoTempDeviceC.nc to

TempControl.Power -> MicaBusC.PW0

as per a previous email on this list, but that doesnt enable the radio to
work either.

Is there some way I can still get the light sensor and the radio to work in
this configuration? Or must I update my entire tinyos tree to 2.0.2?

Thanks
Tahir.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to