Sorry, I'm a dinosaur and don't use T2.
I would start searching for files named Mic or Microphone
and see what kind of interfaces they implement. Note that
the fastest you can get (T1) O'scope sampling to run is 3ms
which tops out in audio at about 166Hz.

MS

Akankshu Dhawan wrote:
> Hi Michael
> I have been able to get the Oscilloscope application working using the 
> DemoSensor. I now wanted to use the microphone onboard the MICA2 mote (I 
> have an MTS310CB sensorboard on top of the MICA 2 mote) .
> 
> I wanted to know the wiring conventions for the microphone component for 
> tinyos-2.x so that I can control the gain as well as sampling rate.
> 
> Regards
> Akankshu Dhawan
> 
> On Thu, May 7, 2009 at 2:26 AM, Michael Schippling <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Please send messages to the help list, as I am probably clueless...
> 
>     My memory of Mica2's indicates that you can free-run the ADCs at
>     quite high rates -- IIRC, 25 instruction cycles per conversion,
>     where (I think) each instruction is .5 microsec (but I might be
>     remembering a PIC controller rather than the ATMEGA), plus whatever
>     overhead you have in storing the results. YMMV. See the controller
>     manual for ADC operation. With software overhead 5KHz seems a
>     reasonable goal...if you have someplace to put the data.
> 
>     Transforming 1.x code to 2.x code is something I hope I never have
>     to do.
>     I think there are some advisory pages on the tinyos.doc website.
>     There should be no hardware issues since it remains a constant.
> 
>     MS
> 
>     Akankshu Dhawan wrote:
> 
>         Hi Michael
>         I recently came across this SoundRecorder code by Mr./Ms Maroti
>         in the tinyos-1.x contrib.
>         I am currently using tinyos-2.x contrib and m planning to work
>         this code to a tinyos-2.x version.
> 
>         It states that I can get a sampling rate of 14Khz and I wanted
>         to know whether the hardware I have is even capable of such
>         sampling (MICA2 motes and MTS310CB sensor board) ... I would be
>         happy even with a sampling rate of 2-4 KHz and wanted your
>         guidance on transforming 1.x code to 2.x and also the kind of
>         hardware issues I might come across.
> 
>         Regards
>         Akankshu Dhawan
> 
>         On Thu, May 7, 2009 at 1:56 AM, Michael Schippling
>         <[email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>> wrote:
> 
>            Please send messages to the help list in case someone (else)
>         can help...
> 
>            It looks like you have not installed the entire TOS system,
>         or have
>            moved things around. As far as I know you need to be under a
>         directory
>            like:  C:\cygwin\opt\tinyos-1.x\apps\Blink... to get the
>         compile system
>            to work correctly.
> 
>            MS
> 
>            Pramod pp wrote:
>             >
>             > Dear sir;
>             >
>             >         How is going life and hope you are doing better
>         there?  I've
>             > another problem about compiler.
>             >
>             > in TinyOS case, I am using nesC language. lets see this
>         problem
>            and hope
>             > you will help me to solve this problem. And there is error and
>            how can I
>             > solve this and how did that appear?? i want to get some
>         information
>             > about this which I've send u by attach file. Thank you for
>         seeing
>            this
>             > mail, hope I will get reply soon.
>             >
>             >
>             > Best wishes
>             > Bohara <Korea/S>
>             >
>             >
>             >
>             >
>             >
>             >
>          
>          
> ------------------------------------------------------------------------
>             > New Email names for you!
>             >
>          
>          
> <http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/>
>             >
>             > Get the Email name you've always wanted on the new @ymail and
>            @rocketmail.
>             > Hurry before someone else does!
>             >
>          
>          
> ------------------------------------------------------------------------
>             >
>            _______________________________________________
>            Tinyos-help mailing list
>            [email protected]
>         <mailto:[email protected]>
>            <mailto:[email protected]
>         <mailto:[email protected]>>
> 
>          
>          
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
>         -- 
>         First they ignore you, then they laugh at you, then they fight
>         you, then you win.
>         - Mahatma Gandhi
> 
> 
> 
> 
> -- 
> First they ignore you, then they laugh at you, then they fight you, then 
> you win.
> - Mahatma Gandhi
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to