NodeMCU LUA WiFi Internet of things ESP8266 Development Board IoT

QTY: 16 In Stock

Calculate Shipping

Toll DX Express - $5.00 (ETA: 1 days)
Fastest Delivery Method - Overnight
** Recommended **

eParcel Shipping - $6.95 (ETA: 1 days)
5-7 Business Days
Austpost Express Post - $8.95 (ETA: 1 days)
Average Delivery Time 2-3 biz days
Toll is faster than express post!

Key points about this V2 nodeMCU that Logicware sells
  • ESP-12E Processor
  • CP2102 Serial / USB Chip
  • Easy to use breadboard friendly form factor
  • LD33 Voltage Regulator / Converter, excellent DC to DC conversion, super efficient
  • V2 is the original design - nodeMCU and Amica work together
Why not get the (cheaper) V3?
  • It's too wide, not as breadboard friendly
  • Has the cheap and nasty CH340G serial / usb chip
  • V3 is a clone design
  • nodeMCU has not officially released a V3, this is a Lolin 'hack'
  • You may be buying problems
A few pointers for when you first get your nodeMCU device
There is a good chance your nodemcu won't have a firmware release on it. But that's ok.
It's really easy to install the firmware yourself and its good experience as you can build a custom firmware to install.
I made a short video on how to burn the firmware on these.
You need the ESP8266 firmware flasher, choose the directory for 32 or 64 bit windows.
If you want to load a much improved firmware, then visit this site
and build your own firmware with the modules you actually want/need.  I'll make a video to run
through this process soon.
Once you have received your email link you can then use the ESP8266 flasher to upload it.
LuaLoader, which is optional but is an easy way to communicate with the device.

Many people now use the Arduino IDE for running their nodemcu dev board.
The latest release of the Arduino IDE should have everything you need to get this going.
** The info below is mostly relevant, but remember it was written for the V1 NodeMCU product **
                            **The section regarding ESP8266 is pretty much unchanged**
The development kit is based on the ESP8266, it features integrated 
GPIO, PWM, IIC, 1-Wire and ADC all in one board. Power your 
development in the fastest way combined with NodeMCU Firmware!
Open-source, Interactive, Programmable, Low cost, Simple, Smart, WI-FI enabled
Arduino-like hardware IO
Advanced API for hardware IO, which can dramatically reduce the redundant work for configuring and manipulating hardware. You can code like Arduino, but also interactively in a Lua script.
Nodejs style network API
Event-driven API for network applications, which facilitates developers writing applications. Running on a 5mm*5mm sized MCU in NodeJS style. This greatly speeds up your IOT application development process.
Lowest cost WI-FI
Using low cost wifi modules with easy integration, the ESP8266 is the heart of communications within the nodeMCU. This integrated board provides one of the best platforms for quick and easy IoT integration and development.
Getting Started With The ES8266

ESP8266 Quick Start

This page is meant to be a quick introduction to the ESP8266 for those who are confused by all of the information available on the various blogs and forums who just want to try out this exciting board in the shortest possible time. This guide is for Windows users who want to use the NodeMCU environment.

Not counting waiting for hardware to ship to you (1-10 days), you should be able to use your ESP8266 for something useful in less than an hour. Ready?

What do I need to buy?

You will need an ESP8266 development board

A 3 volt power supply. The ESP8266 runs on anything from 2.8 to 3.5 volts, so a couple of AA batteries will work. Most of us use a 3.3 volt regulated power source. Maximum current draw is 300 mA, so use a supply that can supply 500 mA to be safe. More is better. A weak or poor quality supply will cause the board to reset unexpectedly and make debugging difficult. The NodeMCU Development Board has a USB to 3.3V power supply on the board.

The NodeMCU Development Board has the USB to serial interface on the board. When you receive your adapter, verify that the actual voltage output is 3.3 volts as some cheap adapters have been found to be mislabelled. 

If you only have the ESP8266, you will also need a USB to serial adaptor. This should be a 3.3 volt compatible model. It is possible to level convert if you already have a 5 volt adapter. 
Any of the following should work: FTDi,CH340FT232RL.

What do I need to download?

The ESP8266 board you bought may have one of many different firmware versions on it. Many come with AT firmware for serial communications. Some come with no user firmware at all. I recommend the NodeMCU Lua firmware as a starting point because it gives you an interactive programming language which allows you to experiment and build simple working programs without a lot of effort. If you are not familiar with Lua, you will find that it is not hard to learn, at least for the simple tasks needed to get started.

The tool you will use to flash the NodeMCU firmware on your ESP8266 board is thenodemcu-flasher. It is open source on github. Go to the nodemcu-flasher page and choose Win32 or Win64 depending on your computer system. Click on ESP8266Flasher.exe and then right click on View Raw and Save Link As... to download the application to your PC. Or use the direct links below:

ESP8266Flasher.exe for Win32 

ESP8266Flasher.exe for Win64

What do I have to connect?

The actual connections will depend on the board you have and the USB to serial adapter you are using.

ESP8266 connections
  • Power.
    • +3.3 volts to Vcc
    • ground
  • Communications.
    • TxD on the board to RxD on the adapter
    • RxD on the board to TxD on the adapter
    • Ground
  • Jumpers.
    • Connect Vcc to CH_PD to enable the chip
    • Connect GPI0 to GND to enable flash reprogramming

How do I install NodeMCU on my ESP8266?

Plug the USB to serial adapter into your PC. Most adapters are automatically recognized by Windows 7 and 8. Users of XP or older versions of Windows may need a driver which should be supplied by the manufacturer of the USB adapter. The adapter will appear as a new COM port on your system. Check the Device Manager if necessary.

Run ESP8266Flasher.exe


If you only have one COM device, the port will appear automatically. If you have more than one, select the correct one from the drop down menu.

The flasher program comes with default NodeMCU firmware in memory. This is unlikely to be the latest version, but to get started quickly, use the default internal image. Later, you can download the latest firmware, then select the [Config] tab and choose the new .bin file. Select the 0x7C000 default and 0x7E000 blank sections. Uncheck the box for the 0x10000 IROM section.

Click on Flash(E) to start the programming process. If the MAC addresses don't appear within a few seconds, disconnect the power to the board and reconnect it. If it still doesn't work, check your connections. Make sure that the jumper between GND and GPIO0 is there so that the board is in reflash mode.

Reflashing the chip will take a couple of minutes. When the job is done, disconnect power from the board and remove the jumper from GND to GPIO0 to leave reflash mode.

You are now ready to program the ESP8266 for your own application.

How do I communicate with the ESP8266?

The NodeMCU Lua firmware you have just installed communicates with the PC over the serial link. You can use PuTTY, SimpleTerm, or any other terminal program that you like to write Lua programs or enter direct commands to the board. The default speed is 9600 baud, but that can be changed to any other baud rate once you have established communications.



LuaLoader is a Windows program for uploading files to the ESP8266 and working with the Lua serial interface. As well as being a simple terminal program, it has built in Lua command buttons that make it easy to interact and experiment with the ESP8266 board.


LuaLoader.exe is a simple Windows application that requires no special installation.

From the Settings menu, select COM Port Settings and choose the appropriate COM port for your USB to serial adapter. Don't change any other setting.

Clicking buttons on LuaLoader sends commands to the board. Power your board and watch for the initial message. After displaying some funny characters (these are firmware reset parameters sent at 74880 baud), you should see the version information of the NodeMCU build:

NodeMCU 0.9.5 build 20150107 powered by Lua 5.1.4

LuaLoader will warn you if a later firmware build is available.

After booting, NodeMCU will attempt to run a file called init.lua in flash memory. Since you haven't put it there, it will report an error and show the > prompt. You are now ready to interact with Lua on the ESP8266.

Click the Heap button to display the amount of RAM available. LuaLoader will type the command = node.heap()and the ESP8266 will respond with 23016 or some other value, followed by the > prompt again.

How do I connect to an Access Point?


Enter the SSID and password of your closest access point in the appropriate text box on LuaLoader. Click Set AP. LuaLoader will type the commands to set the WiFi mode and connect. This information is saved in flash memory and will be remembered until changed, even if the board is powered down.

Click the  WiFi button to check the connection status.

Click Get IP to confirm that the ESP8266 is connected to your access point.

Click the Survey button to list the available access points visible to the ESP8266. The SSID, authentication mode, signal strength, MAC address and channel are shown.

All of the commands typed by LuaLoader can be entered manually, or saved in a file to be run automatically.

How do I read a GPIO input?

The Lua function reads the value of the input specified by pin if the GPIO has been set up as an input.

LuaLoader makes this easy to test. Select pin 3 GPIO0 from the GPIO dropdown menu, select input and floating from the mode dropdown menus. Click Set. Then, click Read. The current pin value will be 0 or 1. In this case, 1 as that pin is held high normally.

Note that if GPIO0 is low on reset, the chip will enter reflashing mode, so you must ensure that any use of that GPIO0 for user input is high when the device is powered on or reset.

To read the value of the input pin repeatedly, in LuaLoader, click on the clock beside the Read button. Note, that if you are using the NodeMCU development board, the button marked FLASH will change the value from 1 to 0 when the button is pressed as it is connected to GPIO0 and ground. The read rate can be changed in the Settings menu.

How do I send data to a server?

The demo script httpget.lua connects to this webserver and sends the time it took to connect (in microseconds) and the amount of heap (RAM) available at that time.

Download the script to your computer, then upload it to your ESP8266 using theUpload File button.

-- tested on NodeMCU 0.9.5 build 20141222...20150108
-- sends connection time and heap size to <a href="">"> print('httpget.lua started')
Tstart =
conn = nil
conn = net.createConnection(net.TCP, 0) 
-- show the retrieved web page
conn:on("receive", function(conn, payload) 
success = true
-- once connected, request page (send parameters to a php script)
conn:on("connection", function(conn, payload) 
conn:send("GET /esp8266/test.php?"
.." HTTP/1.1\r\n" 
.."Connection: close\r\n"
.."Accept: */*\r\n" 
.."User-Agent: Mozilla/4.0 "
.."(compatible; esp8266 Lua; "
.."Windows NT 5.1)\r\n" 
-- when disconnected, let it be known
conn:on("disconnection", function(conn, payload) print('\nDisconnected') end)


Connect to your access point first using the Set AP button. This is not normally necessary if you have set the correct AP since the last time you flashed new firmware.

Use the dofile button to run the file you have just uploaded.

The contents of the retrieved page should be displayed.

httpget.lua test

Feel free to use my server for a few tests, but please change to your own webserver or sign up for one of the public internet of things servers, such as Claudiuchiru has posted an example of sending temperature (using an inexpensiveBS18B20 I2C sensor) to

This simple script is all it takes to make useful gadgets from the simplest ESP-01 board. The board can be connected so that it receives power when a device is on, a button is pressed, motion is detected, a magnet trips a reed switch, etc. etc.

The php script will receive the signal and can be programmed to send an email, send an sms, push a notification to your phone, or simply log events for future reference.

Our well pump is now monitored by an ESP-01 running a simple script once every 30 seconds when the power is on. As well as logging the activity and sending a daily email report, the script sends out emergency notifications if the pump runs for more than 2 hours, or hasn't run for more than 36 hours.

motion detector with a relay turns on another ESP-01 which runs the same program but calls a different php script to alert me when there is motion in front of the house. My phone receives the alert before the doorbell is pressed.

How do I make the program run automatically?

When the ESP8266 starts, it runs the init.lua file. Simply create a file called init.luawhich runs the file with your program instructions. It is also a good place to initialize any variables you are using, such as the SSID of the access point. While debugging, it is a good idea to use a timer to call your file after a few seconds. If you make a mistake, causing a crash, you will have a few seconds to stop the timer with thetmr.stop button before the program starts to run again. For the example above, one line will do:

tmr.alarm(0,10000,0,function() dofile('httpget.lua') end)

Arm timer number 0 to execute the function dofile('httpget.lua') in 10 seconds.

How can I learn more?

The Help menu of LuaLoader has a large number of links to ESP8266 and Lua resources for convenient access while programming. There is also a menu item linking files on your computer you may have downloaded for reference.

Useful Links:


SKU IF_67FA9804
Brand Logicware

Be The First To Review This Product!

Help other Logicware Pty Ltd users shop smarter by writing reviews for products you have purchased.

Write a product review

Others Also Bought

More From This Category