Like my Glowbug Project this PCB is designed to use WLED a firmware that works on many Espressif microcontrollers to handle LED effects and control. WLED is fairly extensible with various usermods to handle things like audioreactive light displays, OLED screen output, and so on. This particular PCB is setup to be small form factor but still have the main elements of a fully featured WLED PCB like a fuse, large capacitor, relay, and in addition uses a WCH 224K to allow for 5V 2A power delivery via the attached USB input. I’ve previously discussed the CH224K so opted to go that direction.
This smaller board has the following features:
- USB power delivery power
- Uses a relay to keep power consumption in check
- Uses a fuse to prevent issues
- Capacitor for the LED line
- 3 or 4 wire support for LED strips
- Level shifting the data and clock lines
- IR receiver
In this article I’ll be discussing the schematic for my board, linking the project for the associated board, and demonstrating it in practice.
Project SponsorshipAt this time I want to thank PCBWay for sponsoring this project by providing the PCBs. I’m grateful they put faith in my project and gave me this opportunity. Their website can be accessed for more details about their product line. I like how easy it was to go from my gerber to the shipped product and the boards I received seem of high quality. Their capabilities page has a lot information about what they can help you with. PCBWay really does make it easy to get started, build professional PCBs for your project, and see your ideas come to fruition. Love it.
The entire schematic can be referenced from the EasyEDA project directly or via the associated PDF.
PowerThis PCB includes a WCH CH224K used for USB PD. As such it gives a negotiated 5V at 2A for LEDs and the onboard components.
WLED configurationIn WLED you can further configure the device. For the ESP32S3 I utilized platform.io with the wled firmware and selected the 4M qspi environment.
Here I’ve selected several GPIO for the various elements such as the IR receiver and relay. These correspond to the values printed on the PCB itself for reference and ease of access. I used the pinout of the Xiao ESP32S3 to find the associated GPIO to use.
In ShortThe PCB was successful in that it allows for use with WLED while containing a lot of the core safety and power saving features such as a relay, fuse, and level shifting. It's a fairly simple project with useful functionality.
Comments