NodeMCU Wifi Module not found #5653
Replies: 1 comment
-
Posted at 2017-03-08 by PaddeK Dont you have to use the EspruinoWiFi Module with an ESP board? Try
and see if this helps. Posted at 2017-03-08 by user74461 thanks! it did something, but now it's saying NetworkJS not found. Posted at 2017-03-08 by Ollie @user74461
When using a using a terminal app to send code, you won't have modules autoloaded by default, but that shouldn't be your issue with the Wifi module as that is built in. Are you saying that you get undefined returned from this?
Posted at 2017-03-08 by user74461 yes. Attachments: Posted at 2017-03-09 by Ollie Where is that function call to You should get this, or similar, this is the output of a connection with screen:
In the terminal try issue a Posted at 2017-03-09 by Wilberforce Instead of using the nodejs - your are better off using the web ide. Install that in chrome and set the board rate to 115200 and use that to programme. Posted at 2017-03-09 by user74461 I've tried reflashing the board, no result. Posted at 2017-03-10 by Ollie This is most odd. We should use the Web IDE though - we have a good starting point for debugging and a common understanding of the interface. Please can you post the output/screen grabs of these actions.
Posted at 2017-03-10 by user74461 Sure Attachments:
Posted at 2017-03-10 by Ollie Thanks for that. I thought it was a big ask. It's not exactly as I had hoped, but the good news is your board looks fine. Next step is to get yourself on a network. Something like this, but checkout the documentation for all the detail
Posted at 2017-03-10 by Ollie Re the output after Posted at 2017-03-10 by user74461 Ok, I reflashed the board to the 1v91 espruino using esptool.py. Posted at 2017-03-10 by user74461 Ok. I reflashed using esptool.py to 1v91 espruino. Attachments:
Posted at 2017-03-10 by Ollie Looks good. So what do you want to do next? Posted at 2017-03-10 by user74461 YES! Thanks man much appreciated!!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-08 by user74461
I know this has been asked before, but they all used a different method of flashing the nodeMCU. I followed this tutorial (https://goo.gl/0GVDTX) to flash Espruino onto the device.
I am not getting any output from any of the Wifi functions, tried getIp, getStatus, etc... All thats returned is undefined.
i've also tried variations of "... require("Wifi")"
basic functionality works and console output works fine. it's just wifi that isn't working.
code currently on the board
attached file is the terminal output from that code
Is there an easy method of installing all the required modules that doesn't use crazy to understand terminal stuffs :p
thanks for any help!
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions