ESP8266 Problem

Hi,

I did use my ESP for some weeks now but suddenly yesterday it started to reset.
I assumes a flaw in my circuit and did put it on another Breadboard with its on power and minimal configuration.

It did reset also.

Then I did reflash the latest AT Firmware and test it. It worked fine.

But as soon as I now try to write any Arduino sketch it resets with:

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld

What's the reason?
Tried with standard settings in Arduino that worked for me all the time and also with device specific setting. No matter all with the same result!

(As the resetting started I updated the ESP Lib to 2.3.0 but I assume that's not the problem else everyone must habe that issue).

Any Idea?

Just found the Check Flash example works fine but as soon as I use the blink example it wont work.

Can someone check pls if it works for him with 2.3.0?

I got the ESP-12F QIO 4M

Ok, now found the reset has nothing to do with my resets before it seems to be normal it does report a reset at 74880Baud after PowerON.

But why wont my LED blink? It does so when uploading so it should be ok!

Some times these get stuck in boot loader mode. I was having a simular issue with an unflashed module. What i did was:

Make sure GPIO15 is held low
Make sure GPIO2 is held high
HOLD GPIO0 LOW and press reset several times
reattempt to upload your sketch.

Also, if you have any thing hooked up to GPIO16, you can have issues. I would avoid using GPIO16.

If that doesn't work, the folks over at esp8266.com will be able to help you with esp boards.

Everything works now but my ESP won't blink, can you check please if blink example with ESP Library 2.3.0 works for you?

With 2.2.0 it did for me. BUT now it does'nt anymore and the LED is ok.
Other sketches are running now, found the problem (unstable voltage)

Just in case someone stumbles upon this thread.
I have had the exact same problem. Flashing blink example and others did not work. However, CheckFlash example did work.

I added two Capacitors to solve the problem and now my sketches work. However, I've tried with blink example and my usual sketch, which is running and blinking on my ESP-01, and I cannot get the blue LED blinking. Maybe just the LED_BUILTIN macro is wrong? had no time to check it but the blue LED can be activated via GPIO2 (LOW == on, HIGH == off).

Best

The ESP8266 can draw up to 800mA in a spike and will "idle" around 80mA to 100mA but if you are watching the current on an o'scope, strong current spikes are present but too fast for most digital meters. You must design the power for 3.3V @ 1A. The source input power impedance must be less than 1 Ohm.

The output currect is MAX of 12mA per pin. Your series current limiting resistor must be recalculated from Arduino values!

You CAN run the ESP8266 with the RF turned off:
ESP8266 sans RF

I've been working with these things for well over 18 months: they are solid. But far more fragile than the Arduino 8-bit devices. You absolutely must design carefully and buffer any current over 12mA.

Ray

mrburnette:
The ESP8266 can draw up to 800mA in a spike

Is that from your own tests or did you read it somewhere? I remember reading the same thing(as well as 500mA) a while back but recently went to try to find it again and only found things(such as the datasheet) saying max was around 200mA. I don't have an o'scope but my experience with the ESP8266 is that it definitely needs a good power source to work reliably.

pert:
Is that from your own tests or did you read it somewhere? I remember reading the same thing(as well as 500mA) a while back but recently went to try to find it again and only found things(such as the datasheet) saying max was around 200mA. I don't have an o'scope but my experience with the ESP8266 is that it definitely needs a good power source to work reliably.

Own tests... 5.0V 2A feeding a DC-DC Chinese buck with output at 3.45V across a LiFePO4 cell.
Current measured using 0.1 Ohm resistor and digital storage o'scope (NIST traceability.)
ESP8266 antenna load intk rubber ducky.

Ray
My Projects

Edit for battery reference... 3.45V float is between 80% and 90% full charge for LiFePO4:

Thanks for the info! I was starting to think I had imagined reading that. I'm working on a project with ESP8266 running an LED strip and I managed to solve some reset issues by adding a short delay to let the power stabilize between operating the LEDs and the WiFi

@mrbunette - My Projects
Wow, respectable palette of projects! I have a problem to finish one.
K++;

@mrburnette
Pretty interesting, thank you for the info.
I've ordered some HT7333 and MCP1700 to use 4 AA with my ESP modules. I'm curious to see if these will work because (peak) current is reported much lower for the MCP1700 (no info found for HT7333 in it's datasheet).

Any chance you use or know a Low Power Consumption LDO voltage regulator with your ESP modules that you can recommend?

Thanks & Best

Any chance you use or know a Low Power Consumption LDO voltage regulator with your ESP modules that you can recommend?

I ordered qty 50 of the DC-DC buck modules from China and that is all I am using with the ESP8266. It is critically important to have a very low Z output impedance on the power unit.

For batteries, I have found the LiFePO4 to be exceptional.

I do not run alkaline cells with my ESP'x but with the DC-DC buck being 92% - 96% efficient and under $1 cost, I believe I would use 3x or 4x alkaline pack to DC-DC to ESP8266.

Ray

Thanks for your answer.
Could you spare a link to the dc-dc modules? Some of what I found use the AMS1117, which burns 10mA while the MCU is sleeping :wink:
For the MP2307 that is used by other dc-dc buck modules I found, I was unable to identify the quiescent current while the MCU is sleeping/idle.

Thanks again!

What voltage are you bucking down to for the ESP8266 chips?

Hi INTP,

the voltage will be around 4.8-5.4 V (4 AA), maybe 7.4V (2 LiPo 3.7V) if the ESP does not run stable with a single LiPo.

Thanks & best

terraduino:
Thanks for your answer.
Could you spare a link to the dc-dc modules? Some of what I found use the AMS1117, which burns 10mA while the MCU is sleeping :wink:
For the MP2307 that is used by other dc-dc buck modules I found, I was unable to identify the quiescent current while the MCU is sleeping/idle.

Thanks again!

I generally set for 3.45V if I'm using LiFePO4 cellse or 3.4V if I am using just the ESP...

Actually, I use two versions. The first is nicer and has a nice multi-turn pot, holds settings well if vibration:
http://www.aliexpress.com/item/2PCS-LM2596-DC-DC-buck-adjustable-step-down-Power-Supply-Converter-module/2036632075.html

The second one is smaller and a bit fiddly to get at 3.45V but seems to stay reasonably well set in stable environments:
http://www.aliexpress.com/item/Free-Shipping-50PCS-Ultra-small-power-supply-module-DC-DC-BUCK-3A-adjustable-buck-module-regulator/1615290310.html

The above is not a recommendation ... I have several brands around in the parts boxes ... just a representation. Larger units are available if you need to handle more current (power.)

Ray

terraduino:
Hi INTP,

the voltage will be around 4.8-5.4 V (4 AA), maybe 7.4V (2 LiPo 3.7V) if the ESP does not run stable with a single LiPo.

Thanks & best

Are those the voltages you have going into your ESP8266 module?
I've been trying to find a concrete answer to the operating range, I have it in my notes as 2.5v to 4.7v.

Are those the voltages you have going into your ESP8266 module?
I've been trying to find a concrete answer to the operating range, I have it in my notes as 2.5v to 4.7v

The ESP8266 is generally specified to be a 3.3V module. The high-end and low-end voltages (max & min) are stated differently in many places. If you are using 3.3V peripherals, then the Vcc voltage from the DC-DC to the ESP8266 and the sensor/display/etc. must be in the 3.3V range more for the sensor needs than the ESP8266. I use 3.40 - 3.45 Volts simply because I float the LiFePO4 cell across the Vcc-Gnd (before the power switch which open-circuits the module(s) from the battery backup.)

https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/powering-the-thing

Alternatively, if you have an external, regulated, supply you’d like to deliver directly to the ESP8266, you can supply that voltage through the 3V3 pin (on the I2C header). While this voltage doesn’t have to be 3.3V, it must be within the range of 1.7-3.6V.

PDF Warning! Espressif Systems
See: 2.2. Electrical Characteristics
Min / Typ / Max: 3.0 / 3.3 / 3.6 V

Ray

Are those the voltages you have going into your ESP8266 module?

No, I want to feed power as close as possible to 3.3V. I bought some LDO voltage regulators which dissipate 28.8uA while idle. I bought TLV70033, I thought, but these provide more than 3.3V so I guess the seller sent the wrong version.
I've read an experiment that showed that above 3.8V the ESP starts to draw pretty much current.

Best