The solar powered ammonia nitrogen sensor is an environmental sensing device used for real-time monitoring of ammonia nitrogen concentration in water bodies. It is powered by efficient solar cells, completely freeing itself from the constraints of wiring and power supply, and can be deployed in any outdoor water area. This sensor has high-precision measurement, wireless data transmission, and self-cleaning and anti pollution capabilities, which can effectively provide unmanned and low maintenance accurate water quality solutions for fields such as river and lake monitoring and aquaculture.