How to control a meanwell driver/dimmer

Andrew asked Jan 05,2021
0

Hi all, I am looking to hook up a nodemcu to my led driver (meanwell hlg-480-B 3-in-1 dimming fonctions) I have a NPN bc547 transistor from what I've read online this should be enough even tho an octocoupler is recommanded as the safer options. Anyone know how should I wire so that I can send PWM 0-10v signal from an 5v/3.3v nodemcu pwm pin?

  • Your Answer(1)
Upload photo
You can only upload 5 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
  • 0

    You could try using your NFET as an inverter. The input (Vs) would be your 5v/3.3v PWM from NodeMcu, and the output (Vo) would be the 10V PWM (assuming you set +V to 10V). A couple things to consider though. First, your PWM will obviously be inverted. So full brightness would be when you set the PWM to 0% and vice versa. Second, you'll need to consider what frequency you want to run the PWM. If it's too high, then the output rise time might not be fast enough and you'll have to lower the R1 resistance (at the expense of increased current consumption). Your Node and the NPN would probably also need to have a common GND with the "DIM-" pin of the module. Not sure if that will cause you problems or not... If so, the spec sheet also states you can use a variable resistor instead. So you could also consider a 100KΩ digital potentiometer that your Node can control.

    Reply
Browse other questions tagged or ask your own question.
List of Questions
pause
Ranking Name Answers
1 PCBWay Team 4
2 Christian Davies 3
3 Bhanu 2
4 Engineer 1
5 Engineer 1