I would like to connect the 10VDC of my LED driver to Arduino so I can dim the lights.
I've found out that the lower the output voltage, the more I am able to dim the LED lights.
My question is, how can i control/lower the output voltage of external 10Vdc using arduino.
Note: I don't like to use photo-resistor because I wanted to manually control the dim light by entering some value on arduino TX/RX.
UPDATE: The 10Vdc were specially provided by the LED Driver for the purpose of dimming the LED.
-
\$\begingroup\$ Can you provide a link to the LED driver you actually have? (And a link to the LED you intend to dim would also help.) Also, are you saying that you want to write out a value on the async TX line in order to set the intensity? \$\endgroup\$jonk– jonk2017年07月21日 17:12:27 +00:00Commented Jul 21, 2017 at 17:12
-
\$\begingroup\$ @jonk Dimming Control Page 9 mosopower.com/UploadFiles/Files/2015/11/2015110510263110.pdf \$\endgroup\$Sam San– Sam San2017年07月21日 17:20:15 +00:00Commented Jul 21, 2017 at 17:20
-
\$\begingroup\$ Never mind the RXTX for now, I am good at programming but not on electrical design. \$\endgroup\$Sam San– Sam San2017年07月21日 17:21:45 +00:00Commented Jul 21, 2017 at 17:21
-
\$\begingroup\$ Is this the same supply you were talking about earlier? (Nice supply, by the way.) \$\endgroup\$jonk– jonk2017年07月21日 17:23:52 +00:00Commented Jul 21, 2017 at 17:23
-
1\$\begingroup\$ See page 3 of this link: mosopower.com/UploadFiles/Files/2016/12/20161221110547328.pdf There, I see "The dimming mode detect the voltage amplitude of the external 0-10V dimming mode" but I also see that they have some software dialog box where you can "Set signal level can be 5V or 10V", which suggests to me that there is some kind of setting that may be required. But I'm going to guess, for now, that you should TRY IT at 5 V. And see. \$\endgroup\$jonk– jonk2017年07月21日 17:43:32 +00:00Commented Jul 21, 2017 at 17:43
1 Answer 1
You're going to want to use some sort of transistor and do pulse width modulation (PWM) from your Arduino. If your LED array is drawing a significant amount of power (or the fact that it's at 10 VDC) you might need to use what's called a Darlington transistor, which is essentially a pair of transistors where the first amplifies the input for the base current of the second one. Here are a few examples using both a FET and a transistor.