March 23, 2024
Description
This case fits the small form-factor D1 Mini ESP-32 module along with a relay board and optional buck converter. I made this for my kitchen lighting project where I'm powering 5V LED strips with a 5V power supply that connects with a barrel jack. For my project, I can skip adding the buck converter, but if you're planning 12V LED strips and want to use a single power supply, the buck converter can be added to step down your 12V in to 5V out for the ESP board.
The idea here is that you should be able to keep your ESP powered on all the time while only supplying power to the LED strip when needed, and as controlled by the relay pin setting in WLED.
Use M3 screws to secure the relay in place. The other components push into place and should be held tightly enough so as not to move around once wiring is completed.
The included lid is meant to snap in place.
UPDATE 3/19/2024 - I had a request to make a different lid style to hold an I2C OLED screen (linked below), so I've uploaded 2 new files and additional photos for each:
Route your wiring above or below the electronics, or go crazy and do both. There's spacing underneath each component to allow for cable routing if desired.
As with any project requiring mains power, please use extreme caution while testing. I am not responsible for any damage to your electronics.
Amazon Links for electronics that I used for this project:
Buck Converter: https://amzn.to/3PsEVOr
5V Relay Modules: https://amzn.to/4chhEc5
D1 Mini ESP-32 boards: https://amzn.to/3Pu6R4a
Barrel Connector: https://amzn.to/494bclQ
For those opting to add a digital OLED screen:
I2C OLED Display: https://amzn.to/4chg2it
License:
Creative Commons — Public Domain
7