DIY Lightning Cloud Project: A Fun Smart Home Experiment

Hello everyone! I’m thrilled to share a fun project I recently completed—a DIY lightning cloud using addressable LEDs. As a new member of this amazing community, I wanted to dive into something creative that combines my love for technology and lighting effects.The inspiration struck when I saw a TikTok video showcasing a lightning cloud setup. Intrigued, I decided to give it a try using some spare components I had lying around. The entire process took just a few hours, and while the photos don’t quite capture the magic, the end result was absolutely stunning!Here’s a quick rundown of what I used:- Power Supply: A USB-C PD-Buddy V1.0 set to 5V 3A output.- Controller: An ESP8266 D1 Mini for wireless control.- LEDs: 96 WS2812B RGB LEDs, broken into four strips of 24 each.- Structure: Foam board and stuffing from an old pillow for the cloud shape.The wiring was straightforward, with the power supply connected to the controller and then to the LED strips. To ensure even voltage distribution, I jumpered the power lines rather than looping them, which I found helps maintain consistent color across the strips.For the lightning effect, I wrote a custom script to create dynamic flashes. The effect starts with a random width and position, creating quick, intense bolts that transition into wider, slower ones. I also randomized the colors to add more visual interest, though I’m still tweaking the vibrancy for a more natural look.In addition to the lightning effect, I included a fireworks display for added versatility. The plan is to switch between these effects and see how they complement each other. I’m also considering adding a speaker for thunder and rain sounds to complete the immersive experience.This project has been a fantastic brain teaser, especially figuring out the math to align the LED positions correctly. It’s amazing how a bit of creativity and problem-solving can turn simple components into something truly magical.I’d love to hear your thoughts and see if anyone else has attempted similar projects. Feel free to share your experiences or suggestions for improvement—I’m always eager to learn and refine my creations!Thank you to everyone in this community for your inspiration and support. Here’s to many more exciting DIY projects ahead!