This lesson on deep sleep timer wakeup should be easy but I am messing it up anyway.
This is the text I get on the serial monitor instead of the boot count and wakeup reason:
E (108) spiram: SPI RAM enabled but initialization failed. Bailing out.
Boot n
I’ve already found several nonworking pins on my ESP32, so I’m thinking this is a hardware problem. Any other suggestions? Ways to test or fix it?
UPDATE: starting the web server tutorials now, and get the same text on the serial monitor, then “brownout detector was triggered” and it keeps trying and failing to connect. Never get the IP address to show because it isn’t connecting. Any help is appreciated.
I initially was able to fix the “brownout detector was triggered” issue by adding a 3300uF capacitor across the 3.3V and 0V lines (on the breadboard I was using), but as my program grew, the problem re-appeared. This time I fixed it by using a phone charger capable of supplying 2A and connecting its 5V to the “VIN 5V” pin of my NodeMCU 32s module (in addition to the connection through the micro-usb connector). So far, so good.
Hello Sheryl, I’m sorry for taking so long to get back to you, but I was on holidays and unfortunately I had very low bandwidth to properly answer questions.
What @Lance Benson suggested should solve your problem. If I’m using a bad USB cable or an unreliable USB port that doesn’t supply enough current, the ESP32 crashes and prints that error message “brownout detector was triggered”. Adding a capacitor or using a better power supply should solve your problem. Let me know if you can make it work.
Thanks for your patience!