• 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

Problem with ESP32 GPIO INPUT ONLY PINS

Q&A Forum › Category: ESP32 › Problem with ESP32 GPIO INPUT ONLY PINS
0 Vote Up Vote Down
Rodrigo Fraga asked 7 years ago

I have HELTEC and TTGO boards and these one have GPIO pins INPUT ONLY and when I connect any sensor in these pins I don´t have the informations.
I tryed to use DHT22, soil humidity, pir and many others.
Does anyone know why or does it have any tips?

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 7 years ago

Hi Rodrigo.
As I said in my previous response, the input-only pins can be used to read digital inputs or analog inputs. The DHT22 won’t work with those pins as it requires a communication protocol.
The PIR sensor is a digital input, so it was supposed to work.
If your soil moisture sensor is a simple analog input that changes the output voltage accordingly to water content, it should also work.
I have no idea why that is happening 😐

So, if anyone has any idea why those pins may not work, please share.

0 Vote Up Vote Down
Rodrigo Fraga answered 7 years ago

Hi Sara thanks for your explanation. I found a site that make a explanation about DHTXX after you told me about protocol. Every document that I had read just say OUTPUT DIGITAL SIGNAL.

http://www.ocfreaks.com/basics-interfacing-dht11-dht22-humidity-temperature-sensor-mcu/

Look, a new topic in your book…. SENSORS

0 Vote Up Vote Down
Sara Santos Staff answered 7 years ago

Yes, the DHT sensors use onewire protocol. So, you can’t use them with those pins.
I’m glad that helped!
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.