Search found 9 matches

by mnemonix
Thu Sep 07, 2017 12:15 am
Forum: ESP32 Arduino
Topic: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?
Replies: 43
Views: 127693

Re: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?

The -6dB range with 11 bits looks quite linear, if only this 0.1V offset would not exist.
But for your application with a 0..10V Input you need anyway an external resistor voltage divider, so you can just add a third resistor to lift the voltage by 0.1 V. Here is a possible circuit:
ADC0-10V.png
ADC0-10V.png (4.82 KiB) Viewed 29706 times
by mnemonix
Wed Sep 06, 2017 3:21 am
Forum: ESP32 Arduino
Topic: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?
Replies: 43
Views: 127693

Re: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?

....I'm not sure what else I can try. Maybe you can learn a bit of C, for example how to call a function instead of just declaring it? ;) Here is a stripped down version of what I used to test the ADCs (I've not tested if it works in this minimal version): int n = 0; void setup() { Serial.begin(115...
by mnemonix
Wed Aug 23, 2017 12:55 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 785099

Re: What would you like to see in The Next Chip?

... - More than 2 cores: Not saying we won't do that, but just curious: can I ask if you have specific use cases you're able to do with more cores that you can't do with two? .... - Fast lo-res ADC: Can I ask what use case you have in mind for this? I think of several small cores tied to GPIOs for ...
by mnemonix
Tue Aug 22, 2017 1:50 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 785099

Re: What would you like to see in The Next Chip?

I would like to see: - RISC-V ISA instead of Tensilica (spares some license costs and allows upscaling to 64/128 bits later, I see Espressif is already a Risc-V member) - more than 2 cores - Better ADC specs (range down to zero) - Maybe a fast, low resolution ADC, i.e. 8bit 32 MHz - Integrated Sigma...
by mnemonix
Tue Jun 06, 2017 10:35 pm
Forum: ESP32 Arduino
Topic: Analog READ - Precision?
Replies: 3
Views: 9344

Re: Analog READ - Precision?

There is some non-linearity in the ADC range, see my post here: viewtopic.php?f=12&t=1045#p4636

As you can see there the linearity is much better with the -0dB and -6dB settings. But there is always a little blind spot near zero.
by mnemonix
Tue Jun 06, 2017 10:26 pm
Forum: Hardware
Topic: [Answered] What are the ADC input ranges?
Replies: 17
Views: 92244

Re: [Answered] What are the ADC input ranges?

Sorry for the late respond, just seen your question today.

Attached is my LibreOffice Calc-sheet I hope you can use it.
by mnemonix
Sat Jan 28, 2017 4:52 am
Forum: Hardware
Topic: [Answered] What are the ADC input ranges?
Replies: 17
Views: 92244

Re: [Answered] What are the ADC input ranges?

With 10 Bit resolution and averaging over 8 Samples, it looks now much better. The heavy linearity error is just in the -11dB range of the ADC. All ranges have the problem that they don't go down to zero, so input voltage under 0.04/0.08/0.1 Volt can't be measured without some analog offset generati...
by mnemonix
Sat Jan 28, 2017 1:35 am
Forum: Hardware
Topic: [Answered] What are the ADC input ranges?
Replies: 17
Views: 92244

Re: [Answered] What are the ADC input ranges?

Sure, oversampling and filtering helps to reduce the noise and increase the resolution, but not helps for the non-linearity. The datasheets for other microcontrollers normally say: non-linearity: + - 1 LSB, that is 1/4096 of the full range. SAR ADCs (successive approximation) have this high linearit...
by mnemonix
Thu Jan 26, 2017 11:00 am
Forum: Hardware
Topic: [Answered] What are the ADC input ranges?
Replies: 17
Views: 92244

Re: What are the ADC input ranges?

Yeah the ADC of the ESP32 is a bit disappointing, compared to the rest. The result is not only noisy, but also not very linear. You can't measure values down to zero Volts, the ADC shows zero with an input of ~0.1V. Same problem at upper end, but that is not so important. Here is what I have measure...