LIQUIDATION SALE! FREE Shipping on orders over $49 USA $99 INTERNATIONAL USE CODE: "LIQUIDATION" for 50% OF

Control: Blinds Control MQTT OpenHAB ESP8266 Hardware

Blinds Control MQTT OpenHAB ESP8266

Hardware: 

 

Hey guys Matt here from MKSmartHouse.com and in this video I am going to show you how to build the Blinds Control.
 
So, in this video we are going to go over all the parts required for the Blinds Control and then we are going to make it. To start off with the parts we are going to need 1 2 pin PCB Terminal, 1 4 pin female header, 1 3 pin male header, 1 3 pin terminal, 1 2 pin jumper, 1 esp8266, 1 5v to 3.3v regulator, 1 custom Blinds Control PCB, more on that later, 1 plastic enclosure, 10ft of 2 conductor 22 guage cable, 1 Male usb connector, 1 servo adapter plate, 1 servo motor, 4 servo to blinds adapter screws, 1 adapter plate screw, 2 servo mount screws, 6ft of servo motor cable, 1 set of servo motor connectors, 1 servo motor blinds adapter, 1 servo motor mount and a powerful 5v wall adapter. The wall adapter can be any usb 5v adapter like a phone charger just make sure it is powerfull because the servo motor takes more power than the other things we have made. You may have noticed that the servo to blinds adapter and the servo mount are not normal parts, that is because they are 3D printed. To get these parts you can either 3D print them yourself with the STL files on my website or you can buy the parts from my website. For tools we are going to need a soldering iron with ST7 tip, flux, steel wire, solder, wall tac, PCB holder, helping hands, wire strippers, small wire cutters, small flat screwdriver, phillips screwdriver, dremel and a hot glue gun. That is everything that we will need. The links to all the parts and tools will be over on my website, link is in the description. On my website you will also find the kit for this device, so instead of buying all the parts separately you can buy 1 kit and get all the parts fast and at the same time. There is even an option to get the device assembled so all you have to do is install its software and set it up. In the beginning I did say custom circuit board because to make this easier I designed a custom circuit board so that way not only will it be very stable and have strong connections with no guess work in assembling it but, also so I can make many of them really easily for my house. I have provided the gerber file on my website as well as where to get it made. You can also buy the PCB on my website, which is the easiest and fastest way to get them.
 
Since all the connections are already made on the circuit board all we have to do is solder the components on to the board. First let's take the circuit board and put it into the circuit board holder. If you look closely at the circuit board you will see that there are labels next to the component slots, when I say where to put the component that is what I will be referring to. I like to solder from the less sensitive components to to most sensitive so, let's start off with the 2 pin terminal, take the terminal and put it in J1. Then solder it in. If you want to know how to solder or how I solder then check out my guide for the door sensor because in that video I went over it in detail. Next take the 4 pin female header and put it into J2 and solder it in. If the leads get long and stick out cut them with wire cutters. Then take a strip of the male header and using the wire cutters make a header that is 3 pins long. Take that 3 pin male header and solder it into J3. After that take the 3 Pin Screw terminal and put it into J4. For slot U2 take the 5v to 3.3v regulator and match up its leads to the board and solder it in. Before we flip over the PCB we are going to put the 2 pin jumper on the 3 pin male header and above the PGM side. Great now we have one component left to solder and that is the esp8266, it is on the back of the PCB so flip it over. I recommend putting flux on every single pad of the esp8266 and of the circuit board and then solder it in. Next we are going to work on the power cable to the device. I am talking about the 5 volt power cable. First thing we have to do is take the 2 conductor 22 Gauge cable and cut it to length, I cut mine to the length of 10 feet. Then take one end of the wire and strip it to expose the 2 conductors. Strip a little of the each conductor and then take wire boot and plastic boot of the usb connector and slide it over the 2 conductors. Next take the helping hands and put the 22 gauge wire in one of them and the usb connector in the other. Then solder the black wire to the far left pin and the red wire to the far right pin. Now put some hot glue on the connector and slide over the plastic boot and the wire boot. If you want you can connect the USB to the 5v wall adapter but do not plug it into the wall. Almost done, strip the other end of the 22 gauge cable and then loosen the two screws on the 2 pin terminal above the 5v. Then take the red wire and put it into the hole parallel to where it says + and the black into the hole above the - symbol and tighten the screws. Next grab the servo motor cable and cut it to a length of 6 feet. Take the cable and separate the individual wires and strip them to expose the conductors. Next grab the pieces to the servo motor connector. Separate one of the male metal pieces and put the orange wire into it. Repeat the same steps for the other 2 wires. Once the wires are complete stick them into the black plastic piece of the connector. Now our male connector is done. Take the other end of the servo motor cable, separate the wires, strip them and fold their leads back. Then loosen the 3 pin terminal screws on the pcb. Put the brown wire into the - slot, red into the + slot and then Orange wire into the D slot. Once those are in tighten their screws down. Next grab the main part of the servo mount and place the servo motor onto it. Secure the servo motor by taking the 2 servo mount screws and screwing them in with a philips screw driver. You may need to file down some of the edges of the servo mount in order for the spacers to fit. After that grab the servo adapter plate and put the black adapter plate screw into it. Now take the servo to blinds adapter and put the side with no screw holes down onto the table. You may need to file down the square of the adapter in order for the blinds shaft to fit. Then put the adapter plate on top of that and screw it down using the 4 servo to blinds adapter screws. Grab the plastic enclosure and put the blinds control into the enclosure. Now take the the servo coupler that comes with the servo connector and put both the male servo connector and the female servo connector into the coupler. Finally, since the servo motor is really wide, it will not fit into the blinds so, grab a dremel and cut off the tabs of the other side of the servo motor. Once everything is done we should have the following things, power cable connected to the blinds control, the blinds control box with lid, servo motor cable connected to the servo motor and on the servo mount, servo mount spacers and the servo to blinds adapter connected to the servo plate. We will attach that in the final installation video. That is it for the hardware of the actual device now all it needs is some software which will be in the next video. If you need any of the parts shown in the video you can buy a kit, the PCB or 3D printed parts to make the device at the link in the video description. Alright thank you for watching and If you have any questions leave them in the comments section below or head over to mksmarthouse.com/forum. Good Bye!