From the schematic it looks like PW5 controls the power to the Mag
section of the micasb/MTS310. This pin seems to be toggled by the
start() and stop() functions in sensorboards/micasb/MagM.nc. But
I don't see those functions being called in the test app code...
which was too convoluted for me to follow.

I would first check PW5, aka, PortC Pin5: pin 40 on the Atmega or
pin 34 on the expansion connector, to see what it's doing.
Then probably just junk the whole test program and write a simpler
one using MagM directly, maybe based on apps/Sense.

MS


bahare nadery wrote:
> Hi,
> 
> I have a problem using MTS310 sensor boards. I have tested the 
> magnetometer sensors in some MTS310 boards which are hmc1002 as 
> mentioned in data-sheet. I`m currently using TinyOS1.1 and I programmed 
> my mica2 motes with MicaSBTest1 program, located in 
> /apps/MicaSBVerify/MicaSBTest1.
> 
> When I noticed there is not any led status change on approximation to a 
> magnetic field, I probed every pin on hmc1002 IC with a multimeter. 
> Although some pin in accelerometer had a 2volt voltage, it seems that no 
> power signal is routed to magnetometer sensors in my MTS310s. I tested 
> them with a multimeter and all pins were zero volt (all of 20 pins).
> 
> Where did I make mistake?
> 
> How can I turn magnetometer sensor on in MTS310?
> 
> Thanks for your help
> 
> bahare
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to