Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

New!

Thinking MCU? Think TI
Visit the new
TI MCU resource center for the latest videos and documents to help support your design efforts.

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | ADC Speed


Advertise Here

Discussion forum for the BasicX family of microcontroller chips.

ADC Speed - Author Unknown - Feb 3 17:15:00 2000

The Atmel info sheet specifies between 22 and 66 uSecs depending on
precision of 1.5 to 0.5 LSB.

In the real world, how many samples per second can I take with the BX24
on one channel, and how quickly can I poll the other 7 ADC channels? There is
no instruction to PAUSE in the documentation.



______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: ADC Speed - Frank Manning - Feb 3 17:15:00 2000

> From:
>
> The Atmel info sheet specifies between 22 and 66 uSecs depending
> on precision of 1.5 to 0.5 LSB.
>
> In the real world, how many samples per second can I take with
> the BX24 on one channel, and how quickly can I poll the other
> 7 ADC channels?

The maximum sample rate is about 6000 samples per second if you call GetADC.

> There is no instruction to PAUSE in the documentation.

Pause between samples, you mean? GetADC automatically handles timing, so
there's no need to add a pause between calls to GetADC.

Of course it's possible -- although I haven't tried it -- to get direct
low-level register access to the ADC. Timing would become an issue in that
case. I doubt that you could improve on the sample rate, though.

-- Frank Manning
-- NetMedia, Inc.


______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: ADC Speed - Author Unknown - Feb 3 17:30:00 2000

At 10:15 PM 2/3/00 +0000, wrote:

>The Atmel info sheet specifies between 22 and 66 uSecs depending on
>precision of 1.5 to 0.5 LSB.
>
>In the real world, how many samples per second can I take with the BX24
>on one channel, and how quickly can I poll the other 7 ADC channels? There is
>no instruction to PAUSE in the documentation.

Someone from Netmedia once said that if you were sampling all eight
channels it would run at about 750 samples/sec/channel. Obviously, this
figure will be higher if you're checking fewer channels...

Hope this helps, Duncan




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )