Introduction - If you have any usage issues, please Google them yourself
Based on 51 single-chip microcomputer, when the light sensitive value is less than 20, the relay 1 and 2 work, when the value is less than 10, the relay 3 delay 5 seconds work, when the value is greater than 50, all the relays are disconnected. (numerical value and delay value can be changed, relay can be added or modified)