No 'ready' after AT+RST error on wifi connection #5014
Replies: 1 comment
-
Posted at 2021-03-23 by @gfwilliams How are you powering the Espruino WiFi? Please could you run It's possible that there's some issue with the voltage on the device which is causing the Wifi module not to boot? It also seems that maybe there's some other code in there that you're uploading (eg you're calling
Posted at 2021-03-23 by marzsman The value is between 3.31 and 3.04. I have a LED strip soldered to the + - and B15 When I remove all unrelated code in my program I get the same error. The LED strip is still working as expected. Could I have damaged the ESP8266 in some way? I always had my espruino connected to my laptop, I'm not 100% sure but after I plugged the USB into a standard android phone USB power plug it stopped working. Typically it was the moment that I finalised my project and wanted to show it the first time to someone else it died. So frustrating :) BTW any idea when the Espruino WIFI will be back in stock? Attachments: Posted at 2021-03-24 by @gfwilliams Thanks for checking - that's very interesting then! The LEDs are connected to the 5v wire which is connected direct to USB power. When they are active and you're seeing 3v on But without it, the 3.3v rail seems ok. Please could you try this and see if anything at all gets printed?
It's hard to believe a different USB supply would have caused an issue for you - the voltage regulator is rated for about 16v so even if it was seriously out of range it's unlikely to cause problems. I'm hoping to have some more Espruino WiFis eithin the month - I've got pretty much all the parts needed here for assembling a new batch, but I've just had a bit too much on to get them made recently. Posted at 2021-03-24 by marzsman Nope, nothing is printed.
Is it a bad idea to attach the LED strip directly to those pins? Posted at 2021-03-24 by @gfwilliams Ok, thanks for trying. That's bad news then. Honestly, I'm not sure what to suggest - you could check that the states of the BOOT/CHPD pins on the ESP8266 go up and down as you'd expect - but if they do then the ESP8266 seems to be toast (somehow!). What's
Not especially - those pins are connected straight to USB's 5V. It's just that if the voltage is dropping that low, the PC is struggling to supply enough power (but that seems unlikely if it's 10 neopixels - give the voltage drop I thought you might have 50 to 100!). Stupid question: Have you tried a different Micro USB cable? It could just be a dead cable that's unable to supply enough power even for the WiFi on the Espruino WiFi to boot. Posted at 2021-03-25 by marzsman OMG, I was about to try to desolder the ESP8266 and replace it with another one I had when I thought to give it one more go. And yeah guess what, it worked :D I have no idea what did the trick. Very frustrating that I have no idea what the issue was :) But it works! That's the most important thing. Thank you very much for looking into it! And then buy more espruinos and have more fun with them ;) Attachments: Posted at 2021-03-26 by @gfwilliams Glad you sorted it - and that looks amazing! So it's side-lit, encraved acrylic panels? I can't wait to see the instructable! My money is on a dodgy Micro USB lead now - so if you have troubles again maybe try that as a first port of call. I've lost count of the number of times dodgy USB leads have been the cause of problems (although usually it's broken data lines rather than power!). Posted at 2021-09-29 by marzsman Sorry for bringing this up again but it was still bugging me :) I keep getting this error from time to time and it keeps me from finalising the project. But last weekend I think I might have found what the cause of the error is. So I want to check with you if this could be possible. When I unplug the USB and the ESP is in the middle of doing something (?) it gets 'locked' with the error. Now I added a wifi.disconnect() after I requested my data. So I really hopes this solves my issue :) Posted at 2021-09-29 by @gfwilliams Is it possible that you're hitting this issue? http://www.espruino.com/Troubleshooting#i-typed-save-but-espruino-won-t-work-or-stops-working-quickly-when-powered-from-a-computer-it-only-works-from-a-usb-power-supply-battery-or-the-computer-when-the-web-ide-is-running- To do with print statements when plugged into USB but no terminal app is running? Also, how are you powering the Espruino WiFi if you can plug/unplug USB? It's possible that if you're using much above 5v to power it, you can get the voltage regulator so hot that it shuts down? Posted at 2021-10-03 by marzsman I don't think it's that, because it happens in both situations. It doesn't matter if it's connected to USB adapter or PC with Espruino IDE running. The main power sources I'm using are the USB hub connected to my macbook, a standard USB hub adapter with a power source and an old USB charger. It looks like the error is not happening when I'm sure the wifi connection is closed each time I disconnect the USB . But that could be a coincidence as I have no idea what's going on :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-03-22 by marzsman
I was running some code on the Espruino Wifi without any issues, but suddenly after reconnecting my Espruino to the WebIDE I get this error.
I tried resetting and flashing my Espruino, removing all local code, clearing the cache, uploading something else but nothing changes. It's like the Wifi module is in some kind of locked state.
I have no idea how to fix it. I hope anyone else could help me?
This is the code I use to connect to my Wifi
Beta Was this translation helpful? Give feedback.
All reactions