Pico with WiFi shim problems #4775
Replies: 1 comment
-
Posted at 2019-04-25 by @gfwilliams Well, it all sounds reasonably positive - you've obviously got two-way comms with the ESP8266 so we can pretty much rule hardware out. Please could you post your code up and I'll take a look? All I can think is maybe even if you're connected to a WiFi access point the DHCP may not have worked for some reason so there's no way to actually connect to the net. You could also try doing the GET with a simple IP address and see if that helps? Posted at 2019-04-25 by Bennr Yes I think it's something stupid I'm doing. It connects to the WiFi but just won't get anything. I tried substituting the URL for Thanks, Here's my code:
Posted at 2019-04-25 by @gfwilliams I just tried it here and it works fine for me on a 2v01 Pico:
So it may well be something to do with your WiFi setup. What does Posted at 2019-04-25 by Bennr Thanks, I had a sinking feeling it's something to do with my Wifi. I had a look on my router and it's seeing the Espruino and assigning it an IP address. Output is:
Posted at 2019-04-25 by Bennr Ugh, guess what? Turning my router on and off seems to have fixed the issue. What I'm trying to do is to Posted at 2019-04-25 by @gfwilliams I'm not 100% sure on that, the ESP8266 itself may auto-reconnect if the AP goes down - however there is a Posted at 2019-04-26 by Bennr Ok thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-04-25 by Bennr
Hi, I got one of the original Picos with wifi shim and have updated the firmware on the Pico to 2v01 using TI CC3000 Wi-Fi networking (I did try with the other one as well just to make sure). I checked the ESP firmware on the board and that is as follows
"AT version:0.25.0.0(Jun 12 2015 20:26:28)\r\nSDK version:1.1.2\r\ncompile time:Jun 17 2015 22:11:51\r\n\r\nOK\r\n"
I think it's the most stable version?When I do a simple GET request, it times out and throws an error, which varies from
code -6, not found
tocode -15, no response
I can access the endpoints through the browser/curl so I think that's ok. Am I missing something obvious? It's been a while since I did anything with my Pico and wifi so may have missed an update somewhere.
Beta Was this translation helpful? Give feedback.
All reactions