ESP32 ADC – Read Analog Values with Arduino IDE

preview_player
Показать описание

This video shows how to read analog inputs with the ESP32 using Arduino IDE. Analog reading is useful to read values from variable resistors like potentiometers, or analog sensors.

Like my page on Facebook:
Follow me on twitter:

Subscribe for more projects like this!
Рекомендации по теме
Комментарии
Автор

Thanks Man. Life would have been so difficult without you !!

samarthagarwal
Автор

Rui Great Work this really help me out. :)

ebcradioshow
Автор

Great explanation. Using an interrupt instead of delay(1000) would be nice for integration with other functionality. Have you done a video on interrupts with the esp32? Thanks for sharing your expertise.

quaternion-pi
Автор

Boas! Muita bom Rui! Olha... onde é que compras os teus ESP32 ?

dpintassilgo
Автор

So with both power and ground connected, is it doing pull-up and pull-down on this simultaneously, or is that only for digital switches?

marks
Автор

Great tutorial. Can help me with some project? I use ESP32 Devkit V1 and i connected digital led WS2812B, 4 channels relay module, DS18B20 sensor, and capacitive soil moisture sensor.I supplied all of them with Vin. The capacitive soil moisture sensor shows different value when i turn on digtal led or relay module, what's maybe i wrong with connection or i need to write code for adc. Capacitive soil moisture sensor connect on GPIO34, digital led is in GPIO23, DS18B20 sensor in GPIO4 and for relay module i use GPIO 2, 26, 27, 33.

slaviormanliev
Автор

hiii can't found port option in Arduino it is grey have to do to enable the port option for selecting the corresponding port.

sivakumarc
Автор

esp32 & st7781 tft lcd display pin connection help
What is LCD_RST, LCD_CS, LCD_RS, LCD_WR, LCD_RD esp32 pin equivalent

hayalci_
Автор

now for a scaled 0 to 10 vdc input signal with zero and span adjustments then oled display output value with tenths resolution 00.0... thanks a lot...:)

qzorn
Автор

How much ohm should the potentiometer can have?
Sorry for bad english

MrBMWerner
Автор

Hello sir, I am also using potentiometer but adc value fluctuate a lot also noise glitches visible .. plz guide me what I can use it will be really helpful thankyou

happysingh-gkdj
Автор

How many analog inputs can ESP32 handle?

rizvian
Автор

Thank you for the fast tutorial, please help me in getting the real linear value on any of ESP32 ADC channels,
lets say we want to make a simple voltMeter using ESP32:


Actually when volt is 0 ADC value is 0,
when volts 3.3 ADC value it 4096
but any values in between is NOT related to to the linear equation:
3.3v ----> 4096
???v ----> ADC value


so: voltage =ADC*3.3/4096, is a wrong way to measure voltage using ESP32
from my side i tried but i got wrong results.


could you make a video that explains this issue ? then provide a solution if possible !

maysaraabdula
Автор

does not work for esp32 s3R8 lilygo t-display

leemarc
Автор

But this is not accurately reading.
How to resolve this ?

akash
Автор

have try the code, the value readed is not the value it should be. when convert 4095 to voltage should be 3.3V but says its 3V

jorgeneiva
Автор

My kingdom for a video discussing measuring frequencies off an analog input. Ugh. The search continues.

rawyin