This is a post by Andrew K.
Posted Wednesday, October 2, 2024
Building a control box for WS2812Bs
This is a post by Andrew K.
Posted Wednesday, October 2, 2024
I wanted to build a control box for 2 LED strips of WS2812s. This is for a display in a bedroom, but I also wanted it to be controllable from mobile/desktop, along with multiple colours and brightness controls!
First I needed to work out the different components I needed and how they would be put together, to make sure they fit in the location I wanted but also portable enough if I ever wanted to take them away.
Enclosure
These were placed in the honeycomb to create a simpler picture
The 3 pin connectors were chosen to connect the LEDs so each one had a +v, -v and data line.
To keep things as simple as possible I used a ESP32 terminal adaptor and stuck this to the inside of the enclosure.
I got hold of 2 x 3 pin JST extension cable and by using one half created a cable to connect to the LED strip and enclosure
Then attached to the LED strip
To tidy things up I then used some heat shrink around the new cable.
As the terminal adaptor could take two ESP32 sizes, and I had the smaller of the two, I can use breadboard cables to solder all the positions and then just plug into the terminals I needed.
If you following the installation procedure found here it sets up all the elements you need and then you can configure to use the GPIO pins you need.
You can use the WLED interface to change colours and enable patterns
All installed for the location. The LEDs and diffuser has been cut to the correct length.
Leigh Hackspace is open to all.
Being a member gives you access to our space, tools, and community.