Posts: 1
Joined: Fri Apr 21, 2017 11:20 am


Postby kylehunter » Fri Apr 21, 2017 11:23 am

Hey guys,

Having tons of issues with my first attempts at using this board. I have a lot of experience using arduino's and various microcontrollers, but my current project requires WiFi connectivity. I ordered the esp-12 and have had trouble getting it to be stable at all. I'm using the arduino IDE.

No matter what sketch I use, even if it just a loop printing to serial, it is unbelievably unstable. It will print fine for a while, then non stop exception errors and stack traces. The exception numbers vary each time, usually 0/29/8. It's just super intermittent. It will work fine for 20 minutes and then just spam errors until I reset and re upload my sketch. I notice that it occurs almost every time I reset the board. I started using it just as it came without flashing any new firmware. I thought that it could be the issue, but then I flashed the lasted nodemcu, and there was no change.

I assume it is something with my power setup, since it seems like they are very sensitive, but I think I am doing it right. I'm using this schematic for the board:

A CP2102 Serial cable:

Voltage is regulated with a LD1117V33 voltage regulator, from a 2AMP 5V wall power supply.

I connect the serial cable's 3.3v power to my common power rail, because it doesn't upload without that (I feel like this may be my issue).

I'm really bad at drawing schematics, so here's a picture of my voltage regulator board and the esp board. To upload I bring GPIO0 to low and have reset low and as it starts to upload bring it high. Thanks a lot for any help.



User avatar
Posts: 349
Joined: Wed Jun 29, 2016 7:17 pm
Location: India

Re: ESP8266

Postby pratik » Wed Apr 26, 2017 1:36 pm

Breadboarding with the ESP-12 module is not a fun experience. The module needs VERY clean power supply and long ground wires will always cause an issue. Ground loops will cause random resets too.
I would recommend getting a nodeMCU or something, so that you can test your programs first and then implement that on a lone ESP-12 module. That way, less doubt on what is faulty - hardware or software.

Also, please start from example programs for ESP8266, do not attempt to write your own right away. The ESP is not similar to any other platform and might be tough to start with even for ARM veterans.
Pratik Panda

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):

Who is online

Users browsing this forum: No registered users and 1 guest