12V LED module... dimming and control question

I have a 12V LED module (only has two leads for power and gnd) and when I took apart the module it turns out that it has its own programmable controller inside (running at 5V) that uses mosfets inside to flash the LEDs in programmed patterns, but it has no method of dimming the LEDs (it has a bunch of other components for vreg for the controller, current limiting resistors for the LEDs etc). Before taking apart the module I thought perhaps I could PWM the 12V power and dim the LEDs but I no longer see this working as I will likely just be rapidly turning the programmable controller on and off very quickly and messing with the flashing patterns.

So that brings me to this post.

Although the module nominal input is 12V, when I drop the input voltage using my power supply, there is no appreciable difference in perceived brightness down to 9V (current also drops from ~190mA to ~100mA). Below 9V I would estimate a 50% brightness drop when lowering input voltage to ~8.2V (current drops to ~25mA)

So I have some 1n4002 diodes here and I believe on the datasheet it shows a forward voltage drop of 0.6-0.8V with current between 0.03A to 1A. If it put one in series with the LED module and run it at 9V I achieve the ~50% dimming I am looking for (voltage across the LED module should be in the ballpark of the 8.2V I’m assuming). If I used a ~30ohm resister in series instead of the diode I get roughly the same result as I am limiting the current.

Here in lies my first question, by using a diode in series to drop the voltage, or using a resistor to further limit the current (since it already has resistors built into the module) what is the advantage or disadvantage to either solution?

Second question, someone suggested to use a constant current LED driver to dim the LEDs but this was before determining all of the other components inside the module. I’m not sure what effect it would have trying to “push” a constant amount of current through the module with everything else going on in there (programmable controller etc.)

Third question, I actually have three of these LED modules in red, amber, white… which I would like to control individually (on/off). The brightness of all LED modules can all be tied together as I have no reason to run them at different brightness simultaneously. I came up with the following circuit (see attached) using MOSFETS for the ON/OFF and controlling the dimming with the diode as mentioned in my first question above. The red/yellow/white inputs from my controller would be normally low to turn off the lights, and then driven high to turn each of the colors on. A common dimming signal would be driven high so that path to GND avoids the diodes (or resistors, see question 1). Low signal on this line would put the diode/resistor in series to dim the lights. Does this look like it should work, or is there a better way to do it with less components?

Thank you all for your patience with all of my questions… there are definitely some gaps to fill in my fundamental understanding of electronics.

You can't "override" the built-in driver, at least not reliably or in any predictable manner.

Just for example, there are "LED light bulbs" rated for something like 90 to 250VAC and obviously they are not dimmable. The internal driver is trying to hold constant current and it will "fight" any dimming attempts. Dimmable LED "light bulbs" are designed for either 120VAC (US & north America) or 240VAC (most of the world). These also have a built-in driver but it's specifically designed to "respond to" a regular phase-control light dimmer.

I came up with the following circuit (see attached) using MOSFETS for the ON/OFF and controlling the dimming with the diode as mentioned in my first question above.

That might work. I'm assuming you it's not supposed to be continuously variable? And, those LEDs are the LED modules, right? You haven't ripped the raw LEDs out? If you only need two levels there's probably an easier way with just one MOSFET per module to turn-on the higher-voltage when needed.

Hi Doug,

Yes that is correct. The LED's in my schematic are the modules and I am only looking for two discrete states. Bright and dim.

Do you or anyone else see any issue with doing it this way? And what would be the pros and cons of using a resistor instead of a diode to achieve the dim state?

Any effect on longevity of the LEDs by running them at a lower voltage?

So to bring more clarity to this topic, I took a picture of the inside of the module (back of the board is unpopulated).

Main components I could identify are as follows:

Controller:
PIC12F683
[link http://ww1.microchip.com/downloads/en/DeviceDoc/41211D_.pdf]http://ww1.microchip.com/downloads/en/DeviceDoc/41211D_.pdf[/link]

Likely powered by 5V, 30mA regulator:
ZXTR2005Z
[link https://www.diodes.com/assets/Datasheets/ZXTR2005Z.pdf]https://www.diodes.com/assets/Datasheets/ZXTR2005Z.pdf[/link]

There are two N channel MOSFETS:
DMT6008LFG
[link https://www.components-mart.com/datasheets/82/DMT6008LFG-7.pdf]https://www.components-mart.com/datasheets/82/DMT6008LFG-7.pdf[/link]

There are 6 LEDs that I cannot identify… and what would appear to be 6 very small transistors (my guess as they have a ‘Q’ designation).

I don’t see any evidence of any other components like inductors that I have seen in switching regulators. Only small caps, resistors and a few diodes present.

My initial guess was that the PIC controller is switching the larger MOSFETS to turn the LEDs on and off, but the coincidence of 6 LEDs and 6 smaller transistors is throwing me off. These light modules are intended for automotive use (emergency vehicle light bars etc)… so perhaps there is something going on to protect the LEDs from voltage spikes produced by the vehicle’s electrical system.

Let me know what you think