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.
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
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!