More Esp-12 Flashing problems

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#51 Post by tozett » 18 Feb 2016, 19:41

for the devs...

maybe you could throw in this windows flasher for the newbies to accompanie the binary from this
http://www.esp8266.nu/downloads/ESPEasy_R78.zip

here win-flasher. may this works?
http://www.bikealive.nl/esp8266.html

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#52 Post by JR01 » 18 Feb 2016, 22:23

Thank you tozett, to Arduino newbe, I was able to get compile / upload working after the pubs errors, etc, using your instructions.
But sadly, still has same results. Also tried your "erase", and downgrade to R048 (cannot get R 72 anywhere). Thus still testing.... Now want to go from ESP12E down to ESP01 / 03 again, want to see if I can get that working.....
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#53 Post by tozett » 19 Feb 2016, 08:09

JR01 wrote:But sadly, still has same results.
:(
may you post the output from the serial monitor while booting/error. is it possible?

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#54 Post by JR01 » 20 Feb 2016, 21:58

tozett, today I bought a proper soldering iron, and soldered a fresh ESP12E, and tonight, I got R78 working, thank you! I think the problem was bad solder points on the previous project, sorry! Tx for help! JR.
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#55 Post by tozett » 21 Feb 2016, 12:57

thumbs up, SOLVED
:)

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#56 Post by JR01 » 21 Feb 2016, 17:41

hmmm....... Sadly, back to problems of continuous reboot. After I configured DHT11 to load Temp & Hum to Thingspeak, I wanted to reconfig to MQTT for Openhab, pointed it to test.mosquito.org, then it went ito a continuous loop, where blue light comes on, and stays on. I refreshed with Arduino R78 (did it 4 times now), on serial it looks like it connects to network, throughs exception, does >>>stack>>>, boot mode:(3,7), and starts again. It looks like the refresh does not get rid of all pre code, and that setting up to MQTT causes it? :evil: :evil: :evil:

INIT : Booting Build nr:78
WIFI : Connecting... 1
WIFI : Connected!
INIT : I2C

Exception (9):
epc1=0x40101bd7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x3fff57f3 depc=0x00000000

ctx: cont
sp: 3fff32c0 end: 3fff35c0 offset: 01a0

>>>stack>>>
3fff3460: 0000000a 3fff205c 3fff5768 40219d56
3fff3470: 40106e10 3fff34b0 3fff2084 40219d78
3fff3480: 40106e10 3fff205c 3fff205c 40222b0c
3fff3490: 3ffe9f78 c2537755 3fff34ec 40207308
3fff34a0: 3fff353c 00000002 3fff205c 4020b812
3fff34b0: 3ffe9ae8 00000001 00000001 3fff5708
3fff34c0: 0000000f 0000000a 3fff5728 0000000f
3fff34d0: 00000000 3fff57ff 0000000f 00000000
3fff34e0: 3fff58a8 0000007f 00000078 3fff5938
3fff34f0: 0000005f 0000005e 3fff000f 3fff5838
3fff3500: 0000005f 0000005e 402217c4 3fff57a8
3fff3510: 0000007f 00000078 3fff56e8 0000000f
3fff3520: 0000000a 3fff56c8 0000000f 00000000
3fff3530: 3fff56a8 0000000f 00000000 3fff55e0
3fff3540: 0000000f 0000000a 3ffe9f78 c2537755
3fff3550: 00000000 0000000f 40221828 40221814
3fff3560: 40209424 3fff3614 40221800 3fff2598
3fff3570: 3fff15dc 3fff3614 3fff11dc 40210fb2
3fff3580: 00000000 00000000 00000000 3fff4b28
3fff3590: 0000001f 0000001b 00000000 00000000
3fff35a0: 3fffdc20 00000000 3fff2590 4021f9aa
3fff35b0: 00000000 00000000 3fff25a0 40100114
<<<stack<<<

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

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
™U
INIT : Booting Build nr:78 <---------- comment JR01 - reboot started here again.....
WIFI : Connecting... 1
WIFI : Connected!
INIT : I2C
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#57 Post by JR01 » 21 Feb 2016, 18:32

Does anyone know how t flash a ESP12E back to its factory state? I seam to have code in the flash that is not removed with flashing....
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#58 Post by costo » 21 Feb 2016, 18:55

JR01 wrote:Does anyone know how t flash a ESP12E back to its factory state? I seam to have code in the flash that is not removed with flashing....
Does look like you have power problems. Resetting right after you have connected to your WiFi points to that is my experience.
You must put some extra capacitors over the Vcc, preferable very close to the vcc connection of esp12 module, between metal case of esp12 and vcc. Also extra decoupling capacitors very close to the in&out of the 3.3v voltage regulator may help to stabilize your circuit.

The ESP draws relatively high current during the transmission burst.? Unstable power circuits will have a voltage drop during the bursts. This voltage drop can make your ESP reset repeatedly.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#59 Post by JR01 » 21 Feb 2016, 19:55

Thank you costo, since I read your comment on similar, I added them to design when I saw your previous post, have a 103 close to vcc and and, as well as at 5V power in, before reducing to 3.3v.

To make a clean flash, I found below link, have downloaded the espresso tool, which also has the files to flash in the download package. Have done that, tested it, then again uploaded the Aduino sketch for ESPEasy. Still the same.... :oops:

Tool here....
http://www.allaboutcircuits.com/project ... fi-module/ heading down the page:

ESP Flash Download Tool
***********************BOOT MODE***********************
Flash size 32Mbit: 512KB+512KB
boot_v1.2+.bin 0x00000
user1.1024.new.2.bin 0x01000
esp_init_data_default.bin 0x3fc000 (optional)
blank.bin 0x7e000 & 0x3fe000
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#60 Post by costo » 21 Feb 2016, 23:57

JR01 wrote:Thank you costo, since I read your comment on similar, I added them to design when I saw your previous post, have a 103 close to vcc and and, as well as at 5V power in, before reducing to 3.3v.
Capacitor of 103, that means 10000 pF or 0.01uF. That is a small capacitor, not big enough for Vcc filtering, you need at least a few uF.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#61 Post by tozett » 22 Feb 2016, 10:08

JR01 wrote: ets Jan 8 2013,rst cause:2, boot mode:(3,7)
RESET

you catched the serial output wich showed

Code: Select all

reset cause: 2
boot mode x,y
i googled and found this:
reset causes:
0:
1: normal boot
2: reset pin
3: software reset
4: watchdog reset
http://www.esp8266.com/viewtopic.php?p=2096#p2112

also resetcause,bootmode explanation here:
http://www.esp8266.com/viewtopic.php?f=6&t=2503

reset reasons, cleartext in code:
https://github.com/esp8266/Arduino/blob ... p.cpp#L332


BOOTMODE x,y

(you have 3,7), where x=3 means GPIO0+GPIO2 = high
n the bootup message 'boot mode:(x,y)' three low bits of x are {MTDO, GPIO0, GPIO2}.
https://github.com/esp8266/esp8266-wiki ... boot-modes

cannot see what y is :x

may also consider costos suggestion, also given here:
Many resets caused by insufficient power supply.
Try:
1. adding 10uF capacitor across vcc and ground at module
2. different 3.3vdc power supply
http://bbs.espressif.com/viewtopic.php?t=318
Last edited by tozett on 22 Feb 2016, 12:02, edited 1 time in total.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#62 Post by costo » 22 Feb 2016, 11:15

reset cause 2 = reset by reset pin.
So this almost rules out reset caused by software, software errors usually results in reset by watchdog.

Power supply problems can cause coupling to the sensitive reset input .
Placing a small capacitor between resetpin and metal case of esp12 can prevent unwanted resets.
Best capacitor here is a SMD ceramic capacitor of a few 1000 pF .
Best capacitors over Vcc are tantalium capacitors.

Even better is placing several capacitors in parallel over Vcc , because capacitors have different behaviour at different frequencies. A short pulse , has many high frequency components, can cause the sensitive reset pin to trigger. A old-fashioned electrolytic foil capacitor may be excellent for filtering Vcc low frequency (50/60 Hz) but is poor in filtering fast spikes on the power line. Tantalium capacitors have good high frequency behaviour so these are preferred.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#63 Post by tozett » 22 Feb 2016, 12:01

hi costo,
valuable hints for a stable ESP basis.
you gave them before, somewhere deep in this forum, i remember
could these most valuable details go to the wiki?
pleaaseee...
:)

-----edit:
my esp1 restarts magically, after some days. the ESPeasy main-page states:

Code: Select all

Boot cause:	Manual reboot
maybe the dev can show the boot-cause in more technical detail, as i cannot see if this has the same reason?
so manual reboot is caused by reset-pin? or by reboot through the gui (what i did not do)?

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#64 Post by costo » 22 Feb 2016, 13:40

hello tozett,
everything I publish on this forum is public domain, so you can use my information without asking me .

b.t.w. this weekend I had great troubles with my nodeMCU board. I had no replacement so i wanted to repair it. It was resetting after connecting to my WiFi and telling that I2C was initialised. Not once but every minute. I noticed that firmly pushing on the esp12e resulted in normal booting. So I was suspecting a bad solder joint of the esp12 to the board. Reflowing the solderjoints did not improve the situation.
Only removing the nodemcu from the breadboard with only a USB cable connected made the nodemcu stable. Experimenting with a wire , one by one on every pin, showed that one of the 3.3v pins let the board reset when something was connected to it. After soldering 2 smd 100nF capacitors over the 3.3v regulator the board was usable .

The board had been 100% functioning for a few months , it just started to be unstable unexpected. Even when it was powered from an external 3.3v supply.

So the most common cause for unexplainable resetting seems to be problems with the power.

edit: The wiki can only be modified/extended by the ESPEasy team I believe.
I could probably write a small wiki about this subject for publishing . I will do my best .

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#65 Post by BertB » 22 Feb 2016, 13:49

If you have something in writing, I can put it in the wiki together with some tips and tricks I gathered over the months.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#66 Post by tozett » 22 Feb 2016, 14:14

+1, thumb up,
greaaaat thanks! this will truely help others ... :mrgreen:

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#67 Post by costo » 23 Feb 2016, 16:20

BertB wrote:If you have something in writing, I can put it in the wiki together with some tips and tricks I gathered over the months.
I am working on this.

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#68 Post by BertB » 23 Feb 2016, 17:21

Great. And I made a start. Look at hardware tips n tricks in the wiki. Just an idea.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#69 Post by costo » 23 Feb 2016, 17:37

BertB wrote:Great. And I made a start. Look at hardware tips n tricks in the wiki. Just an idea.
I am writing a small piece about capacitors, that can be but inside that page. Will sent you that later today.

edit: I've sent you a P.M.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#70 Post by JR01 » 28 Feb 2016, 23:48

Thank you all, going to but some tantalium capacitors, I am still on breadboard, gonna go to vera and solder all to see if this problem can be solved
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#71 Post by tozett » 29 Feb 2016, 07:52

looks like someone made a PCB with costos tips for stable power-supply etc..

http://lookmanowire.blogspot.de/2015/02 ... ev-10.html

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#72 Post by JR01 » 29 Feb 2016, 13:01

Wow, would love to have few, I see others are asking him to share work in Eagle CAD, but he has not responded yet since 2015 ? Did any of you maybe get the designs?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#73 Post by tozett » 29 Feb 2016, 15:44

i found them per incident. had good luck.
maybe some experienced user will put similar design as open-pcb to simply buy there?
similar like these: https://oshpark.com/profiles/mozgy
may i have good luck again? time will tell.. :mrgreen:

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#74 Post by JR01 » 29 Feb 2016, 18:59

You are lucky indeed, I surfed widely, never came to these 2 sites, I like th first design better, but you cannot buy from him :roll: Maybe you can get lucky again and reach him for us???? 8-)
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#75 Post by tozett » 01 Mar 2016, 08:12

follow costos advice for capacitors,
see the new wiki page! to reduce unwanted resets of the esp-modules.

someone cutted the reset-line directly at the chip and was successfull.

read here: http://www.esp8266.com/viewtopic.php?f=13&t=1924

for the pcb: i am the same stranger on the net like anybody else.
think maybe here someone could make a openhardware pcb. still think that time will tell... :|

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#76 Post by JR01 » 01 Mar 2016, 09:50

Tozett, it looks FANTASTIC, lots of detail, cannot wait to study it and implement, to see if I can achieve the ever-alluding stability, thank you !!!!!!!!
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Re: More Esp-12 Flashing problems

#77 Post by ambassadoro » 01 Mar 2016, 11:51

A good idea is always to check the output voltage of the adapters used.
I have such a usb-breadboard adapter and when its switched to 3.3V, I only got 2.7. It was mostly enough for the esp running alone, but never enough for a sensor.
So, everybody should have the voltage meter ready.

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#78 Post by BertB » 01 Mar 2016, 17:03

I expanded the wiki a bit on the subject. Perhaps it helps.

http://www.esp8266.nu/index.php/Relays

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#79 Post by tozett » 01 Mar 2016, 19:51

tozett wrote:think maybe here someone could make a openhardware pcb. still think that time will tell... :|
i stumbled again over something here: http://michaelhleonard.com/how-to-desig ... pcb-part2/

and for the new wiki-page about breadboards i will show mine :D :
Attachments
bread2.png
bread2.png (169.24 KiB) Viewed 6009 times

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#80 Post by JR01 » 02 Mar 2016, 07:33

Tozett, thank you for http://www.esp8266.com/viewtopic.php?f=13&t=1924, I implemented two of the suggestions and got stability back to my ESP-01 breadboard. Even before getting Tantalum capacitors - and soldering onto the pins itself. Need to get tantalums and SMD's, and then tackle my unstable ESP-12E. Looking forward to that. Also added a very good power supply, that has adjustable 5v to 9v. Took it up to 6v input, and got stability. Than you ! Next step is to add relays, very thankful to BertB for the relays info, did not know how critical it can be. But after getting stability on the ESP01, in part with a good power supply, I am wondering how I will deploy the solution, did not think of buying a more expensive power supply for each of the deployments of ESPs, but rather to use cellphone chargers, which I cannot get stability on yet, maybe concentrate more on the power supply to get stability even from a cell charger. I will post back here if I finally crack the ESP12E nut, need to get Tantalums and SMD's, not to mention the "Schottky diode" ! (as a startup hobbyist, did not even know they existed up to now....)
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#81 Post by tozett » 02 Mar 2016, 07:39

hey, thanks for your feedback. so one knows the world is still alive out there. :)
JR01 wrote:I implemented two of the suggestions and got stability back to my ESP-01 breadboard.
maybe (now, or if youre done) you could tell the world out there,
what helped specificly to get stability? so what are the two things, that you´ve done?
;)

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#82 Post by BertB » 02 Mar 2016, 13:59

If you want, I can add your findings to the wiki.

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#83 Post by BertB » 02 Mar 2016, 14:10

tozett wrote:
tozett wrote:think maybe here someone could make a openhardware pcb. still think that time will tell... :|
i stumbled again over something here: http://michaelhleonard.com/how-to-desig ... pcb-part2/

and for the new wiki-page about breadboards i will show mine :D :
I added you fine example to the wiki.

Perhaps we should start a thread with breadboard art :lol:

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#84 Post by BertB » 02 Mar 2016, 14:16

I used these to make 3.3 volts out of 5. They are cheap and work quite well.
http://nl.aliexpress.com/item/DC-5V-to- ... sOrig=true

As a source you can use a good USB power supply or this one:
http://nl.aliexpress.com/item/Free-Ship ... 57580.html

I am preparing a schematic with it.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#85 Post by JR01 » 02 Mar 2016, 23:19

Tozett & BertB, I replaced on my breadboard the ESP01 wth another to see if the stability holds, but did not, got the reboots again, and could not get my ESP12E working either. I am now rebuilding on vera board, with new components, will report back once this is done. Here is how far I got....
Attachments
IMG_0330.jpg
IMG_0330.jpg (79.93 KiB) Viewed 6289 times
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#86 Post by JR01 » 03 Mar 2016, 20:19

Tozett, on your Power wiki,
Use at least one 10uF (tantalum) and one 100 nF (multi layer) capacitor per externally connected device
, it is not clear between what and what to put these?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#87 Post by BertB » 03 Mar 2016, 20:32

If you connect for example a dht11/22 or a bmp085, then use such a combi across the power lines, as close as possible to that device.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: More Esp-12 Flashing problems

#88 Post by tozett » 03 Mar 2016, 22:29

both in parallel on 1 power-line
(i guess) :?

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#89 Post by BertB » 03 Mar 2016, 22:49

Sure. :).
The most important one is the 100nf multilayer capacitor, as it suppresses high frequent spikes. The 10 uF Tantalum capacitor acts as a local power storage.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#90 Post by JR01 » 07 Mar 2016, 08:18

Okay, some feedback of the last 3 nights work regarding my power instability. I think (hope) my problems are in my 5v-3.3v circuit. I built 4 of them the last 3 days, (still without ESP), to ensure I get stability in power, using an iPhone USB charger from mains. I have been using as 3.3v power regulator the 800mA to 1A UTC LD1117, and the LT1085, I got different designs as to what the caps must be with both, but finally got volts stability with:
- LT1085
- Cin = 100nF : from Vin (5v) to Gnd
- Cout = 10µF : from Vout (3.3v) to Gnd
Up to here I got my stable 3.3V !!!! And by the way, I could not get stability with the LD1117 3.3v regulator, and what is só confusing, is that their are different capacitor sizing plans on the web, the configuration I did here, gives me stability. (for instance, with same caps, and the UTC LD1117, the voltage fluctuates between 3.7v and 2.6v 's, and the voltage regulator gets so hot, it cooks water drop I put on it !)

Then, I added a 330 µF across Gnd and 3.3v out. Soldered all this up to a breadboard, like the picture I placed before, tonight I will carry on to add the ESP-01, to see if I have stability. Then, I will continue with same plan with ESP12E. Let's see if I will now step to success !
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

BertB
Normal user
Posts: 1020
Joined: 25 Apr 2015, 14:39

Re: More Esp-12 Flashing problems

#91 Post by BertB » 07 Mar 2016, 09:45

Are you sure you have connected pins correct on 1117. Without load it should stay cold.

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#92 Post by costo » 07 Mar 2016, 15:00

JR01 wrote: - Cin = 100nF : from Vin (5v) to Gnd
- Cout = 10µF : from Vout (3.3v) to Gnd
Up to here I got my stable 3.3V !!!! And by the way, I could not get stability with the LD1117 3.3v regulator, and what is só confusing, is that their are different capacitor sizing plans on the web, the configuration I did here, gives me stability. (for instance, with same caps, and the UTC LD1117, the voltage fluctuates between 3.7v and 2.6v 's, and the voltage regulator gets so hot, it cooks water drop I put on it !)
Modern lineair voltage regulators should give a stable output with or without load.
Some older types of voltage regulators like the LM7800 series had a tendency to become unstable without decoupling capacitors at in- and output. Under certain loads they could oscillate and function as a short wave transmitter. Under these conditions the voltage regulator could become extremely hot.
I do not know why your LD1117 gets so hot and is unstable but it could be that it is oscillating, that can be fixed with 2 decoupling (100nF) capacitors close to the in and output of the regulator.

It is good practise to use 100nF decoupling capacitors very close to every module or discrete active device like a voltage regulator and also some polarised capacitors of a few uF at all your modules.
Those capacitors, even if not nescesary, do no harm and will contribute to the overall stability of your circuit.

Exact values of decoupling capacitors are not critical but it is better to use several in parralel, 100nF multilayer ceramic + 10uF electrolytic , than to use one big electrolytic capacitor of a few hundred uF only. That is because electrolytic capacitors are good to filter low frequency ripple like 50/60Hz but (usually) cannot filter out HF oscillations, digital noise and ripple.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#93 Post by JR01 » 17 Mar 2016, 20:16

Thank you Costo, I now have a stable ESP01 running for one week. See attached photo (and the top is beautiful part, below its just wires!). I implemented the following:
- Voltage Regulator: LT1085 CT-3.3. (I could not get the 1117 to work, although I tried to switch around the pins, and what I found per diagrams)
- C1 - over 5v & Gnd input: 100nF ('104')
- C2 - over 3.3v & Gnd output from voltage reg: 100 µF
- C3 - as above, 330 µF
- C4 - between + and - of the Sensor (DHT11): Tantalum 10 µF
- C5 - as above: 100nF ('104')
- using a ESP01
- R1 to R3: pull-up to 3.3v - 10kΩ on RST, GPIO0, GPIO2
- R4 - on CH_PD - pull-up to 3.3v - 1kΩ

And did not need to do the Tantalum over Gnd and Vdd on the chip itself.

Thank you all ! (now to achieve the same with the ESP12E - started my planning tonight....)
Attachments
ESP01-small.jpg
ESP01-small.jpg (104.33 KiB) Viewed 7550 times
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: More Esp-12 Flashing problems

#94 Post by NietGiftig » 18 Mar 2016, 14:59

JR01 wrote: now to achieve the same with the ESP12E - started my planning tonight....)
I like the hobby rate of it all, but:

Take a Wemos Mini and you have it all (incl ESP8266 12E) on a print size that barely exceeds the footprint of a ESP12E.
For a price about 3.50Eur.
Inclusive voltage translation, usb to rx/tx, all c's all R's.
No need for buttons or pushing around with loading firmware
Just like a nodemcu.
Only a cheap USB power adapter and you running

http://www.wemos.cc/Products/d1_mini.html
Nice small box (0.99 eur)
See picture for size against some sensors
DSC_4472.jpg
DSC_4472.jpg (53.9 KiB) Viewed 7500 times

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#95 Post by JR01 » 18 Mar 2016, 18:46

Jip, I know you are correct.... Looking for a Huzzah, out of stock at my favorite store here in South Africa for this reason... Does Huzzah compare well to the Wemos?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: More Esp-12 Flashing problems

#96 Post by NietGiftig » 18 Mar 2016, 18:56

JR01 wrote: Does Huzzah compare well to the Wemos?
I do not know, never had the need for a Huzza
Not possible to buy things in China if you are living SA ?

I get the items out of China in about 2 weeks normally

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#97 Post by costo » 18 Mar 2016, 20:28

JR01 wrote:Jip, I know you are correct.... Looking for a Huzzah, out of stock at my favorite store here in South Africa for this reason... Does Huzzah compare well to the Wemos?
AdaFruit Huzzah is very much like NodeMCU, I would go for the feather Huzzah, the one with USB/Serial onboard , it is not so much more expensive than Huzzah breakout board and it is easy to use and program. https://www.adafruit.com/products/2821

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: More Esp-12 Flashing problems

#98 Post by NietGiftig » 18 Mar 2016, 21:04

costo wrote: I would go for the feather Huzzah, the one with USB/Serial onboard
May I ask why?
The one from the link costs $15,95 (and is not in stock)
The Wemos has the same ESP (12E), has also USB/Serial onboard, is smaller and is only $4.50
OK, no battery charging that is true

Please tell me what the pro's from the Huzzah are, maybe I overlooked somewhat

costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Re: More Esp-12 Flashing problems

#99 Post by costo » 20 Mar 2016, 01:51

NietGiftig wrote:
costo wrote: I would go for the feather Huzzah, the one with USB/Serial onboard
May I ask why?
The one from the link costs $15,95 (and is not in stock)
The Wemos has the same ESP (12E), has also USB/Serial onboard, is smaller and is only $4.50
OK, no battery charging that is true

Please tell me what the pro's from the Huzzah are, maybe I overlooked somewhat
I was in the supposition that JR01 was planning to buy the Huzzah from AdaFruit, the Huzzah board I mentioned has very good specs. Not the best price/performance.

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: More Esp-12 Flashing problems

#100 Post by JR01 » 22 Mar 2016, 19:10

NietGiftig wrote:Not possible to buy things in China if you are living SA ?
Thanks NietGiftig, I ordered 3 x Wemos D1 mini's last night, and in mean time got my ESP12E running with ESPEasy....
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests