Dear ESP supporters,
Our company is making a product using ESP32.
At the first stage, we used the ESP32-WROOM for the demo version. We used the GPIO16 as a UART RX for reading data from the dust sensor PMS7003. And the demo worked very well.
At the second stage, we used the ESP32-D2WD for the real product. However, with the real product, the GPIO16 couldn’t read data for the dust sensor. We found the problem that the GPIO16 swings between 3.3Volt to 1.7Volt.
Is there any difference using the GPIO16 as UART RX between the two parts (ESP32-WROOM vs ESP32-D2WD)? If so, is there any solution to use the GPIO16 as UART RX with ESP32-D2DW?
Thank you very much!
Problem of using GPIO16 as UART RX with ESP32-D2WD.
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem of using GPIO16 as UART RX with ESP32-D2WD.
Embedded flash is connected internally to pins GPIO16, GPIO17, SD_CMD, SD_CLK, SD_DATA_0 and SD_DATA_1. So ensure none of these pins are connected externally. (Ref: ESP32 datasheet Section 2.2 Pin Descriptions, Note at bottom). SD_DATA_2 & SD_DATA_3 (GPIOs 9 & 10) are not used for internal flash on ESP32-D2WD and can be used as GPIOs if required.
Re: Problem of using GPIO16 as UART RX with ESP32-D2WD.
1.8V gpios as a part of vdd_sdio domain. So hopefully gpio 16 was not swinging to 3.3v as d2wd should be strapped to 1.8v.ESP_Sprite wrote:SD_DATA_2 & SD_DATA_3 (GPIOs 9 & 10) are not used for internal flash on ESP32-D2WD and can be used as GPIOs if required.
P.s. esp32 datasheet encoding messed up again
Re: Problem of using GPIO16 as UART RX with ESP32-D2WD.
Thank you for your helps!
We will select another pin instead of using GPIO16.
We will select another pin instead of using GPIO16.
Who is online
Users browsing this forum: No registered users and 130 guests