Hi Hafid,

On Fri, Jul 22, 2011 at 10:31 AM, hafid oussaadi <[email protected]> wrote:
> Dear all,
> Thanks Miklos for your quick and valuable reply. Concerning the MDA300
> drivers, It seems that they are the same either on Google code or on
> Sourceforge (drivers from UOIT). I have also tested the Microphone fast
> sampling application you gave me, using MTS300+IRIS as a mote and
> MIB520+IRIS as base station. After making few changes on the Makefile of the
> BaseStation application, I succeeded to run this application but the packet
> loss percentage was considerable (about 60%) and the red led of the mote was
> blinking which means  sending packet failure!
> So what was wrong?

Try running at half the speed (8.7 KHz) to see if that works. Your
Basestation also needs to be special, use the one we have on our
website (it needs 125 kbps UART and a fastserial library).

> Anyway, I wonder if the Atm128fastAdc library could be used on the
> MDA300+IRIS platform knowing that IRIS has an Atmega1281 microcontroller
>   and the MDA300 has its own 12 bits adc chip and the actual MDA300 drivers
> do not provide a ReadStream interface.

The microphone is connected to the ADC of the Atmega1281. I do not
know about your application though, so there you might have to use the
12 bits adc chiips.

Best,
Miklos

> Concerning my second question of my previous email, it was solved ,thanks to
> Alessandro , using this:
> App.TWO_HALF_VOLT -> MicaBusC.PW2;   //excitation 2,5V
>
>  uses interface GeneralIO as TWO_HALF_VOLT;      //interface excitation 2,5V
>
> call TWO_HALF_VOLT.set(); //excitation 2,5V
>
> Regards,
> Hafid
>
> _______________________________________________
> 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