I have a simple arduino sketch that has been working for weeks on an MH-ET ESP32 Devkit board. I have a momentary button between GPIO22 and GND. In the sketch I configure GPIO22 as INPUT_PULLUP, then based on a button press I have it send an MQTT Message to my broker.
The button stopped triggering the MQTT message so I started investigating. The button is fine. I tested with multi-meter for continuity with or without the button pressed... I then added serial.println to the sketch to test the pinoutput to see if it was reporting high or low... I discovered the pin is now reporting low at all times. Whether I define the pin as INPUT_PULLUP, or INPUT_PULLDOWN or just as INPUT, the pin is always staying low. I am able to pull the pin high with an external pullup resister but in the end, i've just configured it as INPUT_PULLDOWN (Even though it doesn't seem necessary) and put the button between 3.3 and GND.
Do any of you know how an internal resister could be damaged or do you have a different theory as to what could be happening?
I did test all of this against a 2nd identical board and it works as expected. I'm able to pull the same pin high or low with the sketch, so it's definitely something specific to this one board.
Internal PULLUP resister damaged?? (GPIO22)
-
paulymorph
- Posts: 1
- Joined: Fri Feb 22, 2019 2:23 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Google [Bot] and 2 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!