At present, my country has built many new energy projects, such as alcohol fuel projects and wind power projects, but the most attractive one is the solar photovoltaic power generation project. Solar energy was also assessed as the most likely renewable energy source to replace oil and coal. The purpose of this paper is to study the investment risk management of solar photovoltaic power generation projects based on wireless sensor networks. The advantages of using ZigBee self-organizing wireless sensor network in photovoltaic power station are analyzed. Apply it to the photovoltaic power station collection node program. According to the typical characteristics of photovoltaic power generation projects in my country at this stage, a comprehensive risk assessment index of solar photovoltaic power generation projects based on wireless sensor networks is established. Combined with the actual situation of the three photovoltaic power generation projects, an empirical analysis is carried out. The results show that the risk of project B is the lowest, and the enterprise should decide to choose this project for investment.