More Esp-12 Flashing problems
Moderators: grovkillen, Stuntteam, TD-er
Re: More Esp-12 Flashing problems
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
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
Re: More Esp-12 Flashing problems
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.....
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
JR01 wrote:But sadly, still has same results.
may you post the output from the serial monitor while booting/error. is it possible?
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
thumbs up, SOLVED
Re: More Esp-12 Flashing problems
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?
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
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
Does look like you have power problems. Resetting right after you have connected to your WiFi points to that is my experience.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....
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.
Re: More Esp-12 Flashing problems
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....
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
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....
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
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.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.
Re: More Esp-12 Flashing problems
RESETJR01 wrote: ets Jan 8 2013,rst cause:2, boot mode:(3,7)
you catched the serial output wich showed
Code: Select all
reset cause: 2
boot mode x,y
http://www.esp8266.com/viewtopic.php?p=2096#p2112reset causes:
0:
1: normal boot
2: reset pin
3: software reset
4: watchdog reset
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
https://github.com/esp8266/esp8266-wiki ... boot-modesn the bootup message 'boot mode:(x,y)' three low bits of x are {MTDO, GPIO0, GPIO2}.
cannot see what y is
may also consider costos suggestion, also given here:
http://bbs.espressif.com/viewtopic.php?t=318Many resets caused by insufficient power supply.
Try:
1. adding 10uF capacitor across vcc and ground at module
2. different 3.3vdc power supply
Last edited by tozett on 22 Feb 2016, 12:02, edited 1 time in total.
Re: More Esp-12 Flashing problems
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.
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.
Re: More Esp-12 Flashing problems
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:
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)?
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
so manual reboot is caused by reset-pin? or by reboot through the gui (what i did not do)?
Re: More Esp-12 Flashing problems
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 .
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 .
Re: More Esp-12 Flashing problems
If you have something in writing, I can put it in the wiki together with some tips and tricks I gathered over the months.
Re: More Esp-12 Flashing problems
+1, thumb up,
greaaaat thanks! this will truely help others ...
greaaaat thanks! this will truely help others ...
Re: More Esp-12 Flashing problems
I am working on this.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.
Re: More Esp-12 Flashing problems
Great. And I made a start. Look at hardware tips n tricks in the wiki. Just an idea.
Re: More Esp-12 Flashing problems
I am writing a small piece about capacitors, that can be but inside that page. Will sent you that later today.BertB wrote:Great. And I made a start. Look at hardware tips n tricks in the wiki. Just an idea.
edit: I've sent you a P.M.
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
looks like someone made a PCB with costos tips for stable power-supply etc..
http://lookmanowire.blogspot.de/2015/02 ... ev-10.html
http://lookmanowire.blogspot.de/2015/02 ... ev-10.html
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
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..
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..
Re: More Esp-12 Flashing problems
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 Maybe you can get lucky again and reach him for us????
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
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...
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...
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: More Esp-12 Flashing problems
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.
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.
Re: More Esp-12 Flashing problems
i stumbled again over something here: http://michaelhleonard.com/how-to-desig ... pcb-part2/tozett wrote:think maybe here someone could make a openhardware pcb. still think that time will tell...
and for the new wiki-page about breadboards i will show mine :
- Attachments
-
- bread2.png (169.24 KiB) Viewed 24606 times
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
hey, thanks for your feedback. so one knows the world is still alive out there.
what helped specificly to get stability? so what are the two things, that you´ve done?
maybe (now, or if youre done) you could tell the world out there,JR01 wrote:I implemented two of the suggestions and got stability back to my ESP-01 breadboard.
what helped specificly to get stability? so what are the two things, that you´ve done?
Re: More Esp-12 Flashing problems
If you want, I can add your findings to the wiki.
Re: More Esp-12 Flashing problems
I added you fine example to the wiki.tozett wrote:i stumbled again over something here: http://michaelhleonard.com/how-to-desig ... pcb-part2/tozett wrote:think maybe here someone could make a openhardware pcb. still think that time will tell...
and for the new wiki-page about breadboards i will show mine :
Perhaps we should start a thread with breadboard art
Re: More Esp-12 Flashing problems
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.
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.
Re: More Esp-12 Flashing problems
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 (79.93 KiB) Viewed 24883 times
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
Tozett, on your Power wiki,
, it is not clear between what and what to put these?Use at least one 10uF (tantalum) and one 100 nF (multi layer) capacitor per externally connected device
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
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.
Re: More Esp-12 Flashing problems
both in parallel on 1 power-line
(i guess)
(i guess)
Re: More Esp-12 Flashing problems
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.
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.
Re: More Esp-12 Flashing problems
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 !
- 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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Re: More Esp-12 Flashing problems
Are you sure you have connected pins correct on 1117. Without load it should stay cold.
Re: More Esp-12 Flashing problems
Modern lineair voltage regulators should give a stable output with or without load.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 !)
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.
Re: More Esp-12 Flashing problems
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....)
- 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 (104.33 KiB) Viewed 25677 times
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: More Esp-12 Flashing problems
I like the hobby rate of it all, but:JR01 wrote: now to achieve the same with the ESP12E - started my planning tonight....)
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
Re: More Esp-12 Flashing problems
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, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: More Esp-12 Flashing problems
I do not know, never had the need for a HuzzaJR01 wrote: Does Huzzah compare well to the Wemos?
Not possible to buy things in China if you are living SA ?
I get the items out of China in about 2 weeks normally
Re: More Esp-12 Flashing problems
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/2821JR01 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?
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: More Esp-12 Flashing problems
May I ask why?costo wrote: I would go for the feather Huzzah, the one with USB/Serial onboard
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
Re: More Esp-12 Flashing problems
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.NietGiftig wrote:May I ask why?costo wrote: I would go for the feather Huzzah, the one with USB/Serial onboard
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
Re: More Esp-12 Flashing problems
Thanks NietGiftig, I ordered 3 x Wemos D1 mini's last night, and in mean time got my ESP12E running with ESPEasy....NietGiftig wrote:Not possible to buy things in China if you are living SA ?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
Who is online
Users browsing this forum: No registered users and 87 guests