Pratik Desai
Published

Make Your First IoT Project

How to create your own small IoT project which can be operated remotely.

IntermediateProtip4,303
Make Your First IoT Project

Things used in this project

Hardware components

5 mm LED: Red
5 mm LED: Red
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Arduino UNO
Arduino UNO
×1
ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1

Software apps and online services

Blynk
Blynk
Arduino IDE
Arduino IDE

Story

Read more

Schematics

LED Connections

Code

Blynk LED code

C/C++
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "6e99585c592b4532ab7bff70ba2c15b2";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "pratik";
char pass[] = "123456798";

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}

void loop()
{
  Blynk.run();
 
}

Credits

Pratik Desai

Pratik Desai

2 projects • 28 followers
maker | developer | traveller Click below link to join my WhatsApp group. https://bit.ly/32f8Y0H

Comments

Add projectSign up / Login