No, cosí non funziona.
http://www.micro-bridge.com/data/CRpowtech/PT4115E.pdf:
The DIM pin can be driven by an external DC voltage (VDIM) to adjust the output current to a value below the nominal average value defined by RS. The DC voltage is valid from 0.5V to 2.5V. When the dc voltage is higher than 2.5V, the output current keeps constant. The LED current also can be adjusted by a resistor connected to the DIM pin. An internal pull-up resistor
(typical 200KÙ) is connected to a 5V internal regulator. The voltage of DIM pin is divided by the internal and external resistor.
The DIM pin is pulled up to the internal regulator (5V) by a 200kOhm resistor. It can be floated at normal working. When a voltage applied to DIM falls below the threshold (0.3V nom.), the output switch is turned off. The internal regulator and voltage reference remain powered during shutdown to provide the reference for the shutdown circuit. Quiescent supply current during shutdown is nominally 95uA and switch leakage is below 5uA.
Se metti l'entrata DIM a massa il driver si spegne. se lo metti a H regola la corrente settata. da 0,5 a 2,5V ha un funzionamento analogico dove la tensione regola l' intensita della corrente.
Lo userei in modalitá digitale con un segnale PWM dal Arduino.
Toglierei inoltre i 4 diodi dalla schedina e collegherei direttamente la massa, i 5V e il segnale PWM al driver.
Ciao Uwe