So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Zachrey
#72506 Hi everyone!

I just got the ESP-12N board on Amazon with NodeMCU on it! I plugged it in to my Win7 64bit laptop USB port and got the following from ESPlorer (which I just unzipped and ran):

------------------------------------------------------------------
PORT OPEN 9600

Communication with MCU..Got answer! Communication with MCU established.
AutoDetect firmware...

Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
gibberish...
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: cjson,file,gpio,net,node,pwm,tmr,uart,wifi
build built on: 2016-03-14 02:10
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
>
--------------------------------------------------------------------

BTW, this is what the cmd.exe window launched by ESPlorer says:

------------------------------------------------
Dec 14, 2017 10:26:51 PM ESPlorer.ESPlorer main
INFO: Installed: L&F Metal class:javax.swing.plaf.metal.MetalLookAndFeel
Dec 14, 2017 10:26:52 PM ESPlorer.ESPlorer main
INFO: DEFAULT: L&F Nimbus class:javax.swing.plaf.nimbus.NimbusLookAndFeel
Dec 14, 2017 10:26:52 PM ESPlorer.ESPlorer main
INFO: Installed: L&F CDE/Motif class:com.sun.java.swing.plaf.motif.MotifLookAndF
eel
Dec 14, 2017 10:26:52 PM ESPlorer.ESPlorer main
INFO: Installed: L&F Windows class:com.sun.java.swing.plaf.windows.WindowsLookAn
dFeel
Dec 14, 2017 10:26:52 PM ESPlorer.ESPlorer main
INFO: Installed: L&F Windows Classic class:com.sun.java.swing.plaf.windows.Windo
wsClassicLookAndFeel
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Load saved settings: Firmware:NodeMCU
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Snippets: loading...
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Snippets load: Success.
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Set new color theme: Success.
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Load saved settings: DONE.
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Snippets: loading...
Dec 14, 2017 10:26:54 PM ESPlorer.ESPlorer log
INFO: Snippets load: Success.
Dec 14, 2017 10:26:55 PM ESPlorer.ESPlorer log
INFO: Scan system...
Dec 14, 2017 10:26:55 PM ESPlorer.ESPlorer log
INFO: found last saved serial port COM25
Dec 14, 2017 10:26:55 PM ESPlorer.ESPlorer log
INFO: Scan done.
------------------------------------------------------------------


Then I went to the ESPLorer pane with the "Scan Network" button and "Connect to AP" under the "Commands" tab and clicked on them and got:

"Scan Network" button
--------------------------------
> import network;nic = network.WLAN(network.STA_IF);nic.scan()
stdin:1: '=' expected near 'network'
>
--------------------------------

"Connect to AP" button
------------------------------------
> import network;nic=network.WLAN(network.STA_IF);nic.active(True);nic.connect('MySSID','password')
stdin:1: '=' expected near 'network'


What am I doing wrong?

Thanks!
Zac