NetworkJS and http modules not found #4397
Replies: 1 comment
-
Posted at 2015-11-25 by d0773d I just updated the picos firmware through the WebIDE and I am still receiving the NetworkJS and http not found error. Posted at 2015-11-25 by d0773d This is strange. I am not longer receiving the NetworkJS and http not found error; however, I am only receiving this in the Console:
The Gotchas section of the ESP8226 tutorial page says:
After executing the ESP8226 firmware demo code I receive:
Am I correct by saying that my wiring is correct since I received the version response? I am not sure what else I can do to troubleshoot.... Posted at 2015-11-25 by d0773d I revisited the firmware demo code and echoed out all of setTimeout code except for:
and I received the firmware printout on the console. So the baudrate the ESP8226 chip on the sparkfun's ESP8226 shield must be 9600. I am now trying to execute:
and received:
Posted at 2015-11-25 by d0773d So, I'm thinking that I may need to down grade the ESP8226 Firmware to 0.25.0.0? Where can I download the 0.25.0.0 ESP8226 firmware? Posted at 2015-11-26 by DrAzzy It's probably at 9600 sine you set the jumper for software serial. That's usual run slower since software serial kinda sucks Posted at 2015-11-26 by @gfwilliams Wow, I never heard of that before, but what @drazzy says sound right (although it should still work at 9600 baud - albeit a bit slowly). You could try running Posted at 2015-11-26 by @gfwilliams ... but yes, it's quite likely that flashing to 0.25 would fix it, but ideally we could make the driver cope with 0v30 if that's what comes with Adafruit's boards now. Posted at 2015-11-26 by d0773d Where I have written ESP8226 I meant to write ESP8266, oops. The baud rate is 9600 :). I'm still getting the Uncaught No 'ready' error. I then tried to communicate directly to the shield via an FTDI and termite(serial terminal). I have the auto line termination set to carriage return and new line. The only command I can get an OK back is AP any other command I send to it results in an ERROR. I sent off a bunch of ESP v2 shims to oshpark and ordered a bunch ESP boards from sparkfun. Hopefully my luck will change once I receive those in the mail. Posted at 2015-12-14 by d0773d I really have no idea why i'm having so many issues with the sparkfun ESP shield. So, I stopped using the sparkfun ESP shield and switched back to soldering the shim v2 of the esp shim to the pico. I soldered 0.1" Female Headers to the ESP through hole section of the shim. Luckly I chose that method instead of soldering the ESP directory to the shim, because the first ESP I had for whatever reason wouldn't work. I swapped it out for another ESP and it worked as expected :-) I'm hoping that by using the female headers, it will allow me to stay up to date with the new ESPs and swap them out for future R&D. Posted at 2015-12-14 by @gfwilliams Great, glad it's working now at least. I wonder if maybe the quality control isn't that good on them at the moment... Posted at 2017-02-19 by Phando Hello, Posted at 2017-02-20 by @gfwilliams It's probably just a warning from the IDE, since there is no JSON file describing ESP32 on the Espruino website at the moment. It should still work. But please can you avoid posting ESP32 related questions over questions about official Espruino boards in future? It'll just end up confusing people who've bought proper Espruino boards. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-25 by d0773d
I'm trying to use an ESP8226 and I managed to screw up a couple of picos while trying to solder on the ESP8226 shim. I no longer have shims for the ESP8226 and I am now using: https://www.sparkfun.com/products/13287 There is a switch located on the sparkfun's ESP8266 shield for Software Serial and Hardware Serial. I'm using the Software Serial pins on the ESP8266 shield and used jumper wires from the Hardware Serial RX and TX to pin A2 and A3 for successful communication.
I ran the firmware js code:
Which resulted:
I'm assuming that I should use the serial baud rate of 115200 because the ESP8226 firmware is 0.30.0.0?
I am now attempting to get basic communication from the ESP8226 and using the code below. However, I am receiving
and
Code:
Beta Was this translation helpful? Give feedback.
All reactions