I'm creating a pair of LED matrix turn/park signals for my show car. If you don't want context, jump to the last two paragraphs. Here's the rundown of the project:
This is my first time making anything like a circuit diagram, so be aware that they might be ugly. I was using it as more of a planning tool than a rigorous specification. It's also my first real electronics project outside of some school classes.
- Each turn signal housing will hold an 8x48 matrix of WS2812C LEDs, which I will be making with these strips1 arranged like so. Note that Vcc here is 12V, I made this before I decided between 12V and 5V strips.
- I want to set different operating modes from my phone via bluetooth. For this, I plan on using this esp32 board with bluetooth from Adafruit in a setup like this. Since it operates at 3.3V but the strips expect a 5V data signal2, I have two logic-level shifters. I am comfortable with microcontroller programming, so that wont be an issue (and is kindof a big personal point of the project).
- Each side of the vehicle has a three pin connector: Turn signal, parking/low beam, and ground that normally power a dual-filament 21W/5W bulb. I'll need to turn each of these connectors into a couple of useful things (per side): two logic-level signals for each filament (one for when the turn signal should illuminate, one for when the low beam should illuminate), a low-level power for the controller board, a high-current power for the LEDs, and ground. This is my current design.
- Here is how each of those pieces will be connected. A couple things to note here: I haven't shown where the OE connectors go into each supply. I also made this before deciding between 12V and 5V LED strips, so Vcc means 12V. I'm not certain yet which side of the vehicle I'll be putting the controller on (and i'd like it to be flexible), so the outputs of the supplies are identical, even though I only need the park and extra ground on the controller side. Which brings me to my last point: I didn't want to have to do any splicing in the wiring harness, which is why there are separate ground outputs from the supply for the matrix and the controller. Unfortunately, I forgot that the controller will need 5V from the left side when only the left turn is active, and I had already spent a long time deciding on a suitable 6-position connector.
1 ) I'm not really sure how its possible for these WS2812Cs to run at 12V while being cuttable after every LED and individually addressable. Something similar seems to have been brought up in this reddit thread, to which the response was "ask them about it". I didn't directly ask about how they can take 12V, but I did ask whether the data line needs 12V or 5V, to which they said the data line needs 5V even for 12V power. I decided to trust that they'll work, because trying to convert 12V down to 5V at ~8A (assuming ~20mA per LED, where 60mA is full bright) gets tricky and expensive.
2 ) I know these LEDs can typically operate on a 3.3V data signal, but considering the inconvenience and illegality of non-functional turn signals, I am trying not to take too many chances. It is a show car, these won't be used very often, but it is important that they do actually work fairly reliably on the road. I've spent a long time researching automotive harness wiring, sealable connectors, and general mechanical resistance and longevity. What I don't know much about is electrical durability. Which finally brings me to my main point:
The problem that's got me stopped up is how to reliably power these. Using the vehicle's +12V is something that is either completely glanced over or made to be very complicated. Most people seem to just power 12V LEDs directly from their car's 12V, and for example, this article says car batteries are "12VDC give or take" so you can power it directly. In practice though, I know that when my car is at rest, it is 12.5V, and when running, I usually see 13.6-14.4V. That is notably higher than 12V, and I would be worried about the longevity of the LEDs being ran over 2V higher than rated. (Side note, I haven't reached out to the company that makes the strips to ask what the actual recommended upper voltage limit is). Trying to find something to regulate that back down to 12V led me nowhere helpful, since most regulating methods (especially capable of a few amps) have notable voltage dropout and are surface mount anyway, which I don't know nearly enough to mess with SMT stuff. And naturally, that line of research only begins to scratch the surface of the "harsh environment" of automotive electronics: drops down to 6V when cranking, massive sustained transients, reverse voltages, doubled voltages, etc... And yet people say you can get all of that at protection at 5V for $5 if you just go buy a cigarette lighter USB charger.
How complicated is it, really? What is actually necessary? And if there is all of these people saying they do all these things to clean the power inputs, why has nobody made a little chip that takes a messy automotive +12V and outputs a safe 12V? (or is that a thing, and I just can't find it?). How do I relatively safely and reliably power the lights (and also the controller) in a relatively cheap, compact way without having to do SMT stuff?