Table of Contents
Blynk 2.0 is the most beginner-friendly IoT platform available today. It gives you a drag-and-drop mobile app builder, device management dashboard, and cloud infrastructure — all without writing backend code. For Indian makers, students, and startups, Blynk offers the fastest path from idea to working IoT product.
What is Blynk 2.0
Blynk 2.0 is a complete IoT platform redesigned from the ground up. Unlike the original Blynk (which used energy-based tokens), version 2.0 offers:
- Blynk.Console: Web-based device management dashboard
- Blynk.App: Mobile app for iOS and Android with drag-and-drop widgets
- Blynk.Cloud: Managed cloud infrastructure with global servers
- Template system: Define device templates once, deploy to thousands of devices
- Datastreams: Structured data channels replacing the old virtual pin system
Blynk Free vs Pro Plans for India
Blynk offers tiered pricing:
- Free Plan: 2 devices, 5 datastreams, 3 automations — great for learning
- Plus Plan: ~₹350/month — 10 devices, unlimited datastreams
- Pro Plan: ~₹1,500/month — 50 devices, white-label app, OTA updates
For college projects and personal home automation, the free plan is sufficient. The Plus plan suits small businesses and advanced hobbyists.
Setting Up Blynk Console
Getting started with Blynk takes just minutes:
- Create an account at blynk.cloud
- Create a new Template — select ESP32 as hardware, WiFi as connection
- Add Datastreams: Virtual Pin V0 (Temperature, double), V1 (Humidity, double)
- Create a Device from the template
- Copy the Template ID, Device Name, and Auth Token
Connecting ESP32 to Blynk
Install the Blynk library from Arduino Library Manager, then use this code:
#define BLYNK_TEMPLATE_ID "TMPxxxxxx"
#define BLYNK_TEMPLATE_NAME "Weather Station"
#define BLYNK_AUTH_TOKEN "YourAuthToken"
#include
#include
#include
char ssid[] = "YOUR_WIFI";
char pass[] = "YOUR_PASSWORD";
#define DHT_PIN 4
DHT dht(DHT_PIN, DHT22);
BlynkTimer timer;
void sendSensorData() {
float temp = dht.readTemperature();
float hum = dht.readHumidity();
if (!isnan(temp) && !isnan(hum)) {
Blynk.virtualWrite(V0, temp);
Blynk.virtualWrite(V1, hum);
Serial.printf("Temp: %.1f C, Humidity: %.1f%%n", temp, hum);
}
}
void setup() {
Serial.begin(115200);
dht.begin();
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
timer.setInterval(15000L, sendSensorData); // Every 15 seconds
}
void loop() {
Blynk.run();
timer.run();
}
Components for Blynk Weather Station
Creating a Mobile Dashboard
In the Blynk mobile app, create a dashboard for your device:
- Gauge widget: Display temperature (V0) with range 0-50 degrees Celsius
- Gauge widget: Display humidity (V1) with range 0-100 percent
- Chart widget: Plot temperature and humidity over time
- LED widget: Show online/offline status
- Button widget: Control a relay or LED remotely
The beauty of Blynk is that your dashboard works on both the mobile app and web console simultaneously.
Using Virtual Pins and Datastreams
Virtual Pins in Blynk 2.0 are now managed through Datastreams. Each datastream maps to a virtual pin and defines the data type, range, and default value. You can also receive commands from the app:
// Receive button press from app on V2
BLYNK_WRITE(V2) {
int value = param.asInt();
digitalWrite(LED_PIN, value);
Serial.printf("LED set to: %dn", value);
}
// Sync device state when app connects
BLYNK_CONNECTED() {
Blynk.syncVirtual(V0, V1, V2);
}
Recommended Product
BME280 Environmental Sensor (Temperature, Humidity, Barometric Pressure)
Automations and Notifications
Blynk 2.0 supports powerful automations:
- Time-based: Turn on garden lights every day at 6:30 PM IST
- Sensor-triggered: Send notification when temperature exceeds 40 degrees Celsius
- Device-to-device: When motion sensor triggers, turn on camera recording
- Notifications: Push notifications to your phone, email alerts, or in-app alerts
Set up automations in the Blynk.Console under the Automations tab. The free plan allows 3 automations, which is enough for basic home monitoring.
Frequently Asked Questions
Is Blynk 2.0 free for personal use?
Yes, the free plan supports 2 devices with 5 datastreams each and 3 automations. This is enough for a simple weather station or home automation project.
Can Blynk work without internet?
No, Blynk requires an internet connection as it routes all communication through its cloud servers. For offline-capable solutions, consider using a local Blynk server or switching to Home Assistant.
Is Blynk suitable for commercial IoT products?
Yes, the Pro and Business plans offer white-label apps, OTA firmware updates, and device management features suitable for commercial products. Several Indian IoT startups use Blynk for their consumer products.
How does Blynk compare to ThingsBoard?
Blynk excels at mobile-first consumer IoT with its drag-and-drop app builder. ThingsBoard is better for industrial IoT with advanced dashboards, rule engines, and self-hosting options. Choose based on your use case.
{“@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{“@type”: “Question”, “name”: “Is Blynk 2.0 free for personal use?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes, the free plan supports 2 devices with 5 datastreams each and 3 automations. This is enough for a simple weather station or home automation project.”}}, {“@type”: “Question”, “name”: “Can Blynk work without internet?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “No, Blynk requires an internet connection as it routes all communication through its cloud servers. For offline-capable solutions, consider using a local Blynk server or switching to Home Assistant.”}}, {“@type”: “Question”, “name”: “Is Blynk suitable for commercial IoT products?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes, the Pro and Business plans offer white-label apps, OTA firmware updates, and device management features suitable for commercial products. Several Indian IoT startups use Blynk for their consumer products.”}}, {“@type”: “Question”, “name”: “How does Blynk compare to ThingsBoard?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Blynk excels at mobile-first consumer IoT with its drag-and-drop app builder. ThingsBoard is better for industrial IoT with advanced dashboards, rule engines, and self-hosting options. Choose based on your use case.”}}]}
Ready to Build Your IoT Project?
Browse our complete collection of ESP32 boards, sensors, and IoT components. Fast shipping across India with technical support.
Add comment