Print Friendly, PDF & Email

Components Required:

1. NodeMCU DEVKIT – Buy

2. Linux PC/Windows PC (Tested with Windows 10, Ubuntu 14.04 LTS)

3. Micro USB cable –  Buy

4. 5 mm LED – Buy

Way to go ->

1. Connect NodeMCU DEVKIT to PC via the Micro USB cable.

2. Write the following Lua scripts and upload to NodeMCU.

init.lua

Webserver.lua

Webserver

Hardware Connections ->

1. NodeMCU Pinout

2. LED connections