鬻一Desi gn ofthe StreetLam p Contr01 l i n9 Ci rCBit王宏军潘晶莹王航宇W ang H ongdunPanJ i ngyi ngW ang H angyu( 西安航空职业技术学院电子工程系,陕西西安710089)( Departm entof El ect roni c Engi neeri ng,Xi ‘an Aeronauti calPol yt echni c I nst i t ut e,ShaanxiXi ’an 710089)摘要:该路灯控制系统主要由时钟发生电路、路灯控制电路、LCD显示电路、声光报警电路、键盘控制电路和单片机控制电路等部分组成。在时钟发生电路中,采用低功耗实时时钟电路芯片DSl 302,它可以对年、月、日、周日、时、分、秒进行计时,计时后,经过单片机的控制处理后从显示屏上将计时的数据显示出来。而路灯控制部分通过对外部环境进行检测,实现不同环境的不同操作,从而实现各个不同功能。由于采用了较高级的时钟控制元件、精度较高的红外检测装置和外界光检测装置,实现了对外部环境的控制功能,而且有效地提高了精度。关键词:时钟电路;路灯控制;单片机;DSl 302;精度中图分类号:TM 823.01。文献标识码:B文章编号:1671-4792一( 2010) 5-0202—04Abstract:Thi sst reetl am p syst em consi st sofcl ock ci rcui t ,l am p controlci rcui t ,LCD di spl ay ci rcui t,sound andl i ghtal armci rcui t ry,keyboardcontrolci rcui t ryandsi ngl e- chi p control l i ng ci rcui t .I n t hecl ock sect i on,w i t h t he tri ckl e chargecurrentcapaci tyofl ow - pow er realt i m ecl ock ci rcui tchi p D Sl 302,t heyears,m ont hs,days,Sundays,hours。m i nut es and seconds canbe counted,af terM CU controlprocessi ngt het i m i ngdataw i l lbedi spl ayed.Throught est i ngt he ext ernalenvi ronm ent,thel am p control partw i l lbeachi eve di f f erent operat i ngand vari ousdi f f erent f unct i ons.Byusi ng hi ghercl ock controlcom ponent s,hi ghpreci si on i nf rared opti caldetectordevi ces and t heopt i caldet ect i on devi ce,t he controlf uncti on oft heexternalenvi ronm entw as real i zed and t heaccuracyw as i m proved.Keyw ords:Cl ock Ci rcui t ;Lam p Control ;Si ngl e—chi p;D Sl 302;Preci si on0