Internet of Things, IoT, Introduction

Internet of things IOT

Nowadays, IoT is the most popular technique to enhance technology and make all complex things become to be easier.

Internet of things is the combination of both Software + Hardware components.

  • Software is used for programming in Arduino
  • Hardware is used to control the devices which is connected through the internet.

We can take any control through the IoT, suppose you are reaching at home and want to A.C will ON automatically when you entering at home. So it is Possible through the Internet Of things.

for download Arduino copy the given link and paste on url

https://www.arduino.cc/en/software

After installing the Arduino you can see the symbol on your desktop as given below

Click on this symbol you see the Page is open like as given below:

arduino window

Now this is your Arduino compiler and Ready to start with some code.

First program in Arduino

void setup() {
  // put your setup code here, to run once:
pinMode(16, OUTPUT);    //pin 16 represents D0 in Nodemcu 

}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(16, HIGH);
delay(10);
digitalWrite(16, LOW);
}

After write the code on Arduino

>Go to tools option and select Board: “Generic Esp8266”

>Connect with NodeMcu

>Go to the tools option and select the COM port which is shown on the port.

>Click on the Right tick option

>Click on upload option then below screen is shown and give output.

Connect D0 and Gnd with the led bulb then the led light will glow.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top