• 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

Unused GPIO Pin State

Q&A Forum › Category: ESP32 › Unused GPIO Pin State
0 Vote Up Vote Down
Thomas Perillo asked 5 years ago

What should the state of GPIO pins be that are not part of an uploaded sketch? I would think the pins not in use should all be LOW.
I have my ESP board (Node MCU 36 pin Board) mounted on a large breadboard. I uploaded the ‘Blinking an LED with milis()’ sketch( using pin 26).  I still had the circuit on the breadboard wired for the Pulse Width Modulation Sketch (Pins 15,2,0).  The LED connected to P0 is HIGH (steady at about half brightness … not fading).  Is this OK or a sign of some malfunction or user error? 

Question Tags: GPIO, Pin State, Unused GPIO
1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hi Thomas,
We’ve experienced a similar behavior with our board. Basically, there are some GPIOs that are reserved for the ESP32 to work. For example, GPIO 0 is a CLK_OUT1 (it’s a Clock output 1 pin), even though it’s not being used in your sketch, it might cause some noise or do pulses. We’re not sure exactly why that happens though.

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.