4、进行输出控制,并提供给适当的充电电压给不同的电池充电。系统硬件按功能分为USB电源模块、电荷泵升压模块、中央处理器模块、显示模块、直流线性稳压控制模块、按键模块。系统的软件是在KeiluVision4的集成开发环境下,采用C语言完成了应用系统软件编程,包括主程序、AD控制、PWM控制、中断、显示等子程序。关键词:STC12C5604AD;LM358;AD模数转换;PWM控制IABSTRACTABSTRACTAt present, nickel-cadmium batteries, nickel metal hydride batteries
5、and lithium batteries are used mostly. The respective characteristics of them indicate that they will coexist and develop for a long time. There are different characteristics about different types of batteries. To different types even different voltage and the capacity lev
6、el of the battery, different charger are used,but there are much inconvenient in actually use.in this research, different program are taken according to voltage values across the battery charge.STC12C5604ADmicrocontrollerandLM358dualoperationalamplifierareusedasthemaindevi