Hi,

I'm trying to connect some components to the ADC channels on a Mica2. I am not using the Crossbow sensorboards, but all of the code examples I have seen are using this sensorboard.
The only ports I have connected are the ADC channel (ADC3) and ground. No matter what voltage I put on the input channel, I get a very large value (>32000) as the input for the ADC. Am I missing something?


Does anyone have an example of code for the ADC that does not use a Crossbow sensorboard?

On a related issue,
ADC=(Vin / 1024) * Vref
Where Vin can be between 0 and (2^6-1)*Vref and Vref is 1.23 V.
Does this really mean that the ADC can take in voltages of up to 80V. I find that hard to believe.

Thanks very much,
Joe

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to