On ESP01S the led (GPIO2) light on at initial SPI flash read
On ESP01S the led (GPIO2) light on at initial SPI flash read
Hello good morning everyone, this is my first post, let's see how it goes. I'm experimenting with a simple ESP-01S board managing a pair of relays. There are already several hardware solutions for this. The one I'm using uses the GPIO-0 and GPIO-2 pins (the blue LED). By default, GPIO-2 flashes short during boot. I solved this problem by placing a capacitor on the base of the relay transistor. My first version was made under the Arduino platform. In this environment, the hardware seems to work correctly, but I have problems with the TCP/IP stack and sometimes it stops responding correctly. In the second version (the current one), I'm testing the ESP8266 RTOS (ESP-IDF v3.4). Here I have stability in the system, it manages the WEB server correctly and sends alert emails without problems. The only problem I have is when booting, system reads the code from the SPI FLASH. And it seems that it is during this reading that the LED (GPIO-2) activates again. This behavior is different from what is observed on the Arduino platform. I wonder if it's possible to modify RTOS to eliminate this LED flashing during the initial code reading. Thanks for everything.
Who is online
Users browsing this forum: Qwantbot and 4 guests