esp32

Fifteen down: what building them taught me

Part 8 of the synced LED lights build: where the build stands, how I track every unit, what broke along the way, what I'd change next time, and an idea for what happens to these after the wedding.

Some links in this post are Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

The plan from part 1 was 20 lights on the tables plus two spares. As I write this, fifteen are built, flashed, tested and charged. This post covers where things stand, the problems I hit along the way, and what I’d do differently if I started over.

Tracking 22 of the same thing

Past three units, I couldn’t keep straight which ones had the new firmware or a charge. So every unit now has a number on its base and goes through six steps:

  1. Built soldered, ring tested, seated in its base
  2. Programmed final table sketch flashed
  3. Tested syncs with the lead from across the room
  4. Prelim charge charged, switched off, stored
  5. Final charge Dec 27–29, right before the wedding
  6. Packed boxed and ready to go
Each tile is one unit; its six marks are the six steps, in order. Dashed tiles aren't built yet, and 21–22 are the spares. As of Nov 6.

The last two steps wait until after Christmas on purpose: a LiPo cell left fully charged for weeks wears out faster.

What went wrong

Unit 1

A wire to the power switch broke.

→ New printed base, switch rewired.

Unit 8

Only synced right next to the lead.

→ Bad radio. Board swapped for a fresh one.

The lead

Froze once; every table drifted out of sync.

→ Watchdog restarts it if it locks up.

Unit 14

Printed from the old lead base; the battery slides around.

→ Battery gets glued in. Old file deleted.

Unit 8 was the tricky one. To track it down, Claude added a check to the firmware: for the first 10 minutes after power-on, the board’s tiny blue LED flashes each time it hears the lead, so I could test a bare board anywhere in the room.

Unit 14’s mistake came from a design change. The lead is now just a bare ESP32-C3 Super Mini on USB power near the middle of the room, with no ring, battery or case. All 22 units are identical table units, and the lead tells all of them to run at brightness 180. If the room needs to be dimmer on the day, I change one board, not 22.

What I’d change next time

None of these will change for this wedding, but I’d do all of them on a second batch.

1. Leave room for my soldering. The pocket for the ESP32-C3 in the base is an exact fit for the bare board, which is satisfying for about five minutes. Once there are wires soldered to it, it isn’t that shape anymore, and my joints aren’t exactly flat. Next time I’d add a shallow relief channel under the board to make room for the solder and wire ends.

2. Charge without taking it apart. Charging a unit today means opening it up to get the battery out. What I want is a USB-C port on the outside that charges at up to 1 amp. There are two ways to get there: an ESP32-S3 board with a charger built in, or keeping the C3 and adding a small TP4056 USB-C charger board.

The S3 chip itself doesn’t charge anything; the board around it has to, and the popular S3 SuperMini doesn’t. Seeed’s tiny XIAO ESP32-S3 does, but at about 50 mA. Feather boards like Adafruit’s have chargers but would need a whole new base, and the PowerFeather is fast but about $30 a board.

The TP4056 board wins for these lights: 1 amp out of the box, same C3, same firmware. Two rules: buy the version with battery protection, and charge with the unit switched off, since this board doesn’t power a load and charge well at the same time.

3. Add a lip for the LED ring. Right now the ring just sits on its tray. It’ll probably end up hot-glued in place, which works but makes it hard to take apart. A small lip or a few clips would hold it without glue.

4. Make a circuit board. In part 6, I decided against a custom board because the wedding date didn’t leave time for a design round and a second try. Fifteen hand-wired units later, I’d make that call differently with more time. A small board from a service like OSH Park or JLCPCB would replace most of the loose wiring, and plug-in connectors like JST PH pigtails between the board, the ring and the battery would make the inside much neater and every part swappable.

5. Use a switch that doesn’t need soldering. More than a few times, I soldered a wire on too far before getting the mini switch into the case, and had to desolder and start over. A switch with pre-attached leads, or push-on quick-disconnect terminals, would skip that step entirely.

After the wedding: renting them out?

Twenty-two synced centerpieces are a strange thing to own after Dec 31. One idea I keep coming back to is renting them out:

Two upgrades would make that loop quick. First, a USB-C charger in every unit plus a few 6-way USB-C cables, with a wall charger big enough for six units at once. Second, the lead would send the client’s colors in its first sync message and each unit would save them, the same way it already sends brightness. Then new colors mean reflashing one board, not 22.

It’s just an idea for now, but it’s nice to think these could have a life after the wedding.

Next

Seven more units to build, then all 22 get a full-length test together the week of Dec 7. After that comes the boxing, the final charge, and setting them out on the tables.

Some content on this site was created with the assistance of AI. All content is instigated, initiated, and directed by humans, and reviewed before posting.