[Tinyos-help] Regarding Sampling Application
Coalton Bennett
cb322 at cornell.edu
Thu Jan 24 14:47:44 PST 2008
Hello TinyOs Programmers,
I have a quick coding question. I am using the MDA300CA data
acquisition board that I have coupled to a mote which is sampling a
voltage which is between the designated ranges for the ADC onboard
the MDA300CA. I will use one of the seven designated ADC channels
[0-6] to sample the signal.
A few words about the signal that I am sampling. It is a 60Hz signal
with an amplitude within the designated range as specified by the
instructions manual for the MDA300CA. Given that information, I
wanted to know two things. Could anyone make any recommendations
about what the code should be? Or has anyone worked on something
similar? If so would you be able to provide some ideas about how to
write the code. (I am not even a novice in TinyOS so I am still
trying to learn from tutorials). The second question that I have is
regarding the speed of the sampler. I need to ensure that the
sampling rate is fast enough so that I have enough samples for
reconstruction of the waveform at the base station(PC). However it is
not a requisite for the mote which is sampling the wave form to send
the data as soon as it is sampled. I plan on using a buffer. Time is
important but a few seconds of delay is quite alright. My application
doesn't require real time data in the sense that the delay can't be
any longer than 10 seconds or so. So a buffer is quite alright. If
anyone has any ideas of old pieces of code that they think could be
modified to work with my application I would greatly appreciate it.
C.B.
More information about the Tinyos-help
mailing list