My DIY WLED Controller - Comments Welcome

I am relatively new to WLED (it is amazing!) but not new to designing electronics. I have several off-the-shelf controllers but can’t seem to leave well enough alone so I have decided to dabble in designing one of my own.

For my first foray, it is:

  • ESP32-MINI based
  • Two WLED controllers
  • Three wire (+V, LED, GND) and four wire (+V, DATA, CLK, GND) support
  • MOSFET LED power on/off
  • 5-24V Vin
  • Fused
  • Size: 3.3in x 1.2in
  • No microphone support

One question that I have is about flashing. I would like to flash it with the default pins automatically set so the user doesn’t have to enter them. How is that done?

Another question is about the pins used. Because it is an ESP32, it is my understanding that pretty much any pin can be used. Here are the pins I am using:
*GPIO4: On/Off switch
*GPIO18: LED1/DATA1
*GPIO5: DCLK1
*GPIO19: LED2/DATA2
*GPIO23: DCLK2

Your comments and suggestions are most welcome.

1 Like

The only comment I can give is that it looks absolutely amazing, and admire the skills that you can design your own device like that. I Have a built circuits but never on a PCB. Is it very different? Is there software you can recommend? Which one did you use? The 3d model and render must be most helpful in the design process. Can you have these then produced based on the export files/blueprint in a facility? I think it’s smart you left out the mic and went for the line-in. After all WLED accepts external API calls and has support for a wide range of protocols.

One I would consider is adding a suitable antenna if it is going to be used wirelessly because the default esp32 don’t have a long range and are very susceptible to interferance. Alternatively you could think of adding support for an Ethernet connection, such as the ABC! board extension I just bought.

Look forward to seeing how this progresses!

I’d be interested in seeing a schematic. I can see the MOSFET and regulator, but I don’t know the two large ICs.

2 Likes

I’m not sure, what the reason from your first post.
Is it to share your project with the comunity? In this case your explaination is a bit short and i fully agree with TokyoDave. Or is it a hidden advertising for a commercial project?

Super, No hidden agenda. I am just a tinkerer like all of you and was trying to get some feedback on my approach. I am sure that there are many of you have have much more experience in WLED controller design than I do. I did not share the schematic because if there is some fatal flaw in it, it might be used by others and they will end up with a fautly and possibly unworkable result.

The MOSFET is Q1. U1 is regulator with the inductor just below. Q2 is used to turn Q1 on/off. U3 is the level shifter. The black rectangular thing next to the ESP32 is the connector that I will use to program the ESP32.

Power comes in on the left, either through the barrel connector or the terminal block. This version does not provide a way to put in audio at all.

The point of my original post was to get some confidence that the pins I want to use are OK and that I haven’t selected some that WLED does not support. I would have preferred to use the ESP32-C3 but I was not sure if WLED fully supported that device or it was still “experimental.”

I have order 10 blank boards and they should arrive late next week. I guess I will get my questions answered then. :slight_smile:

As to what I use for design, I use CircuitMaker. It does the schematic capture and the layout. It can generate all the fab files that I need. I send them to ALLPCB and voila, in about 7 days I have my boards and the stencil if I need it for mounting the SMD components.

At present I have no plans to sell this device. I am not sure if I could ever make it at a low enough cost to make it worthwhile. I would think it would come in around $10 if I really work at it. Add another $10 for me and it has a $20 sale price. In my view, not a good enough difference between what the commercial versions cost.

On that note though, I was very disappointed with one aspect of the Athom LP8 units I have. They were great up until I separated the controllers from the first LEDs by as little at 6-7 feet. I would get the random white flash about every 10-30 seconds. These were 12V LED strands with about 100-200 LEDs with a 5A power supply.

I looked into RS485 interface options but they were all 5V. Once again, I decided to design my own. It is one PBC with a jumper to select whether it is a transmitter or receiver. It accepts 5-24V. What I think is the best feature is that the connection between the transmitter and the receiver is made with standard 6-conductor phone wire through a RJ12 connector.

I have ordered those boards as well. If they work out, I can share that design. I might also offer those for sale since I don’t know of anything simular that is already available.

Not so modest :wink:
We all cooking with water, only :wink:
Without brainstorming, everybody will make the same mistakes for itself. Everybody can learn much faster with discussion about schematic and PCB design.
I think, it exist more people with software skills, as with elektronic development skills.WLED is open software and it’s also fair, to give back a hardware solution also for free.
It must not be perfect, but with brainstorming, maybe it will be perfect :smiley:
I have developed a ESP8266 based controller, what be able to solder with RS485 linedriver or 2 levelshifter, or 4 logilevel MOSFETs. The PCB is universal.
Maybe we can merge ouer projects to a solution with ESP32.
That’s my: https://wled.discourse.group/t/once-more-esp8266-based-wled-controller/11130
My PCB isn’t perfect, i’d forgot some lines and fixed it with wirepices. I can fix my design, but i don’t need much more, like 10 controllerboards :wink:
I work with a old Version from Eagle :upside_down_face:

I think it would be better to include the schematic along with a very clear statement that it IS NOT READY TO BE USED --USING IT NOW MAY PROVE DANGEROUS.

I learn from not only asking questions but also reading about the issues others have and the answers they receive.