If you haven't already, start by reading though the doc/tutorial
to get an idea what you are up against.

Then...all mote types have an Analog to Digital Converter (ADC)
which, conveniently enough, has a range from about 0-3.3v so
that should cover how to get the data. Look for modules named ADC.
The Oscilloscope demo app program is, sometimes, a good example of
collecting and sending data from one or more ADC channels.

Other examples of sending and receiving are CntToRfm, SenseToRfm,
and RfmToLeds.

Now, if you really want an analog signal at the receiving end you
have fewer options. The telos/tmote controller has an intriguing
DAC (Digital to Analog Converter) but I've never looked into it.
The other option is to use a PWM (Pulse Width Modulation) output,
vary the pulse width relative to the digital value, and integrate
the result with an RC network. Unfortunately I doubt that either
the DAC or the PWM features are supported under TOS, so you will
be doing some low-level controller programming.
If you are using the mica motes I have some PWM code in:
    http://www.etantdonnes.com/Motes/AVR128timers.zip

MS


Abdullah Kadri wrote:


Dear all,

I need to send an analog signal from one node to another. I am using two micaz motes. Can any one send me a brief idea on how to do that? The analog signal is 0-3 V. Any help will be very much appreciated.

Cheers,

Abdullah Kadri, P.Eng., Ph.D. Candidate
The University of Western Ontario
Department of Electrical and Computer Engineering
Phone: (519) 661-2111 ext. 81271


------------------------------------------------------------------------

_______________________________________________
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