You are here: Home » News » Solar Led Light System Software Design

Solar Led Light System Software Design

Views: 69     Author: Site Editor     Publish Time: 2022-07-12      Origin: Site


facebook sharing button
twitter sharing button
line sharing button
wechat sharing button
linkedin sharing button
pinterest sharing button
whatsapp sharing button
sharethis sharing button

The main task of the Solar Led Light lighting system controller software is to determine whether it is day or night by collecting the voltage of the solar panel. If it is daytime, according to the detected voltage value of the battery, it will control to enter different charging stages to charge the battery to prevent the system from overcharging. If it is at night, according to the detected voltage value of the solar panel, control the Solar Led Light to turn on, turn off the LED light by timing, and control the over-discharge of the battery discharge. What is the software design of the Solar Led Light system? Let's take a look at it next.

Here is the content list:

l System main program

l Day subroutine

l Night subroutine

System main program

Under the action of the intelligent controller, the Solar Led Light lighting system executes the daytime subroutine during the day and the nighttime subroutine at night. By sampling and testing the solar cells, it is very important to judge the day and night for the normal operation of the system.

Day subroutine

The subroutine during the day is mainly to sample the Solar Led Light solar panel voltage and battery voltage, determine whether the charging conditions are met, and then enter different charging stages according to the battery voltage. In different charging stages, the charging mode is adjusted by adjusting the duty cycle of the charging voltage PWM pulse. When the Solar Led Street Light battery is in the over-discharge protection stage, use the direct charging method: when the battery is in the half-saturated stage, use the pulse width modulation PWM method to charge: until the battery enters the over-charge protection stage, stop charging.

Night subroutine

The night subroutine mainly judges whether the battery is over-discharged according to the sampling solar panel voltage and battery voltage. When the battery voltage is higher than the over-discharge protection voltage, the battery supplies power to the Solar Led Light; when the battery voltage is lower than the over-discharge protection voltage, the Stop supplying power to the LED lights and enter the over-discharge protection stage. At the same time, after the Solar Wall Light is started, the time is preset by the microcontroller timer, and when the predetermined time is reached, the power supply of the LED light is stopped.

Guangzhou Best show Lighting Co., Ltd is a high-tech led lighting factory with 10000 square meters, located in Guangzhou, China; was founded in 2009 and owns 11 years of production experience; it is dedicated to R&D, production, marketing, and customer service. The recommended products of the best show include LED street lights, Solar Led Light, Led Floodlight, Led High Bay Light, Led Grow Light, etc. The above is about the software design of the Solar Led Light system. Solar Led Street Light, Solar Wall Light, Solar Garden Light, if you are interested, you can contact us, our website is I look forward to your arrival very much and hope to cooperate with you.



Solar Led Light
Led Grow Light
Leave a Message
Contact Us


 +86 15089894270
 Building B6, Huachuang Industrial Park, Shiji Town, Panyu District, Guangzhou, Guangdong,China.
Copyright©2021 Guangzhou Bestshow Lighting Co.,Ltd. Support By Leadong | Sitemap