Make your first Node

You could use any ESP8266 module available as your Node. After flashing the NodeLua firmware into a module, it becomes a “Node”. So you can write code in the WebIDE and run it by simply one click. Please following the instructions below to make a Node step by step:

1. Download the NodeLua firmware

2. Connect the ESP8266 module with a USB-Serial(TTL) convertor. Boot the module into “Download mode” by powering on with GPIO2 pulled up to VCC while GPIO0 and GPIO15 pulled down to GND (1K ~ 4.7K ohm resistors are required, don’t connect the pins to VCC/GND directly!).

3. Write the nodelua_8266.fw into ESP8266 with esptool.py (a simple, platform independent, open source replacement for the offical XTCOM tool)
./esptool.py write_flash 0x00000 nodelua_8266.fw

4. Pull GPIO0 back to VCC, so the module will boot normally. Open a serial communication program (e.g. minicom on Linux and Mac OS X, with command: minicom -D /dev/ttyUSB0 -b 115200 -c on; or putty on MS Windows) on your PC, connect with baudrate 115200, then power on the module.

Power on the module. If you can see the following screen, please go on.
NodeLua 1.0.20141218 (With liblua 5.1.5) Copyright (C) 2014 NodeLua.org free mem=32960
Please set wifi parameters to connect to an exist AP!
>

Then edit your WIFI information below and copy them one line at a time to the serial port
wifi.setmode(wifi.STATION)
wifi.config("SSID", "PASSWORD")

5. Create a project in the WebIDE

6, Create a Node and get the Node initialization script in the WebIDE.

7. Copy the Node initialization script to the serial port

8. Reboot your Node to complete.

Any problem? Let’s discuss here