• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32, total of ADC1 channel number?

Q&A Forum › Category: ESP32 › ESP32, total of ADC1 channel number?
0 Vote Up Vote Down
lubond asked 5 years ago

My questions are regarding ADC channels. I simply do not fully understand some of the available informations.

  • Total of 18 ADC channels?
    There are listed on your page ESP32 Pinout Reference: Which GPIO pins should you use?  – “The ESP32 peripherals include: 18 Analog-to-Digital Converter (ADC) channels”  But I did not find the channels ADC1_CH1 and ADC_CH2 (GPIO 37 and GPIO 38) in ESP32. Also there is no reference of these channels in it’s hardware specification. The API Reference also describes ADC channels: “The ADC driver API supports ADC1 (8 channels, attached to GPIOs 32 – 39) ” but this information is rather confusing to me.
    ESP32  does not seem to have implemented these two ADC1 channels. Or am I wrong?
  • What about ACD2 module?
    Does anyone know if there is really not possible to use any of the ADC2 channels? When using the BT / wifi module at the same time of course. I would like at least another one channel, e.g. ADC2_CH0 (GPIO 4).

It would be pretty crazy to have only 6 available instead of 18 declared ADC channels.

Question Tags: ADC1, channel number, ESP32
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
Those GPIOs (37 and 38) don’t exist on the WROOM series. They existe on this series of ESP32 chips (see page 8): https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
As far as I know, the ADC2 pins don’t work well with Wi-Fi enabled.
One workaround is to switch off Wi-Fi, read the ADC2 channel and enable Wi-Fi again.
Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.