摘要
介绍一种以STC89C52单片机、DS1302,1602液晶显示为核心,具备调节时间,设置开启时间与关闭时间的定时开关的实现过程。采用C语言编写,与汇编语言相比具有更好的移植性和可读性,便于修改和增减功能,并通过Protues成功仿真。
The realization process of a time switch that has the functions of time regulation, time setting (time starting and stopping) and is based on the IC microcontroller STC89C52, DS1302 and LCD 1602 is introduced. It is convenient to modify and add functions by using C language, which is more transplantable and reliable in comparison with assembly language. The system had successfully simulated by Protues.
出处
《现代电子技术》
2013年第8期4-6,共3页
Modern Electronics Technique
基金
湘南学院资助课题(2010Y011)