ESP32 specifiaction
ESP32 specifiaction
is there any info on ADC I/O support? I mean channels, type of chanel, internal, external reference, speed?
8 channel ADC ...
think we have 13 BIT, 8 channel, can measure 0..4 V in 0..4096 by setting atten 0,1,2,3frenkR wrote:is there any info on ADC I/O support? I mean channels, type of chanel, internal, external reference, speed?
http://www.esp32.com/viewtopic.php?f=5&t=19&p=79&#p79
espguru
---------------------------------------------------------------------------------
do not wait - make it!
---------------------------------------------------------------------------------
do not wait - make it!
Re: ESP32 specifiaction
Isn't a range of 0-4095 12 bits?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: ESP32 specifiaction
Links / Info:kolban wrote:Isn't a range of 0-4095 12 bits?
===========
the ADC Test from 20 DEC 2015
Firmware & Pics
Posting theme
hope this helps
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: ESP32 specifiaction
btw..
"..GURU" information is ok, have the same info from code..
but the info "range" 0, 4096 is wrong and i started practical with firmware and test like you see in video.
btw, we have up to 16 channel
hope now is clear
..
"..GURU" information is ok, have the same info from code..
but the info "range" 0, 4096 is wrong and i started practical with firmware and test like you see in video.
btw, we have up to 16 channel
hope now is clear
..
Last edited by rudi ;-) on Thu Jan 07, 2016 4:08 am, edited 1 time in total.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
- ESP_Me-no-dev
- Posts: 80
- Joined: Mon Jan 04, 2016 6:30 pm
Re: ESP32 specifiaction
I have found the ADC to be really bad.
Full range at max attenuation (0-4V) actually is 0-3V or a bit below VCC
In the middle of the scale (2048) voltage is actually above 2Volts which is way off of the expected 1.5V (half of full)
Same can be noticed throughout the range and attenuations.
Basically you can not do any real measurement using this ADC.
Observations done with two multimeters.
Full range at max attenuation (0-4V) actually is 0-3V or a bit below VCC
In the middle of the scale (2048) voltage is actually above 2Volts which is way off of the expected 1.5V (half of full)
Same can be noticed throughout the range and attenuations.
Basically you can not do any real measurement using this ADC.
Observations done with two multimeters.
Re: ESP32 specifiaction
Actually, this isn't clear to me at all. When talking about the 'N-bits' of an ADC, it's commonly understood that you have a range of values from 0-(N^2-1) for a total of N^2 divisions (assuming non- 2s complement encoding). 13 bits would equal a range of 0 - 8191. If the range is truly 0-4096 then that doesn't make sense (from a hardware/implementation perspective), and at best it would be called '12-bit plus 1' or something.
Reza
Reza
- ESP_Me-no-dev
- Posts: 80
- Joined: Mon Jan 04, 2016 6:30 pm
Re: ESP32 specifiaction
Why are you guys going over those bits so much
It's really simple. 12 bits = 0 -> 4095 and those are actually 4096 steps, because 0 is a value as well.
It's really simple. 12 bits = 0 -> 4095 and those are actually 4096 steps, because 0 is a value as well.
Re: ESP32 specifiaction
me-no-dev wrote:
It's really simple. 12 bits = 0 -> 4095 and those are actually 4096 steps, because 0 is a value as well.
( fun! )
we have then 4096 steps?
example: 1v in
atten= 0
1V / 4096 = 0,000244140625 V
we have then max value 4095 = ( ( 1V / 4096 ) * 4095 ) = 0,999755859375V
if we have 4095 steps
1V / 4095 = 2,442002442002442e-4 V
we have then max value 4095 = ( (1V / 4095 ) * 4095 ) = 1V
..
btw
if we have value : 0
then
( ( 1 V / 4096 ) * 0 ) = 0
( ( 1 V / 4095 ) * 0 ) = 0
have a look : same here:
(/fun)
i allways calc
Value ?
Value : 4095
then 1 step = 1V / 4095
best wishes
rudi
btw
value 1023 same ( blue circle )
we have no 1 / 1024
we have max 1 / 1023
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: ESP32 specifiaction
you are right.thereza wrote:.. 13 bits would equal a range of 0 - 8191. If the range is truly 0-4096 then that doesn't make sense (from a hardware/implementation perspective), and at best it would be called '12-bit plus 1' or something.
Reza
the 13 bit is value range 0..8191
but we have range 0..4095.
so we have 12 bit adc.
'12-bit plus 1' there is no chance to get this in real
nice talk, this fun!
think there is a description mistake in the code / understand mistake.
we have 1 / 1024 but we have not really to calculate the step 0
because value 0 = 0 V
our calc base is max value.
this is 12 bit, 4095
so i think ( hope )
1 / 4095 is the right
or
1 / 1023
and so on.
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Who is online
Users browsing this forum: No registered users and 99 guests