I've raspberry pi 4 and I'm building a project that simulate sunrise and sundown.
I've found that LED - WYZM HBL-100W that get 220AC AND DC 10V, I can dim it by lower or increase DC voltage level.
for that Iv'e create this ampifier module that will be connected to the raspberry:
the module work perfectly, I've check and it can provide voltage range(0-10).
When i've finish the the hardware I've plug the LED into the ampifier, And it's control the dim level, but its can't turn it off when I give 0v
.
this is the PYTHON code:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12, GPIO.OUT)
p = GPIO.PWM(12,50)
p.start(50)
p.ChangeDutyCycle(0); #Still on!
I've disamble the ampifier and the LED, and check the Voltage level on the ampifier and it show 0.0V
, and when I reconnect the ampifier to the LED the DC shows 0.54V
on the multi meter.
I know its not problem on the raspberry or on the ampifier, I guess its on the LED, but maybe I missing something.
Thank you in andvance!
https://www.youtube.com/watch?v=VxxyfsloxzA&feature=youtu.be
– Itzik.B Dec 09 '19 at 16:58