ADC speed?

ESP_Sprite
Posts: 9711
Joined: Thu Nov 26, 2015 4:08 am

Re: ADC speed?

Postby ESP_Sprite » Wed Apr 18, 2018 8:45 am

There's no filter we put intentionally in the signal path. The bandwidth of the ADC just is more-or-less 6KHz if you want a linear frequency response.

Archibald
Posts: 110
Joined: Mon Mar 05, 2018 12:44 am

Re: ADC speed?

Postby Archibald » Wed Apr 18, 2018 10:04 am

Within the Arduino IDE and using the micros() function to time ADC sampling, I am measuring the sampling time to be close to 9.5μs (including storing measurements in an array).

Do we know if ESP32s contain sample-and-hold capacitors like the Atmel chips? If not, one wonders how well the successive approximation works with high-frequency high-amplitude signals. I have not found any mention of sample-and-hold in the Technical Reference Manual.

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: ADC speed?

Postby bobolink » Wed Apr 18, 2018 2:40 pm

There's no filter we put intentionally in the signal path. The bandwidth of the ADC just is more-or-less 6KHz if you want a linear frequency response.
Oh, OK. So it could be things like layout within the chip or something that limits to 6KHz.

I add an external anti-alias analog filter to limit the bandwidth to speech (4KHz) so I should be OK. I saw all these 44.1 KHz projects and wondered what was going on. Maybe they equalize.

Thanks

eric.osowski
Posts: 1
Joined: Wed May 09, 2018 2:17 am

Re: ADC speed?

Postby eric.osowski » Wed May 09, 2018 2:36 am

Hello, how are you?
You said that are have a vibration analysis project. I'm reseaching about the same project, for my final papper of Electrical Engineering.
I thought that ASP 1115 could do the job, but I didn't see that its SPS is very low.
Now,I have the same issue than you.
So the question is, did you find a solution for the rate of samples? I beliave that have to be biger than 30kSPS, what do you think?
could you help me?
if yes, my e-mail is eric.osowski@hotmail.com
if not, thank you anyway =)
Thanks.

Strontium
Posts: 20
Joined: Sat Dec 26, 2015 11:33 pm

Re: ADC speed?

Postby Strontium » Wed Jul 11, 2018 3:32 am

I am working on a development module that will have (among other things) 7 ADC inputs capable of 12 bit @ 1Msps. I am just finishing the layout now and will post more information elsewhere, however if you are interested in a small ESP32 based module with this feature drop me a PM and i will keep you updated.

mbalci
Posts: 16
Joined: Fri May 13, 2016 11:54 am

Re: ADC speed?

Postby mbalci » Wed Aug 29, 2018 12:47 pm

ESP_Sprite wrote:There's no filter we put intentionally in the signal path. The bandwidth of the ADC just is more-or-less 6KHz if you want a linear frequency response.
So what is the conclusion ? what is the maximum sampling rate of adc in esp32? I could not see such information in datasheet , very interesting why it did not included in it.

BaartCM
Posts: 17
Joined: Tue Mar 13, 2018 11:55 am

Re: ADC speed?

Postby BaartCM » Sat Sep 08, 2018 1:19 pm

I found out by experimenting that I can read the adc’s at a much higher rate than 6k but that the data is garbage. If I sample vibration readings from a motor at say 4K sps, I get a peak at the correct frequency when I do an fft but if I sample at a higher rate than 6k, the peak is not at the correct frequency and the fft content is rubbish.

stephensworld
Posts: 4
Joined: Sat Sep 08, 2018 5:23 pm

Re: ADC speed?

Postby stephensworld » Sun Sep 09, 2018 2:21 pm

I also need a higher sampling rate. Is there any way to get good results with higher sampling rate than 6Khz? External adc is no solution for me.

Thanks

Stephan

BaartCM
Posts: 17
Joined: Tue Mar 13, 2018 11:55 am

Re: ADC speed?

Postby BaartCM » Wed Sep 19, 2018 4:44 pm

stephensworld wrote:I also need a higher sampling rate. Is there any way to get good results with higher sampling rate than 6Khz? External adc is no solution for me
I’m afraid it would seem not. Your only option with the ESP32 is an external ADC. The STM32duino (BluePill) can sample much faster but has no WiFi or Bluetooth and much less memory and runs a lot slower.

Can I ask what is the problem with using an external ADC? An mcp3208 is easy enough to connect to and has libraries available and the cost is low.

Steve.

mbalci
Posts: 16
Joined: Fri May 13, 2016 11:54 am

Re: ADC speed?

Postby mbalci » Wed Oct 03, 2018 2:46 pm

How to set adc sampling rate when we get data via I2S ? As we can see I2S uses WS signal to sample adc , so what is the relation with
i2s_config.sample_rate = 120KHz; and ws signal ? is I2S sampling rate frequency of WS signal or frequency of i2s clock signal ?

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 75 guests