• 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

erratic esp32 operation

Q&A Forum › Category: ESP32 › erratic esp32 operation
0 Vote Up Vote Down
merkelck asked 5 years ago

I have two esp32 devices that are causing me trouble. One is a NodeMCU-32s and the other is the wemos Lolin32. They are both experiencing the same problem. I chose this board for it’s relatively stable OTA performance. I have a couple of those unit working well with the same code that I got from the RNT esp32 course. On these two units I can upload the code from the Win10 computer using the standard IDE 1.8.13. My code is used to run a string of leds. The OTA feature is used to vary the sequence of these light features. The problem starts after I run the devices for a few minutes with the usb cable connected to verify correct operation and then switch to the external power unit. The lights run for several cycles then stop at whatever point they were. If I disconnect the  external power and then reconnect, it starts right back where it was but not running. If I connect the usb cable, the whole thing starts running normally. This same operation is occurring with both devices.  I have tried a different power supply. It just appears that the usb cable is supplying something that the external power is not. 
Any and all ideas appreciated
KentM

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

Hi Kent.
After powering up the ESP with the external power supply, press the on-board RST button. This will restart the board and the code will run. Tell me if this fixes your issue.
Regards,
Sara

0 Vote Up Vote Down
merkelck answered 5 years ago

Sara, that’s fine except for the fact that I plan to have this feature located at a place not easy to reach. I have one now that is at the top of forty foot flag pole. This one has been running for more than a year but now it will not respond to the wifi. It still turns on and runs when the power is commanded from a sonoff switch. But I am unable to change the code via OTA. I have come across some other data seems to say that there are a large number of esp32 devices with internal circuitry errors. Hopefully, I can find some good ones.

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

Hi.
I’m sorry about that issue.
To solve your problems, you might want to take a look at IOTAppStor: https://iotappstory.com/
You can also take a look at this discussion:

OTA for ESP32


Unfortunately, we don’t have any tutorials about that.
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.