2
\$\begingroup\$

I want to use the PAM2861 LED driver.

It can handle my intended load (1 A and two LEDs around 3 V per channel) and I know this because someone with a similar project used it. It's also available at JLCPCB which means I can get it assembled for me and still save money (not to mention the equipment I'd need to buy for reflowing correctly).

Problem with it is that the PWM frequency and resolution are limited. I want a better resolution and a higher frequency, but I can't find anything else in their catalog that will do.

Why not just use an N-FET inserted after the LED string and drive that FET with low-passed PWM from my Arduino? The low-pass also eliminates the flicker that comes with PWM (this is annoying if I want to use a camera anywhere near the thing). Here is a schematic:

enter image description here

As far as I can tell, looking at the typical application example and the block diagram (when I say look, I am still a newbie), I can't see this being problematic, but maybe it is.

Am I right to think all this would do is add more resistance to the string as the PWM duty cycle is lowered? Does this interfere with accurate voltage regulation/constant current switching?

\$\endgroup\$
6
  • 1
    \$\begingroup\$ This IC operates at 100s of kilohertz, how is this a problem for a camera? \$\endgroup\$
    – Mattman944
    Commented Aug 11, 2022 at 1:11
  • 2
    \$\begingroup\$ Your modification has so many issues that it isn't worth salvaging. MOSFETs are awesome devices but they aren't magical. It is the gate to source voltage that controls the switch. \$\endgroup\$
    – Mattman944
    Commented Aug 11, 2022 at 1:22
  • 1
    \$\begingroup\$ If zero flicker is a requirement, and you don't care about power, ditch the LED driver and make a linear constant current circuit. \$\endgroup\$
    – Mattman944
    Commented Aug 11, 2022 at 1:23
  • \$\begingroup\$ I might be tempted to use a PFET or PNP - maybe even a JFET as a voltage-controlled resistor - to modify R1. Keep everything else per the PAM's datasheet. \$\endgroup\$
    – AaronD
    Commented Aug 11, 2022 at 1:23
  • 1
    \$\begingroup\$ Or...having looked at the datasheet now, there's a handy little pin that you've left disconnected (which is a valid use for that one - it isn't always in general), that does exactly what you want. See the Pin Descriptions on page 2. \$\endgroup\$
    – AaronD
    Commented Aug 11, 2022 at 1:25

1 Answer 1

2
\$\begingroup\$

Read the datasheet:

Datasheet showing dimming using VSET pin

If you must, drive that with a low-pass signal from your Arduino.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.