I'm controlling a Meanwell LED driver's dimming function using 0-5V PWM from an Arduino, stepped up to the 0-10V PWM the driver expects.

5V to 10V PWM Converter Circuit

  • '0-5v' is the 5V PWM from the Arduino
  • 'VCC' is the 10V 500uA wire from the driver's DIM+
  • '0-10v' is the 10V PWM output back to the driver's DIM-
  • 'Q1 NPN' is a 2N2222 transistor

I could use some guidance on selecting proper resistor values for R1 and R2, given the function of the circuit and VCC at 10V/500uA. I've been advised that the given values may be inappropriate for such a low-current VCC.

(I recognize that this circuit inverts the PWM signal and have accounted for this software-side.)

Thanks in advance!

  • \$\begingroup\$ Please, post the picture here. Your score should be enough now \$\endgroup\$ – Gregory Kornblum Feb 18 '17 at 10:10
  • \$\begingroup\$ A link to the LED driver is important. \$\endgroup\$ – Andy aka Feb 18 '17 at 11:16
  • \$\begingroup\$ I don't have the reputation to include a second link; I'll drop it here: mouser.com/ds/2/260/HLG-185H-C-SPEC-806161.pdf \$\endgroup\$ – dev.pat Feb 18 '17 at 12:13
  • \$\begingroup\$ I don't think that works the way you think it does. The DIM- is the low side of the input, and DIM+ is the high side. You won't get very far pulling the low side up. I would connect DIM-to the ground on the Arduino. The transistor then pulls DIM+ down to generate the PWM. Alternatively, use an optocoupler. The documentation isn't very clear, though, and you may actually need a 10V supply to drive the DIM+ rather than just shorting it to ground. \$\endgroup\$ – JRE Feb 18 '17 at 12:32
  • \$\begingroup\$ Don't miss this: DO NOT connect "DIM- to -V" \$\endgroup\$ – Misunderstood Feb 19 '17 at 0:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.