The document outlines a series of experiments using NodeMCU, an open-source IoT device, including LED control, web server setup, and sensor interfacing. It provides a comparison between NodeMCU and Arduino, highlighting NodeMCU's software capabilities and built-in WiFi module. Additionally, it includes instructions for software installation and setup for programming with the Arduino IDE.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
14 views
IoT_Lab
The document outlines a series of experiments using NodeMCU, an open-source IoT device, including LED control, web server setup, and sensor interfacing. It provides a comparison between NodeMCU and Arduino, highlighting NodeMCU's software capabilities and built-in WiFi module. Additionally, it includes instructions for software installation and setup for programming with the Arduino IDE.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11
Welcome to
IoT LAB Sl No List of Experiments
Introduction to NodeMCU
1 Built-in LED Blinking using Node MCU
2 External LED On/Off using Node MCU
3 Traffic Signal Control using Node MCU
4 Switch & LED interfacing using Node MCU
5 NodeMCU as a Web Server
6 NodeMCU as a Web Server and Control LED
7 NodeMCU ESP8266 as a WiFI Access point( Hot spot)
8 Controlling LED using HTMLpage by making NodeMCU as a Server
Humidity Sensor Interfacing to NodeMCU & Sending data from NodeMCU to ThingSpeak 9 cloud
10 LED Interfacing to NodeMCU & read Data from Thingspeak to NodeMCU
• Node MCU is basically, an Open Source IOT (i.e. Internet of Things) device, which is similar to Arduino, • Coded using an Arduino IDE, but it’s not Arduino, not even close to it, as Arduino is all about Hardware power, and Node MCU is more like Software power, • Arduino has more I/O ports and Better Compatibility all over, on the other hand, Node MCU has better RAM and Storage, • Node MCU has inbuilt WIFI module. So that’s a little Overview of our Board Fig.1: ESP8266 WiFi Pin Description Software Installation and Setup: The first step is to download and install the Arduino IDE-1.8.8 and include the file directory ESP 8266 in Arduino. Open the Arduino IDE. Step-1: Go to File > Preferences. 2. Paste the URL http://arduino.esp8266.com/stable/package_esp8266com_index.json into the Additional Board Manager URLs field. 3. Go to Tools > Board > Board Manager and search for 'esp8266' and install it void loop(){
digitalWrite(led1, HIGH); //turning Red LED ON
digitalWrite(led2, LOW); //turning Green LED OFF
digitalWrite(led3, LOW); //turning Yellow LED OFF
#define led1 14 // Red LED delay(1000); //delay for 1Sec #define led2 13 // Green LED digitalWrite(led3, HIGH); //turning Yellow LED ON #define led3 15 // Yellow LED digitalWrite(led1, LOW); //turning Red LED OFF void setup() { digitalWrite(led2, LOW); //turning Green LED OFF pinMode(led1, OUTPUT); // delay(1000); pinMode(led2, OUTPUT); digitalWrite(led2, HIGH); //turning Green LED ON pinMode(led3, OUTPUT); digitalWrite(led3, LOW); //turning Yellow LED ON