Tutorial – Use an LED with Blynk and WeMos D1

Tutorial – Use an LED with Blynk and WeMos D1

Are you interested in IoT projects? So you have to learn how to use Blynk! In this Tutorial we will explain how to make our first IoT project with Blynk, WeMos D1 mini and an LED! Follow this tutorial and you will make an easy, but cool project!

First of all read the article about Blynk and WeMos D1 mini. In the first article we explain how to register to Blynk and how to setup a project with Blynk.

Moreover in the second article we explain how to setup the WeMos D1 board serial communication. You have to install the drivers, it will be easy, just follow the Tutorial!

In this article we will make our first project with the WeMos D1 mini board and Blynk App. It will be easy and you can do it in 5 minutes.

The project is about making a LED switch on/off by pressing a button on your smartphone.

WeMos D1 Setup

As we said before, first of all you have to follow this tutorial to learn how to setup your board to “talk” with Blynk -> WeMos D1 mini and Blynk

After following the previous tutorial you have something like this:

Arduino Sketch

You just have to replace a few things like we explained in the previous Tutorial. Make sure that you wrote your Token, Network name and Network password.

Then you just have to upload the code to the WeMos D1 mini.

Now we have to make our Project on Blynk. This will be the best part!

Blynk App

Download the Blynk App, you can follow the previus tutorial to download the App and for the first setup.

Create a New Project, choose “WeMos D1 mini” as device, “WiFi” as communication.

Press on the ” + ” to add some widgets.


Then add the Button widget from the Widget Box.

Blynk widgets
Blynk button widget

Press on the Button Widget.

Blynk button pin

Choose D4 digital pin.

Set the switch to SWITCH

Blynk Button menu
Blynk menu

Press on the upper right button: START

Now you can use the Button Widget to swich on/off the LED.

It will look like this:

Follow us on Instagram and Twitter and enable notifications!!

Davide Busco

Davide Busco is an engineering student at Federico II University of Naples. He uses his passion and studies to create his projects. He loves be a maker and spread his knowledge. Moreover he has gained the second place in a national makers-tournament between Italian's Universities.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_GBEnglish (UK)
it_ITItaliano en_GBEnglish (UK)
%d bloggers like this: