-
1How to make it ?
1 - Hardware part
a - Leds
Assemble leds as shown in the picture. In my example, the "screen" is 2 meter high (the size of each led roll) x 111 centimeters wide for 20 led rolls, so you need to space each roll by 111/19=5.8 centimeters. For this you can use a strong double side adhesive tape (i taped the wire connected to the leds, instead of the leds themselved because the silicon covering makes them hard to glue).
You need to plug the led rolls on to the other, as shown on the picture. Which means that order of the leds increases when you go down for rolls 1,3,5.... and decreases for rolls 2,4,... But do not worry, the driver corrects this to display bitmap pictures !
To ensure each led line stays straight with a constant spacing (and to avoid a mess when you store the curtain), you can add a second piece a plastic on the bottom (see picture) which will act as a weight. Fix it with wire or elastics.
b - Power supply
You need to connect the 5 V supply to ALL led rolls - they have 2 wires (white & red) with no data line for this. the reason is the voltage drop along the long line (1200 leds heres) : by connecting all rolls you avoid this. If you dont do it the leds probably wont light after the 3rd roll.
c - M5Stack
Connect the M5Stack to the first led roll (ie on the bottom left of the curtain : if you put it elsewhere the order of the leds will change) - for this you need to connect the led rolls data line to pin 26, the GND pin to the led roll's GND, same for the +5v.
2 - Software part
a - The .php file
This file allows you to control the curtain with your mobile. If you do not use it, you can still control the curtain with M5stack's button to change the curtain animations.
If you want to use it, follow the instructions given in the "files" section.
b - The .ino and .h files
You will need an arduino installation, including M5Stack and Neopixel libraries. There are many tutorials on the internet for that. Please follow the instructions given in the "files" section.
if you do not use the mobile update possibility, you can remove the wifi part in the code (anything related to http & wifi) and use M5stack's button to control the curtain
-
2Buy me a coffee
If you find this project useful & want to buy me a coffee, please do it. You can send me a personnal message through this forum.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.