Print Friendly

Components Required:

1. NodeMCU DEVKIT – 2 – Buy

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

3. Micro USB cable – 2 – Buy

4. Potentiometer – 10K Ohm

5. 5 mm LED – Buy

Way to go ->

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

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

init.lua

ToThingSpeak.lua

3. Write the following the scripts and upload to the second NodeMCU.

init.lua

TSControl.lua

Hardware Connections ->

1. LED to NodeMCU

2. Potentiometer to NodeMCU