The controller for solar energy lamp is composed of solar battery array, first set detection resistance circuit (DRC), overcharging protection circuit (OPC), DC-DC transfer circuit, second set DRC, accumulator, overdischarging and short circuit protection circuit (OSPC), and load connected in sequence. The input of first route of voltage and current detection circuit (VCDC) is connected to first set DRC, and the output is connected to signal chip system (SCS). The input of second route of VCDC is connected to second set DRC, and the output is connected to SCS. Through outputting PWM wave, SCS controls DC-DC transfer circuit. Through outputted control signals, SCS controls OPC, and controls OSPC. SCS is also connected to serial port comm. module, push button keys, and LCD module. The invention realizes functions: solar panel tracking according to maximum power, raising work efficiency of light-volt system, lowering cost, and remote controlling and networked management etc.