Hi That board have an internal 12 bit ADC.
From the datasheet it seems it also have an internel voltage reference - because they multiply the reading by 2.5v. In case not, you should take care of the battery voltage at the reading time. Regards, André Envispot ----- Original Message ----- From: "Michael Schippling" <[email protected]> To: "Javier Barbarán" <[email protected]> Cc: "tinyos forum" <[email protected]> Sent: Wednesday, September 16, 2009 5:30 PM Subject: Re: [Tinyos-help] Driver for analog sensor 1.67 mv/W...hmm, at what I remember being 200W in full sun, that's not a very high voltage signal. I don't think you can change the reference voltage for the mica ADCs so you may need an amplifier to get a decent conversion range. A simple op-amp oughta do it. Otherwise just doing a straight-forward ADC conversion with getData() and dataReady() should do the trick just fine. See the Oscilloscope and Sense demo apps. MS Javier Barbarán wrote: > Hi all, > > I'll have to develop a driver for an analog sensor un TinyOS 2.x. The > sensor will be connected to a MDA300 connected to a micaZ or IRIS. And > the sensor will be a Davison solar radiation sensor showed in the > following link (is the one used by ekos): > http://www.davisnet.com/weather/products/weather_product.asp?pnum=06450. > > I have taken a look at TEP 102 about ADCs and TEP 109 about > sensorboards, and I guess I have to do something similar to > HamamatsuS1087 analog photodiode sensor, but the example is up to telos > platform, and I would like to know if everyone of you have develop or > have a clue about how is the best way to proceed. > > Thank you very much in advance, > > Regards > > Javier Barbarán > _______________________________________________ > 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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
