Any solar system has four main components: solar panels, batteries, professional solar controllers and lamps. During the day, solar panels absorb sunlight to generate electricity, and the photons generated by the solar panels collecting and stimulating electrons in silicon cells generate electricity for the cells. The dedicated solar controller detects when the power and voltage of the solar panel decreases to determine when it is dark. If it is determined that it is night, this will trigger the system to stop supplying power to the battery and turn on the light. Then the battery provides energy for the LED lamp and the LED light source is turned on. The controller also has the function of light control and time control.