DIY Smart Blinds with Arduino - Works with Alexa and Remote for under $20
Вставка
- Опубліковано 18 лип 2020
- DIY smart windows blinds that can be controlled with Alexa and remote. This smart blins are better and cheaper then IKEA smart blinds. Easy DIY if you have a 3D printer and soldering iron. I will show all of the HOW TO steps.
You can set the blinds to a desired height with percentages using Alexa voice commands.
Materials
------------------------
amzn.to/2ZIf2AL - 3d Printer
AliExpress
bit.ly/2Ct0BYb - D1 Mini
bit.ly/3hgP1yd - A4988 driver
bit.ly/2BhZKJu - 35byj46 Stepper motor
bit.ly/3hemvNz - Step-down Converter
bit.ly/2OGIuk2 - 12V Power Adapter
bit.ly/2WxY3Pi - Soldering Board
bit.ly/30q3eSO - DC Power Plug
Amazon
amzn.to/3eI4FBc - D1 Mini
amzn.to/2ZG70YQ - A4988 driver
amzn.to/30vbmBi - Step-down Converter
amzn.to/3jjbkoS - 12V Power Adapter
amzn.to/2CLxcsi Soldering Board (full set)
amzn.to/32ywqtp - DC Power Plug
Here you can find the 3D pints and the code for the Blinds:
www.thingiverse.com/thing:454...
My Paint wiring diagram: imgur.com/0HdwsCf
Music
------------
Clocks by Smith The Mister smiththemister.bandcamp.com
Don't forget to like and subscribe!
Thanks!! - Навчання та стиль
Great video, I like that you show the whole process AND made it look really clean when installed in the house.
Thank you!
My goal was a clean and easy install and show every step as much as I can.
Man... Only 1.58k subs. You deserve way more get this man to 100k
Thanks for the video, 3d printing parts, coding and wiring diagram. I manage to complete this project today successfully. I had few glitches with the coding at the beginning since I had no Idea how to use arduino ide at the beginning, but after a few videos tutorials on how to arduino I manage to complete this.
Hi can you provide the name of the part in 4 minutes 35 seconds? Thank you
Its really great to hear you made it. I need to make few tutorials on Arduino for beginners from my perspective as I was in your place too. I am mostly learned all of this on my own and struggled along the way to understand Arduino and coding.
@@thediyed yah its hard to learn coding especially when all what you need is just a smart blind and that's it lol
Exactly tutorial I was looking t. Tnx
I would make it work on 2x18260 batteries.
That was the original idea, but because of the wifi chip it will not last a day. I am planning a future build with a different board and using a RF for communication for low consumption to be able to achieve the battery powered smart blinds with no need to charge it every few days.
Ed - thanks for this tutorial. I have an Arduino Uno. When you are uploading the Arduino code to the device, what is the wiring configuration on the breadboard? In other words, how do you link the computer to the Arduino Uno to the device to upload the code? Thanks in advance for any advice here.
Very nice project. Thanks for the clear instructions. I'm thinking of making one myself. Problem is that the prusa mini 3d printer I ordered has a long delivery time. So I need to wait until it arrives :)
Thanks for watching! You will have fun with Pursa, so much things you can do and make.
Use acetone to clean the base plate from time to time and your prints will always stick on the base plate.
@@thediyed thanks for the tip. The prusa mini cannot print nylon which is the best material for gears. What do you recommend? PLA, ABS or PET filament. I guess PLA will do fine but just want to be sure.
@@supermartijn86 PLA will be just fine. The gears I was using for testing didn't wore out at all, Nylon would be an overkill.
Hi, may I know how do you supply power to the microcontroller?
Ed, can you show us how to use the AA battery to power this
I really like your design and I think I am going to make this for myself but slightly tweaked. I have two windows in a corner which I want to be running off the same D1 mini. Do you think plugging in two stepper motors into the same io pins will work at running the rollers of my two windows? (the windows are the same height.)
Hi D-Man, thanks for the comment. You can definitively use 2 stepper motors but you will need to do some small changes. As each motor needs a driver you will have to use 2 drivers and you need to edit the code to add the second driver.
Great tutorial! What brand of blinds do you use for the project?
Thanks. They where there when we moved in. The previous owner offered them to me for a cheap price so I took them. I can't find any marking of what brand they are.
But anyway, this DIY will work on any blinds mostly expect for the ones that has a really tick rod like 50cm
Well done
Thank you, it was fun making it.
@@thediyed If you ever wanted to create a PCB, please let me know. I'm interested in having it
I was actually thinking of doing that. I want to convert 3 more blinds to be smart. But I have some other designs in my mind, so was thinking if I should go thru rabbit hole or not.
@@thediyed With sinric pro code? I'm very interested
What would you need in order to open and close faster? More powerful motor?? Would it be noisier?
Add another gear into the mechanism. Possibly a little bit more powerful motor, but not sure
Is the wiring diagram or the video correct? In the diagram the A4988 driver RST pin is connected to D2 & the DIR pin is connected to D1. In the video however it is D3 & D2. I soldered everything together and loaded the code onto the board, but testing the IR Hex codes doesn't work (nothing happens) and Alexa doesn't find it? Im not sure what the problem is...
P.S I got it to connect to the wifi :D only over usb-c though
Awesome video. The big question is: how does the stepper know where the shade is if the controller looses power and then gets it back?
It will be very unlikely for power lose to occur on a regular base. But what did happen few times was Arduino crashing and rebooting.
If you have watched my concrete lamp build, I have improved on this by writing the current steps in the memory. So even in case of power lose or reboot the stepper would always know where it is.
I am implementing the same thing on my second smart blind build. As I am testing it now, when I will be happy with the code I will update it for this project too. Thanks for watching!
@@thediyed
Awesome Ed!
I look forward to check that code when it's finished.
The thingiverse file helped so much!
Subscribed. Greetings from northern Argentina!
Hi first of all you have a great instructional video and very well explained but I have a problem when I verify the code on arduino ide i'm getting this following message:
In file included from D:\Gabriel\Arduino Programs\Smart_Blinds_V1\Smart_Blinds_V1.ino:8:0:
C:\Users\Owner\Documents\Arduino\libraries\FauxmoESP\src/fauxmoESP.h:61:29: fatal error: ESPAsyncTCP.h: No such file or directory
#include
^
compilation terminated.
Using library IRremoteESP8266 at version 2.7.15 in folder: C:\Users\Owner\Documents\Arduino\libraries\IRremoteESP8266
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\Owner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi
Using library FauxmoESP at version 3.2 in folder: C:\Users\Owner\Documents\Arduino\libraries\FauxmoESP
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.
It seems there's a missing library installed called ESPAsyncTCP but I couldn't find that. Can someone help me please I tried all the D1 different boards also and gave me the same error message.
There's a library called AsyncHTTPRequest_Generic and when I install that It tells me no protocol. Any help is welcome ;)
I have the same problem
motor is too weak. what other motor can i try for bigger shades?
You can get a bigger stepper motor. The problem is it will be more chunky and you will need to remake the 3d design to fit the new motor.
If you go to amazon, they're selling these for $89 - $189. Save yourself some money and actually build it yourself!
100% agree with you!
Would this work with a google home mini
As I don't have a Google for my smart home setup, I didn't program that. If you have a IR blaster that connects to your google and you will be able to connect it in that way to your google home.
what kind of wiring should I be using for this?
For most wiring you can use 30awg and for the 12V input I would say 20 or 22awg wire...you can always go with a ticket wire (lower awg number).
Could you please share the code link
Check the video description for the thingiverse link, you will find the code there.
I added it there to be in one place with the 3d files.
@@thediyed thank you very much
My pleasure
I don't have a 3d printer. Is it possible to source parts from a store?
I am not sure. I was told there are some public libraries that have 3D printers. Other options is to check for local makers shop, they probably have a 3D printer. Last option that is expensive is to order the 3D prints online. Actually you can check on a Facebook ads, etc to find someone with printer and to print it for a small fee.