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

Control: LED Strip Control Hardware

LED Strip Control

Hardware:  

Hey guys Matt here from MKSmartHouse.com and in this video I am going to show you how to build the LED Strip Control.
 
So, in this video we are going to go over all the parts required for the LED Strip Control and then we are going to make it. To start off with the parts we are going to need 4 1 pin male headers, 1 4 pin female header with long pins, 1 4 pin female header with short pins, 1 4 pin 90 degree male header, 1 3 pin male header, 1 2 pin male header, 2 2 pin jumpers, 1 DC Jack, 3 TIP 122 Transistors, 3 470 ohm resistors, 1 esp8266, 1 buck converter, 1 custom PCB More on that later, 5 meters of 5050 led strip, black enclosure, wall tac and a 12 volt 3 amp power adapter. 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, multimeter, drill bits, and a drill. 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 4 1 pin male headers, put them into slots J1, J2, J4 and J5. Then solder them 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 2 pin male header and solder it into J8. After that take the 3 pin male header and solder it into slot J6. Following that take the 4 pin female header with short pins and solder it into slot J7. For the Power Plug1 slot we are going to solder in the DC jack. Now Grab the 3 470 ohm resistors and solder them into slots R2 R3 and R4. To put them in the slots I bent their leads. Once they were soldered in I also cut excess of the leads on the other side of the PCB. Next take the 3 TIP 122 transistors and solder them into slots Q2 Q3 and Q4. When you put them in the slots, the side of the transistor with writing should be facing the markings B C E on the PCB. Now take the 4 pin 90 degree male header and solder it into slot J3. Once that is soldered in flip the pcb over and solder the Esp8266 into slot U1. I recommend putting flux on every single pad of the esp8266 and of the circuit board and then solder it in. The last component we have to solder in is the buck converter. Grab the buck converter and place it on the 4 1 pin male headers. Make sure the out side of the buck converter is next to the MK-SmartHouse logo. Once it is nicely seated solder the 4 corners of the buck converter to the pins. Great everything is all soldered to the board! 
 
Next grab the power adapter and plug it into power as well as into the PCB. Then take the multimeter and put the black probe into the hole of the buck converter and then take the red probe and hold it over the out + terminal of the buck converter. Using a small flat screw driver on the gold screw, adjust the voltage of the buck converter to 3.3 volts. Once it is adjusted unplug the power adapter from the PCB and then take the 2 pin jumpers and put one over the power header and the other over the PGM side of the 3 pin header. 
 
Everything to do with the PCB is now complete, so let's move on to modifying the case to make the PCB fit. Before we modify it fold down the TIP122 transistors on the PCB, this is so they can fit. Then take the side of the pcb with the 90 degree header and put it into the case. Using a sharpie mark the top of the header on the case. Then use a dremel to cut a rectangular hole. After the hole is cut use a small file to clean up the edges. Take the PCB and make sure the hole lines up. You may have noticed that the PCb still does not fit in the enclosure in terms of height. So grab a 6.5 mm drill bit and put it into a drill. I used a drill press but you can use a normal hand drill and drill down the four standoffs inside the enclosure. If you put the PCB in the case and close the lid everything should fit nicely.
 
Now let’s move onto the LED strip, the only thing we have to do is take the 4 pin female header with long pins and stick it into the female end of the LED strip. Next remove the lid of the case and connect the LED Strip, the white wire of the LED strip should lign up with the W mark on the PCB.  
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, or the PCB 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!