Hi Josh,

It depends on the type of output which your sensor has. If it is a digital
output, you should connect it to any of the GIO pins and use the
MSP430GeneralIO component, you have to notice that there are some GIO which
share pin with I2C connectios and ADC pins, so If you use either GIO1 or
GIO0 you have to connect R16/R15 as it is shown in TMoteSky dataSheet, if it
is analog output you should use ADC interface and connect the output in some
of ADC ports, as explained in this link:
http://www.moteiv.com/community/Connecting_External_Sensors

I hope this help you

Regards

David

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Josh Mason
Enviado el: miƩrcoles, 21 de octubre de 2009 7:26
Para: [email protected]
Asunto: [Tinyos-help] Attaching moisture sensor to TelosB

I'm trying to attach a Decagon EC-5 moisture sensor to a TelosB, but I'm
not really sure how to attach it or configure the mote to take the
readings from the external sensor.

I'm a bit confused on where to attach the excitation and the analog out
wire from the sensor to the mote.  I need to excite the the sensor for
about 10ms before I can get a reading, which I believe means I need to
connect it to the GIO.  Can I connect the analog out to another GIO or
does that need to go through one of the ADC pins?

I'm also having trouble trying to figure out how to wire my application
correctly.  Can any provide an example or point me in the right direction?
 Part of my problem is I don't know how to initialize the configuration
structure needed by the ADC to configure itself.  If I only use GIOs, do I
need to even do this?

Any help would be greatly appreciated.

- Josh

_______________________________________________
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