Introduction: DIY Motorized WiFi Roller Blind - ESP8266 & Blynk

About: Maker 101; Beginner and intermediate level Maker projects! You can find projects such as "How to" and "DIY" on programmable boards such as Arduino, ESP8266, ESP32 and Raspberry Pi on this channel. The projects…

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...

Step 1: How It Works?

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.

Step 2: Required Hardware and Components

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.

Step 3: 3D Parts

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.

Step 4: Breadboard Circuit

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.

Step 5: Printed Circuit Board

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.

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

Step 6: Create Template Using Blynk

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".

Step 7: Source Code

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

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

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

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.

Step 8: Assembly

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.

Electronics Contest

Runner Up in the
Electronics Contest