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!
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:
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!
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.
Press on the Button Widget.
Choose D4 digital pin.
Set the switch to SWITCH
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!!