Pratik Desai
Published

How to Program ESP8266 (ESP-01) Module with Arduino UNO

It's difficult to make communication with ESP-01 module but today I'll show how to do it in the simplest way.

IntermediateProtip245,851
How to Program ESP8266 (ESP-01) Module with Arduino UNO

Things used in this project

Story

Read more

Schematics

For Programming Connections

After Programming Connections

Code

Blynk Simple code

C/C++
Download and Install Blynk libraries to your Arduino Board its very important before programming (Search on Youtube you can find easily)
#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
#include <SoftwareSerial.h>
#define ESP8266_BAUD 9600

char auth[] = "6bae2d0e7bfa4b6096feeaffa2030e4f";
char ssid[] = "Enter wiFi Name"; //You can replace the wifi name to your wifi 

char pass[] = "Password";  //Type password of your wifi.

SoftwareSerial EspSerial(2, 3); // RX, TX
WidgetLCD lcd(V0);

ESP8266 wifi(&EspSerial);

void setup()
{

  Serial.begin(9600);
  EspSerial.begin(ESP8266_BAUD);
  Blynk.begin(auth, wifi, ssid, pass);
   lcd.clear();
 lcd.print(1, 1, "IoT");
}

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

Credits

Pratik Desai

Pratik Desai

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

Comments