In this tutorial, we introduce how to Turn ON And Turn OFF Light (230V) using Blynk App and Magicbit (ESP32).
Getting StartedHardware part
In this project, we using Magicbit dev. bord, relay module (5V), filament bulb (60W), and bulb holder. then connect to the hardware part on the below image.
You will have to first download the app from the play store and go through all that initial registration and all.
So, once you are all done, let's get started. Open the Blynk app and click on create a new project. A new window will open, type your project name there(Eg.'Light controller'). Select your ESP32 board from the list of devices and set the connection type as Wi-Fi. You will receive an email with an auth token in it, you should enter this into the Arduino code.
Now, the workspace will open. Click on the add button in the top right corner and add one button. Click on the button to enter its setting. Now, select the pin as V1 and mode as 'switch'.
pleas follow the images as mentioned above.
Comments