Comments on: ESP32 Pinout Reference: Which GPIO pins should you use? https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 26 Apr 2025 22:34:40 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Dr Quark https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1031217 Sat, 26 Apr 2025 22:34:40 +0000 https://randomnerdtutorials.com/?p=72084#comment-1031217 In reply to Sara Santos.

Sara,
My error. I had pin 2 tied to the DIO0 pin on a LORA board. Unplugged, it works fine.

BTW, I’m using the same board that is pictured in this article. DOIT DEVKIT V1

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1031062 Sat, 26 Apr 2025 10:40:07 +0000 https://randomnerdtutorials.com/?p=72084#comment-1031062 In reply to Dr Quark.

Hi.
On most ESP32 board models is on GPIO 2.
But, if you have a very specific model, it can be on a different GPIO.
Do you have a link for the exact board that you have?
Regards,
Sara

]]>
By: Dr Quark https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1030870 Fri, 25 Apr 2025 23:35:00 +0000 https://randomnerdtutorials.com/?p=72084#comment-1030870 I’m using the DEVKIT V1 and can’t get the on-board LED to flash. I’ve set pin 2 to OUTPUT and I’m writing it HIGH for 200 msec, then LOW for 5000 msec.

I’ve seen other documents that say the LED is on pin 13 and pin 5. Where is it?

]]>
By: K Suryanarayana https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1030016 Wed, 23 Apr 2025 10:00:51 +0000 https://randomnerdtutorials.com/?p=72084#comment-1030016 In reply to Sara Santos.

HIii
I have esp 32 (wroom) want to connect four mpu6050 sensors for three it is working fine but for the fourth one not working properly,
Can you help me

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1025501 Thu, 10 Apr 2025 09:28:01 +0000 https://randomnerdtutorials.com/?p=72084#comment-1025501 In reply to Mike.

No.
You must use another pin instead of GPIO 26.
Regards,
Sara

]]>
By: Mike https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1025189 Wed, 09 Apr 2025 10:05:17 +0000 https://randomnerdtutorials.com/?p=72084#comment-1025189 In reply to Sara Santos.

Oh! in that case I can’t use DAC1 (GPIO25) or DAC2 (GPIO26) to add sound to my project with Wi-Fi, can I?
Regards,
Mike

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1023088 Fri, 04 Apr 2025 10:19:39 +0000 https://randomnerdtutorials.com/?p=72084#comment-1023088 In reply to Mike.

Hi,
When you’re using Wi-Fi, you can’t use ADC2 pins.
You must choose an ADC1 pin.

Regards,
Sara

]]>
By: Mike https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1022709 Thu, 03 Apr 2025 12:33:55 +0000 https://randomnerdtutorials.com/?p=72084#comment-1022709 Dear Sarah, thank you for your help. It clarifies many things. I have a problem though, with GPIO26 as I get an error :

“esp32-hal-adc.c:170] __analogReadRaw(): GPIO26: ESP_ERR_TIMEOUT: ADC2 is in use by Wi-Fi. ”

Can’t I use this pin for:

pinMode(LDR_PIN, INPUT_PULLUP);
ledIntensity = ledintensitySelect(analogRead(LDR_PIN));

Best Regards,
Mike

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1020744 Sat, 29 Mar 2025 10:37:19 +0000 https://randomnerdtutorials.com/?p=72084#comment-1020744 In reply to Robert.

Hi.
Yes, you can power 5V through the VIN pin.

Regards,
Sara

]]>
By: Robert https://randomnerdtutorials.com/esp32-pinout-reference-gpios/#comment-1020569 Fri, 28 Mar 2025 22:56:32 +0000 https://randomnerdtutorials.com/?p=72084#comment-1020569 In reply to Sara Santos.

Hi Sara,
I also have the 30 pin version. Can you clarify whether or not I can use 5V at the VIN pin to power the module or is it limited to 3.3V? With just 3.3V, it powers up but the WiFi is not enabled. I’m hesitant to try the 5V because I don’t want to fry it. Can you help? Thanks.

]]>