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.

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

Things used in this project

Hardware components

Jumper wires (generic)
Jumper wires (generic)
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
USB-A to B Cable
USB-A to B Cable
×1
ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

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

3 projects • 2 followers
maker | developer | traveller https://api.whatsapp.com/send?phone=+918483926750&text=Please%20add%20me%20to%20your%20whatsapp%20group

Comments

Add projectSign up / Login