BLYNK App and ESP32

by mansiramteke139 in Circuits > Microcontrollers

22 Views, 0 Favorites, 0 Comments

BLYNK App and ESP32

Screenshot 2025-05-03 163831.png

This is my first work with the ESP32, which I have published in my Instructable.

Here is the complete introduction of ESP32, the code with explanation, working and application.

  1. https://www.instructables.com/All-About-ESP32/


Supplies

After getting known about ESP32. I decided to do connection with phone and laptop via BLYNK APP to ESP32

The Software:

  1. The BLYNK App
  2. Arduino IDE

The Components:

  1. ESP32
  2. LES
  3. 220Ohm Resister
  4. Breadboard
  5. Male-Male Jumper wire

For the circuit diagram and connection check out below link:

  1. https://www.instructables.com/All-About-ESP32/

The BLYNK App

About BLYNK

  1. Blynk is a platform with an Android & IOS apps to control Arduino, Rasberry Pi over the internet.
  2. This is the digital dashboard where we can built a interface like graphic for our project by simply dragging and drooping widgets.
  3. Adding one, Blynk is the platform that allows us to control hardware like ESP32, ESP8266, or ARDUINO from our smartphone via the internet or Bluetooth.
  4. From the BLYNK app we can turn LED'S ON & OFF from our phone.
  5. We can also read temperature/humidity from the sensor with the help of BLYNK
  6. Adding, we can open and close the door using button
  7. With the help of BLYNK the sensor can show the data on our phone in real time.
  8. Send notifications from ESP32 to our phone.

Work With BLYNK

Screenshot 2025-04-03 180516.png
Screenshot 2025-04-03 180534.png
Screenshot 2025-04-03 180648.png
Screenshot 2025-04-03 180827.png
Screenshot 2025-04-03 181221.png
Screenshot 2025-04-05 153605.png
Screenshot 2025-04-03 181114.png
Screenshot 2025-04-03 191349.png

How to make Dashboard in BLYNK APP:

  1. Go to Browser > BLYNK Cloud (search)
  2. Click > BLYNK IOT platform : For business & developers
  3. Open link > Create New Account/Log in
  4. Open App > Device
  5. New Templates > Create New Templates
  6. Write: LED on and off (in Name)
  7. LED on and off > Datastream
  8. Write : LED (in Name) & 4 (in PIN) > Create
  9. Web Dashboard > Widget Box > Control > Switch
  10. (Drag that switch) Switch > Dashboard > Save
  11. Search > New Device > From Templates
  12. LED on and off -> Templates
  13. LED on and off -> Device name
  14. Create
  15. Done with the process.

Work With Arduino

Screenshot 2025-05-10 132433.png
Screenshot 2025-05-10 133350.png
Screenshot 2025-04-05 171418.png
Screenshot 2025-04-05 171405.png

Arduino IDE:

  1. New Sketch > Tools > Library manager > BLYNK (Search)
  2. Blynk by Volodymyr Shymanskuy > Install
  3. Go to Blynk > Click to copy code
  4. Code: [ Blynk_TemplateID "_"

Blynk_Template_Name "_"

Blynk with token ID "_" ]

  1. Go to Arduino IDE > File > Example > Blynk Wifi > ESP32 Wifi
  2. It will open another file -> You will see the code
  3. In line 33 (of code) > Paste the link that copied from dashboard
  4. In line 43 (of code) > Write your 'Wifi-Name' in "SSid"
  5. In line 44 (of code) > Write 'Password of Wifi' in "Pass"

[ SSid > Wifi Name

Pass > Wifi Passsword ]

  1. Select board & COM > ESP32 Dev Module
  2. Upload > Done uploading
  3. Serial Monitor (open) > (As we have already done with the connection)
  4. Press the 'Restart' button on the ESP32 (EN Button)
  5. When Serial Monitor shows "Start"
  6. Restart the "Wi-Fi"
  7. Now Serial Monitor show "Connected to Wi-Fi"
  8. System Is Ready (close Arduino IDE)
  9. Go to Blynk > Now ON & OFF the LED from the Switch


Reference

  1. https://docs.blynk.io/en
  2. https://www.youtube.com/watch?v=zB4rY-dn7UY&t=937s
  3. https://www.youtube.com/watch?v=DEaDy4ki9E8

These are the some links from where I read and watched for additional knowledge.

Conclusion

BLYNK:

Integrating the Blynk App with the ESP32 microcontroller provides a powerful and user-friendly platform for buildings IoT projects. With Blynk's interface and real time data control capabilities users can easily monitor and manage devices from anywhere using a smartphone. The ESP32, with its built-in Wi-Fi and Bluetooth, high performance and flexibility for a wide range of application. This combination not only simplifies and development process but also opens up endless possibilities for smart automation, remote sensing and real time control systems. Overall, the Blynk-ESP32 setup is ideal for both beginners and advanced developers looking to bring their IOT ideas to life.