DIY Motorized WiFi Roller Blind - ESP8266 & Blynk

by MertArduino in Circuits > Microcontrollers

74797 Views, 418 Favorites, 0 Comments

DIY Motorized WiFi Roller Blind - ESP8266 & Blynk

Instructables-thumbnail.png

In this project we will see how to control a roller blind via a smartphone application. The reason why I realized the project was to use a roller blind to change the background in the video footage and to be able to easily control the roller blind via my smartphone. In this project, a breadboard circuit is shown for basic readers and a printed circuit board circuit for users who want a more useful prototype. Check out the video to see how it works...

How It Works?

DIY Motorized WiFi Roller Blind - ESP8266 & Blynk

As can be seen in the video showing the step-by-step construction of the project, I can easily open and close the roller blind on my wall using my smartphone. Of course, you can use this project to wirelessly control the roller blinds on your windows. A WiFi microcontroller was used to provide wireless communication, a stepper motor to provide move, and an application called Blynk was used.

Required Hardware and Components

Adsız06.png
13.png
47.png

First of all, we need some 3D parts to be used like providing roller blind movement. We talked about 3D parts in the next step. In this section, we listed what we should use as hardware for electronic components and mechanisms:

A few extra components are needed for the printed circuit board prototype, mentioned these components in the PCB step.

3D Parts

Adsız.png
Adsız-01.png
Adsız05.png
Adsız06.png
Adsız07.png
Adsız08.png
Adsız09.png

The 3D parts shared below are needed for the roller blind mechanism. I recommend printing the gears at high-quality settings, while you can print the other parts at normal-quality. Then assemble the 3D parts as shown in the images or video.

Breadboard Circuit

11.png
12.png
13.png
10.png

I've built a breadboard circuit for beginner readers. So you can easily build the circuit with jumpers following the shared circuit diagram. The pins used in the microcontroller are specified in the circuit diagram. The point to be noted here is to directly connect the 9V power output to the ULN2003 driver and to use the L7805 voltage regulator 5V power output for the microcontroller.

Printed Circuit Board

15.png
16.png
17.png
Schematic_Roller_Blind_ESP8266_2022-04-26.png
18.png
19.png

I designed a printed circuit board for those who want a professional prototype. Thank you PCBWay for support and sponsorship in ordering the printed circuit board. For high-quality PCBs, you can choose PCBWay. If you want to get this printed circuit board easily, you can download the PCB Gerber file from the link below or order it directly.

https://www.pcbway.com/project/shareproject/Motorized_WiFi_Roller_Blind_ESP8266.html

If you look at the bill of material (BOM), easily solderable components were preferred, so you can easily assembly your printed circuit board by following the circuit diagram designator.

Externally you need 3 more components for the printed circuit board:

  • Female Header
  • Male Header
  • Power Jack

Create Template Using Blynk

46.png
24.png
27.png
28.png
29.png
30.png
31.png
32.png
33.png
34.png
35.png
36.png
37.png
38.png
39.png

Blynk, a popular developer application, was used to control the roller blind mechanism wirelessly via WiFi. You can see how to create a Blynk template step-by-step by following the images or video. Basically go to Blynk from the link below and create a template via web browser. The template is based on ESP8266 and consists of two switches. Then you need to install the Blynk application on your smartphone to use the created template with smartphone. Thus, you can wirelessly control your roller blind via both a web browser and an app. Blynk will provide you with a unique token, copy this token and enter it in the next step "Source Code".

https://blynk.io/

Source Code

41.png
43.png
40.png
44.png
45.png

If you are going to program an ESP8266 for the first time, first download the Arduino IDE from the link below:

https://www.arduino.cc/en/software

Then by following images or video add json package link for ESP8266 and install ESP8266 using Board Manager.

http://arduino.esp8266.com/stable/package_esp8266com_index.json

If you need more details follow the instructions at the link below:

http://arduino.esp8266.com/Arduino/versions/2.0.0/doc/installing.html

The library is needed for the Blynk application, again by following the shared images or video, install the Blynk library. Finally, download the shared source code and update the Blynk values contained in the code with the unique values provided for you. Fill in the SSID and Password required for WiFi. Update the ROLLERTIME for the timing required for the roller blind movement (time required for open and closed position). If everything is ok, upload the source code to Wemos D1 Mini.

Assembly

20.png
21.png
22.png
23.png
47.png

In the last step, fix the 3D mechanism to the roller blind profile with two screws. The mechanism is suitable for different roller blind profile widths. It can also be installed for both ceiling and wall. Optionally assemble the circuit box created for the circuit and everything is ready... Now it's time to movements it! Thanks for reading this Instructables, if you have any questions please leave a comment.