Pratik Desai
Published

Make Your First IoT Project

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

IntermediateProtip173
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 & Genuino UNO
Arduino UNO & Genuino 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

Led tt2tdshurt

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

3 projects • 1 follower
maker | developer | traveller http://api.whatsapp.com/send?phone=8483926750&text=Please add me to your whatsapp group

Comments

Add projectSign up / Login