1、 太阳能 LED 交通警示板设计 摘 要 本设计采用软硬件结合的方式实现,硬件电路主要包括:充电电路(带充电保护 功能) 、放电保护电路、传感电路、计数与显示电路、稳压电路、A/D 转换电路、太 阳能光伏板自动跟踪控制系统七个模块。AT89S52 单片机是整个系统的核心部件,通 过软件控制多个硬件电路的执行。在编程时根据模块化的设计思路,采用 C51 语言 来编写程序,主要包括:昼夜的判断、白天时通过车辆的计数并用 LED 动态显示、 夜间警示 LED 闪烁、防瞬时光照、控制电机跟踪、恢复电机到初始位置等模块。 设计中实现了白天计数,晚上闪烁,在光控开关控制下,白天开启、晚上关闭的 功能,以及
2、防闪电、车灯干扰的功能,并加有过充、过放保护装置。除上述发挥部分 外,又新增两个功能:将太阳能光伏板安装在电机上,白天时通过控制电机旋转来跟 踪太阳,充分利用太阳能,对电池进行充电;黑夜到来时,将电机复位到初始状态, 第二天重新对太阳进行跟踪。 关键字:充电,保护,单片机,计数显示 The LED Solar Traffic Warning Board Design Abstract This design uses the way realization which the software and hardware unifies, the hardware electric circui
3、t mainly includes: The charging circuit (belt charge protection function), the electric discharge protection circuit, the sensing circuit, the counting and the display circuit, the voltage-stabilizer circuit, the A/D switching circuit, the solar energy light bend down the board automatic following c
4、ontrol system seven modules. The AT89S52 monolithic integrated circuit is the overall system core part, controls many hardware electric circuit through the software the execution. When programming acts according to modular the design mentality, uses the C51 language to compile the procedure, mainly
5、includes: When diurnal judgment, daytime through the vehicles counting and with the LED dynamic demonstration, at night police shows the LED twinkle, guards against the instantaneous illumination, the control electrical machinery track, restores the electrical machinery to modules and so on initial
6、point. In the design realized the daytime to count, evening glittered, controlled under the switch control in the light, daytime opened the function which, the evening closed, as well as guarded against the function which the lightning, the headlight disturbed, and Canada had has imitated has put the protective device. Besides above display part, also increases two functions: Bends down the board the solar energy light to install on the electrical machinery, when daytime tracks the sun through c