Abstract:Solar energy has the advantages of being clean, not threatening human beings and destroying the environment. Improving the efficiency of solar panel power generation has become a hot spot in today's research. With the single-chip microcomputer as the control core, reading the latitude and longitude of GPS and local time, etc., according to the visual trajectory model Calculate the azimuth and elevation angle of the sun, send the corresponding pulse to drive the stepping motor, regulate the attitude of the solar panel through the reducer, so as to achieve accurate tracking of the sunlight. The attitude sensor installed on the solar panel feeds back the attitude information to the controller thus realizes closed-loop control, improve the accuracy of the system.The installed wind speed sensor makes the solar tracker have wind resistance performance. Experiments show that the sun tracker can effectively track the sun angle, and the tracking accuracy is about 2°, and greatly improves the power generation efficiency of the solar panel, and the device has a good application prospects.