Solar LED Street light system will have a 10W solar power supply and 230V utility grid power supply. Energy from solar panel will be stored in 7.2ah battery and it’s controlled by a charge controller, and 230V utility grid act as backup power, whenever there is in insufficient energy in battery; grid utility will light up the street light. This selection of powers need to be done by Arduino software (Relay module?). The operational hour for solar street light will be 7PM to 7AM, using a LDR sensor. Please refer the flowchart attached.
looking for arduino programming code for this project here.