Hello Everyone!
Today I am going to explain you how to connect your Arduino Uno with Blynk using the ESP8266 WiFi module. I have already demonstrated you about connecting your Arduino Uno with Blynk app using the Ethernet Shield W5100 and this will be the second version of that project.
Hardware components used in this project
- Arduino Uno
- ESP-01 ESP8266 WiFi module
- USB to TTL converter
- Solderless Breadboard - Half+
- Breadboard power supply module - 3.3V/ 5V
- RGB LEDs (x3) - Common Anode
- Resistors (x3) - 220Ω
- Relay module - 5V single channel
- Male-to-Male Jumper wires
- Female-to-Male Jumper wires
Setup
Your setup must look somewhat similar to that shown in the images above.
Connections
ESP8266 ESP-01 wifi module
- GND - Ground
- GPIO0- Not connected
- GPIO2 - Not connected
- RXD - D2
- TXD - D3
- CH_PD - VCC - 3.3V
- RESET - Not connected
- VCC - 3.3V
*Note: Do not connect your ESP8266 ESP-01 wifi module with 5V.
RGB LED - Common Anode
- Anode - 5V
- Red - D9
- Green - D10
- Blue - D11
Relay module - 5V single channel
- S - D7
- (+) - 5V
- (-) - Ground
Coding
My ESP8266 ESP-01 came with the latest firmware so it did not require flashing. I used the USB to TTL converter and AT commands to add my WiFi credentials to my ESP8266 ESP-01 WiFi module. For this project, you will be needing the Blynk app. To get started with Blynk, please visit this link:
Use the example code builder to choose your hardware model and connectivity type, and copy the whole code to buffer.
Upload this code to your Microcontroller board and connect your board with Blynk app.
Create four buttons on your Blynk app to control your relay module, red, green and blue LEDs. Watch the YouTube video in the last section of this page to learn how this works.
Create four buttons on your Blynk app to control your relay module, red, green and blue LEDs. Watch the YouTube video in the last section of this page to learn how this works.
Final Look
If anyone has any questions, or suggestions, about this project, please feel free to comment below or send me an email at arduinoprojectsbyr@gmail.com.
How to rectify ESP not responding error
ReplyDeleteCould you elaborate the difficulty your are facing? Have you checked your connections?
Delete