Finished my flexible WS2812B 4020 test board

Nov 23, 2026 Last reply: 22 hours ago 5 Replies
Jump to replies (5)

I've played around with a bunch of WS2812B addressable LEDs over the years, mostly the usual 5050 and 2020 packages. Then the other day I came across the 4020, which is a bit less common and has the LED sitting to the right inside the package instead. Figured it was worth a try just to see what it could do.



So I designed a small flexible PCB around it and sent the design off to JLCPCB. When it arrived I soldered a Seeed Studio XIAO on there and flashed it with WLED. It lit up first go, which is always a nice feeling.



The fun part is watching the board bend while it's powered, with the side-mounted 4020s running diffrent colors along the curve. Happy to share the link to the LED in the comments if anyone wants to grab some for thier own project.


I went through a similar phase of trying the less common packages after getting bored of the standard 5050s, and the side-emitting ones really do change what you can do with a strip. The way you describe the colors running along the curve of your board is exactly the kind of thing that got me hooked on addressables in the first place.

My own board was rigid, so watching a flex one bend while it's live is a bit mind-bending to me. I always worried the traces would crack from repeated bending, so I'd love to hear how the polyimide flex from the fab house held up for you after a few bend cycles. I also run a XIAO on one of my projects and it's such a tidy little board for WLED when you don't need a full ESP32 dev board hanging off the end of a strip. First-flash success is rare in my experience, so getting it lit on the first go says a lot about the design.

Yes please on the link to the 4020s, I've been curious about those for a backlighting idea behind a shelf edge where the light needs to come out sideways.

I've always been on the lazy end of this hobby, buying pre-made strips and clipping a controller onto them, so the idea of designing my own board and having it fabricated is genuinely foreign to me. The way you describe it makes it sound more approachable than I imagined, like the LED choice drove the whole design instead of the other way around.

One thing I'm curious about with the sideways-mounted package: does the light throw differently at viewing angles compared to the normal top-facing ones? I ask because my only WLED build so far is a strip hidden behind the trim on a bookshelf, and half my struggle was hiding the bare LEDs while still getting decent brightness out front. It sounds like a side-emitting package might actually solve that problem neatly.

Also, soldering directly onto a flex board is something I'd be nervous to try myself. Did you find the pads held up fine under a normal iron, or did you have to be gentle with it? My hands aren't the steadiest and I'd hate to lift a pad on a board I can't easily replace.

Would definitely grab the link if you're still sharing it.

Seeing the LED choice drive the whole board layout is something I had to get used to, back when the only real option was soldering wire between chips and covering every joint in heatshrink. Your orange flex with the 4020s sitting right on it looks like a cleaner way of doing what we used to hack together by hand. One thing I keep wondering from the way you describe it: with the die mounted off to the right inside the package, do you have to mind the orientation when placing them, or is it forgiving if a few end up facing the wrong way along the curve?

Soldering a XIAO onto flex sounds fiddly to me. I've only ever stuck mine on rigid perfboard, and even then the little pads had me squinting. Did the board need any stiffener under the microcontroller, or does the flex hold up fine with it just sitting there? I keep imagining the USB-C plug wiggling and working the copper near the connector. Also curious how bright the 4020s are compared to the 2020s you've used, since sideways emitters always seem dimmer head-on to me. Grabbing that link either way, this package could be handy for a project I've got rattling around.

The detail that stuck with me is how the die sits off to one side of the 4020, so the light direction is baked into the chip itself. Every build I've done used standard packages firing flat out, and I never realised how much my layouts were quietly shaped around that until you described yours. Ordering the flex, letting the chip choice push the board shape, that's the part I want to borrow for a cove light I keep putting off. When it bends and runs colours along the curve, does the sideways light wash over whatever's behind it, or is the curve itself the whole effect?

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required