Back to Course

Internet of Things

0% Complete
0/0 Steps
  1. Lesson-1-> Introduction to IOT
    4 Topics
    |
    1 Quiz
  2. Lesson-2-> Introduction to Node MCU & Arduino IDE
    6 Topics
    |
    1 Quiz
  3. Activity-1-> LED blink using Node MCU & Arduino IDE
    4 Topics
    |
    1 Quiz
  4. Activity-2-> Controlling of LED using Web Server
    5 Topics
    |
    1 Quiz
  5. Activity-3-> Interfacing of Ultrasonic sensor with Node MCU
    4 Topics
    |
    1 Quiz
  6. Activity-4-> LED ON/OFF using Google Assistance
    8 Topics
    |
    1 Quiz
  7. Chapter-3->Introduction to ThingSpeak
    4 Topics
  8. Activity-5 –> Air quality Monitoring using NODE MCU
    6 Topics
    |
    1 Quiz
  9. Activity-6 –> IOT based car parking system
    6 Topics
    |
    1 Quiz
  10. Activity-7 –> IOT based motion detector using Node MCU
    6 Topics
    |
    1 Quiz
  11. Activity-8-> IOT based Automatic gardening System
    5 Topics
    |
    1 Quiz
Lesson 10, Topic 6
In Progress

7.6 Uploading and working of code

22/09/2021
Lesson Progress
0% Complete

1. To upload the code in Node MCU firstly, connect the Node MCU with your Laptop or PC via Micro USB cable as shown below: 

2. Now, select Node MCU board in Arduino IDE: Go to tools <Board<ESP8266 boards< Node MCU 1.0(ESP 12E module).

Note: If Node MCU board is not visible then refer Lesson-2.

3. Then, again go to tools and select the Port as shown below:

Note : If the port is not coming,then check if the driver is installed in your PC or not.

4.Now, click the upload button and when the uploading will be finished then you will see uploading finished written below.

5. Once the code is uploaded and start running then at the same time the blynk app will also start working.

 Let’s test our project:

  • Click the reset button on the Node MCU.
  • Open the serial Monitor.
  • Now, do some motion in from of PIR sensor,if the PIR sensor is detecting the motion then you will see Motion detected message in the serial monitor and at the same moment you will receive a notification “Motion detected “in your smartphone(Blynk app).