Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: Daylan Nunes on November 11, 2021, 07:24:21 PM

Title: Analog Input in ESP32-EVB
Post by: Daylan Nunes on November 11, 2021, 07:24:21 PM
Hello, how can I use the analog input in the ESP32-EVB? If it's possible to do, of course.
I have been searching about this and didn't find anything about it.
Title: Re: Analog Input in ESP32-EVB
Post by: LubOlimex on November 26, 2021, 09:58:06 AM
You need to identify ADC (analog-digital-convertor) pins. There are many suitable pins in ESP32 chip but in the design of ESP32-EVB some of these are used for other functions.

You can still find few free pins that can be configured for ADC operation at the UEXT connection. For example, GPIO4 and GPIO16 are available.

After that you can check one of the numerous guides on general information about using ADC with ESP32, just when pins are mentioned use GPIO4 or GPIO16.