The telosb chip has a Digital to Analog Converter (DAC) which
is not implemented in TOS code, but there is some discussion
on this list if you search back. As a last resort you can read
the controller manual to figure out how to use it.
The mica chip has no DAC but you can use a timer output to make
a Pulse Width Modulation signal (on the telos chip too actually),
which can be low pass filtered with a capacitor to make a reasonable
analog output if your slew requirements are not significant. I have
some code for mica PWM here:
http://www.etantdonnes.com/Motes/AVR128timers.zip
MS
Anwar Mamat wrote:
>
> How do I get 0-3V analog output from telosb or mica motes?
>
> Thanks,
>
> Anwar Mamat
>
> _______________________________________________
> 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