[Tinyos-help] Programming ADCs on MicaZ/Atmega128

Jeff Chen shihjeff at gmail.com
Tue Dec 9 14:16:09 PST 2008


Hey All,

I'm using TinyOS 2.0.2 and the MicaZ motes (ATmega 128s) to interact with
the ADCs.  I'm trying to connect 3 ultrasound sensors with ADC output to the
MicaZ through the 51 pin header (pin 36-43 are the 8 ADC pins from the
ATmega128).

After going through the tutorials, code and TEPs, I'm still not quite sure
how TinyOS abstracts from the physical ADC pin on the Atmega all the way to
the "Read" function in the HAL.  After diving into the code, the abstraction
seems to go on and on...  Also, "Read" so far seems only to read a single
generic ADC device input



More information about the Tinyos-help mailing list