Your shopping cart is empty!

Getting Started with ESP32 & Blynk
- Muhammad Izzani Hanim
- 03 Jun 2025
- Tutorial
- Beginner
- 565
Introduction
The Internet of Things (IoT) allows us to collect and monitor real-world data remotely, making it ideal for applications like smart homes, weather monitoring, and automation. In this tutorial, we’ll use the Robo ESP32 with a DHT11 temperature and humidity sensor to send real-time data to Blynk, a popular IoT platform.
With Blynk, you can easily visualize temperature and humidity readings on your smartphone and even set up alerts or automation. This guide will walk you through setting up Robo ESP32, reading data from the DHT11 sensor, and sending it to Blynk for remote monitoring. Let’s get started!
Blynk Setup
Before we start coding, we need to set up Blynk to receive data from the Robo ESP32 and display temperature and humidity readings from the DHT11 sensor. Follow these steps to create your Blynk project using the Blynk Web Dashboard.
Step 1: Create a Blynk Account and New Project
Go to Blynk Cloud and sign up or log in if you already have an account.
Click "New Template", then enter:
Template Name: Robo ESP32 Temperature Monitoring System
Hardware: ESP32
Connection Type: Wi-Fi
Click "Done", and you will receive an Auth Token for this project. Copy and save it—you’ll need it in the code.
Step 2: Configure Blynk Web Dashboard
In the Datastreams tab, create two new virtual datastreams:
V0 (Temperature) → Data type: Float, Units: °C
V1 (Humidity) → Data type: Float, Units: %R
In the Web Dashboard, click Edit Dashboard, then:
Add a Gauge Widget → Link it to V0 (Temperature)
Add another Gauge Widget → Link it to V1 (Humidity)
- Click Save and Activate the template.
Step 3: Install Blynk Library in Arduino IDE
Open Arduino IDE and go to Sketch → Include Library → Manage Libraries.
Search for Blynk and install the latest version.
Also, install the DHT sensor library and Adafruit Unified Sensor library for reading data from the DHT11 sensor.
With Blynk set up, we're ready to program the Robo ESP32 to send real-time data to the dashboard!
Step 4: Wiring the DHT11 Sensor to Robo ESP32
Before we write the code, let's connect the DHT11 sensor to the Robo ESP32:
Connections:
DHT Pin | Robo ESP32 Pin |
VCC | 3.3V |
GND | GND |
DATA | D16 (Grove 1) |
Code
Result
This is just the beginning—keep building smarter with ESP32 and Blynk!