基于单片机的太阳能充电器的设计摘要随着社会的发展,人们的生活质量逐渐奔向小康,然而此时的空气质量却愈来愈差。近年来,人们对环境的问题逐渐正视起来,开发干净无污染的能源义不容辞。因此挖掘清洁的太阳能源,对人们有着非常重要的意义。本设计将太阳能板放在太阳光下产生电能,将产生的电压值送到直流变换电路中做处理后再输送到手机电池中,单片机STC12C5A60S2检测手机电池输出的电压值再显示到液晶屏上。其充电器有以下特点(1)显示充电电流和电压值,太阳光温度越高,电流值越大,充电速度就越快。(2)充电时红灯亮,充满时黄灯亮同时红灯灭。(3)可以通过按键来设置充电电流和电压。实验证明:本设计可以在阳光温度高的情况下可以有效的快速充电,充满时可以自动停止。也可作为直流电源来使用,工作场所在有阳光的地方即可,从而可以解决人们的通信自由,具有一定的应用前景。关键词:太阳能;电池;单片机AbstractWiththedevelopmentofsociety,people'squalityoflifeisgraduallymovingtowardawell-offlife,buttheairqualityisgettingworseandworse.Inrecentyears,peoplehavefaceduptotheenvironmentalproblemsanddevelopedcleanandpollution-freeenergy.Sodiggingupcleansolarenergyisveryimportanttopeople.Thisdesignputsolarpanelsonthesuntogenerateelectricity,willproduceavoltagetothedcconversioncircuitdoagainafterprocessingtothemobilephonebatteries,SCMSTC12C5A60S2detectionofmobilephonebatteryoutputvoltagevalueisdisplayedontheLCDpanel.Thechargerhasthefollowingcharacteristics(1)thehigherthetemperatureofthesun,thehigherthecurrent,thefasterthechargingspeed.(2)thelightisredwhenitisrecharged,whenthelightisfullandthelightsgooutatthesametime.(3)thechargingcurrentandvoltagecanbesetbythekey.Theexperimentshowsthatthisdesigncanberechargedeffectivelywhenthesuntemperatureishigh,anditcanbeautomaticallystoppedwhenfull.Itcanalsobeusedasadcpowersource,andtheworkplacecanbeusedinsunnyplacestosolvepeople'sfreedomofcommunicationandhaveacertainapplicationprospect.Keywords:solarenergy;battery;singlechip目录TOC\o"1-3"\h\z\u摘要IAbstractII1绪论11.1背景意义11.2国内外研究现状12常用软硬件介绍22.1软件22.2硬件23硬件系统的设计43.1系统总体设计方案43.2方案选择43.3硬件电路...