Some custom ArtNet/DMX PCBs

I’ve always liked those cheap bipolarity LED strings, but hated the patterns, and secondly that they are standalone uncoordinated things that become tiresome… Here is my attempt to roll my own, built around the ESP-M2.

The firmware has 3 components: the ArtNet/DMX interface; instances of a pattern execution engine that runs a kind of simple assembly code for waiting, setting duty cycle variables, looping, and simple arithmetic; and the 4KHz PWM output stage which drives an H-Bridge per (0-50% duty) LED string.


[Top right: 1 port 3.3V module, Bottom right: 2 port 5V module; left: ArtNet/DMX relay for running a pair of ultrasonic foggers].

The ArtNet interface presents 3 universes: (#1) direct duty-cycle channels, (#2) single pattern channels (each polarity direction of a string has a separate logical channel), and (#3) dual pattern channels (both directions run the same pattern, which can be copies of a single duty-cycle outputting pattern which drives one direction or a single copy of a 2 duty-cycle outputting pattern which can drive both directions).

The boards have a 4 pin header for monitoring/flashing. I’ve got a range of piggyback adapter PCBS for the FTDI232, and here I use one that has an autoflash function.

Not really related to WLED, but I’m hoping to use with XLights or similar together with my WLED nodes.

The assembly/machine language.


Example of a blinking fade.
blink-fadev1