Blynk app setup Tutorial

Hello guys, welcome back to another tutorial from the SriTu Hobby blog. This tutorial covers how to set up a Blynk app. Also, this project includes how to control an LED over the Internet using a Blynk application. Using this Blynk app and Nodemcu we can do various projects. We will learn about them in future tutorials. So, make this tutorial the basis for those projects. Click this link for more information about Nodemcu.
What is the Blynk app?
The Blynk app is simply an open-source platform designed for iOS / Android devices to remotely control and view hardware. It is also designed for the Internet of Things (IoT). The dashboard can be customized in a very useful way by using various Widgets such as Buttons, Displays, Sliders included in this Blynk app. Also, this widget allows you to turn devices on / off and view sensor values. Lastly, you can view, store and visualize data through this.
So, this Blynk app is made up of 3 main parts. They are as follows.
- Blynk app — Here we can customize the interface to suit our design. The Blynk app includes a number of different widgets for this.
- Blynk server — The Blink server is used to communicate project hardware with the Blink application installed on the smartphone. You can use Blynk cloud for that. This is Blynk cloud open-source and can control thousands of devices through it.
- Blynk library — The Blynk library is used to communicate with the hardware platform Blynk server used with the Blynk app and to process incoming and outgoing commands.
Click this link to learn more about the Blink app. You can download this Blynk app using the links below.
Below are the different development board types that can be controlled by the Blynk app.
- Nodemcu ESP8266

- Arduino

- Raspberry Pi

Today we will learn how to turn an LED bulb remotely ON and OFF over the Internet using the Nodemcu board. Also, this is a simple example of how to use the Blink app, so understanding this will help you create many more for future tutorials. The required components are as follows.
So, Let’s do this project step by step.
Step 1
Firstly, identify these components.
Nodemcu Board.

LED bulb.
180ohm Resistor.
Breadboard.

Jumper wires.
Smartphone.

Step 2
Secondly, connect these components using the circuit diagram below.

Step 3
So, now set up the Blynk application. For that, follow the steps below.
Firstly, download and install this Blynk app on your Smartphone. For that, use the links below. Afterward, run this Blynk app.


Secondly, we need to create a new account, then click on the “Create New Account” button and enter the Gmail address and password of your choice. Afterward, click the “Sign Up” button. Then a mail will go to the email you entered. There is a code called “Auth Token” in that mail and that code is what we need for our future work.



Thirdly, click the “New Project” button and enter your project name here. Then select Nodemcu instead of “CHOOSE DEVICE”. Because we are using a Nodemcu here. Afterward, select the wifi in the “Connection Type” field. Lastly, click the “Confirm” button. Ok, now let’s look at the project interface.




Now, we can add widgets to our LED ON and OFF project. For that, click the “+” sign in the upper right corner and add a “Button” widget.


Afterward, we have to make this button as we want. First, give it a name you like. I have put it as LED. Then click on Pin and select Digital and select D0. Next, pull the button under the mode to the switch side. If you want to change the color you can change it. When you have done all this, click the Back button.


Lastly, our project interface can be customized.

Step 4
So, now let’s create a program. For this, we first need two libraries. That is the library required for WIFI and the library required for the Blynk application. Download these two from the link below and add them to the Arduino IDE.