GETTING STARTED WITH BLYNK

Build your first IoT app in five minutes

Here is what you need to Blynk

A Smartphone

• Android OS version 4.2+
• iOS version 9+

Blynk doesn't run on Windows Phones, Blackberries and other dead platforms. Sorry.

You can also run Blynk on emulators

IoT Hardware

Blynk can run on over 400 hardware modules. The most popular are:

• ESP8266
• NodeMCU
• Arduino (any model)
• Raspberry Pi (any model)
• Particle (any model)

Internet Connection

To connect your hardware to the Internet, you can choose almost any module either built-in, or external shields

Supported connectivity
• WiFi
• Ethernet
• Cellular (GSM, 2g, 3g, 4g, LTE)
• Serial
• USB via your PC
• Bluetooth (BETA)

Get started in 5 minutes

1
Register an account on Blynk
1 minute

Blynk.Console is the easiest way to build your own IoT product with a mobile app that works with the hardware of your choice.

No iOS or Android coding required.

2
Install Blynk Library
2 minutes

Blynk Library is an extension that runs on top of your hardware application. It handles all the connection routines and data exchange between your hardware, Blynk Cloud, and your app project.

• C++, C#
• JavaScript
• Python, MicroPython
• HTTP RESTful API
• Node.js
• Lua
• OpenWrt
• MBED
• Node-REDand others

3
Connect hardware
2 minutes

To get your hardware online and connect it to Blynk Cloud, follow the Quickstart guide.

You will get a device Template that can be further edited for your needs.

4
Enjoy Blynking
forever!

After your hardware is connected spend some time learning Blynk basics. It will help you to easily build new projects or integrate Blynk into your existing project.

We prepared a lot of examples and tutorials to get you started

Download Blynk App

A drag-n-drop app constructor packed with IoT features:

• Visualize and plot data from any sensor
• Control relays, motors, and any electrical appliances
• Get push notifications, send emails
• Add many devices

...and much much more

1
Create a Blynk account

Create a Blynk account using Blynk.Console or Blynk.App for iOS or Android.

2
Choose your hardware

Have a supported hardware (ESP32, Arduino, Raspberry Pi, etc). The list of supported devices is here.

3
Upload code to your hardware

Be familiar with the basics of electric circuitry and know how to at least blink an LED using Arduino boards, know how to install libraries, etc.

Install Blynk Library

Blynk Library is an extension that runs on your hardware. It handles connectivity, device authentication in the cloud, and commands processing between Blynk app, Cloud, and hardware.

It's very flexible whether you are starting from scratch, or integrating Blynk into existing project.

1
Your library should be installed before moving forward

Check this help article if you need instructions on how to install Blynk Library for Arduino IDE

2
Find the code example for your hardware model

Blynk works with hundreds of hardware models and connection types. There are 2 ways you can find the correct code for your hardware.

1. Use Blynk Example Code Builder
• Open Example Code Builder
• Choose your hardware model
• Choose connectivity type you use
• Add Auth Token (it should be in your email)
• Copy the whole code to buffer (CTRL+C)

2. Use examples provided with the library
Go to Examples folder in the installed library. Choose the example that best describes your hardware.

For example, If you use ESP32, choose: ESP32_WiFi/ESP32_WiFi.ino

3
Add Template ID and Device Name

• Add the Template ID that was created during the Quickstart and Blynk device name in the very beginning above all includes
• Paste the full code into your sketch in Arduino IDE
• If you are using WiFi - input your WiFI credentials: SSID and Password

4
Flash and Play

• Open Blynk App and tap ▷PLAY (in the right top corner)
• You will get a message that hardware is offline. That's OK.
• Upload your sketch to hardware
• Check the Serial Monitor, you should see that your device is connected

Congrats! Welcome to the Internet of Things with Blynk.

Check the links below to learn Blynk basics.

Other helpful links to learn more about Blynk