In this circuit, the IO port of the single-chip microcomputer is connected to the OUT1 of the MOC3021. I want to change the duty cycle to control the brightness of the lamp by adjusting the output of the IO port. On for 1ms, off for 9ms, on for 10us, off for 1000us, etc., there is no difference between the brightness of the available light and the brightness when the MOC3021 is always on. I don’t know anyone who has done SCR dimming.
Could anyone give me some suggestions?
Thanks a lot!