A Arduino Board with ADC sampling frequency > 26 khz


i have sensor needs sampling frequency equal 26 khz.

i have written arduino code takes these values , sends server of esp8266

 i don't want shift new microcontroller (embedded programming)

the fastest adc clock can run 10-bit resolution 200 khz , takes 13.5 clock cycles complete reading that's 14.8 ksps (kilo-samples per second).  to 26 ksps need adc clock run at 351 khz or higher. prescale factors limit choices on 16 mhz arduino to: 8 mhz, 4 mhz, 2 mhz, 1 mhz, 512 khz, 256 khz, or 128 khz. you need use 512 khz (slowest value faster 351 khz).  at 200 khz lose 2 bits of accuracy (leaving 8 bits) and @ 1 mhz lose 4.5 bits of accuracy (leaving 5.5 bits) expect can count on 6 or 7 bits of accuracy.

you can tell adc start conversion on timer/counter1 output compare match b should allow sample @ 26 khz (or close, depending on how math works out).

good luck!

note: can external adc devices can sample faster , higher accuracy if need it.



Arduino Forum > Using Arduino > Project Guidance > A Arduino Board with ADC sampling frequency > 26 khz


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts