I managed to run the radio with the MTS300 light sensor by checking out an
entirely new tinyos 2.x source tree from CVS, and compiling my application
with the new source tree. Simply upgrading the tos/sensorboards/mts300
directory and making the changes I mentioned earlier were just not working.

But if somebody still finds out a solution to my previous problem, I will be
glad to know.

Thanks
Tahir.

On Tue, Jul 8, 2008 at 1:45 PM, Tahir Azim <[EMAIL PROTECTED]> wrote:

> I mean that the radio is unable to transmit any packets while the
> PhotoC component is wired into the configuration. When I unwire the
> PhotoC component, the radio starts working perfectly.
>
> Tahir.
>
> On 7/8/08, Philip Levis <[EMAIL PROTECTED]> wrote:
> >
> > On Jul 7, 2008, at 12:45 PM, Tahir Azim wrote:
> >
> >> 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?
> >
> > Can you define "causes the radio to stop working?"
> >
> > Phil
> >
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to