北京印刷学院学报
北京印刷學院學報
북경인쇄학원학보
Journal of Beijing Institute of Graphic Communication
2012年
2期
60~63
,共null页
Atmegal6单片机 DSl302 实时时钟
Atmegal6單片機 DSl302 實時時鐘
Atmegal6단편궤 DSl302 실시시종
Atmegal6 microcontroller; DS1302; real-time clock
在日常生活中和自动控制系统中,时间与实时数据采集都需要时钟。DSl302是一款优秀的实时时钟芯片。介绍了DSl302的主要工作原理和编程思路,给出了AVR单片机Atmegal6与DSl302的硬件接口电路和软件程序设计。系统在Proteus平台上进行了软、硬件交互仿真,实现了数码管时钟设计。
在日常生活中和自動控製繫統中,時間與實時數據採集都需要時鐘。DSl302是一款優秀的實時時鐘芯片。介紹瞭DSl302的主要工作原理和編程思路,給齣瞭AVR單片機Atmegal6與DSl302的硬件接口電路和軟件程序設計。繫統在Proteus平檯上進行瞭軟、硬件交互倣真,實現瞭數碼管時鐘設計。
재일상생활중화자동공제계통중,시간여실시수거채집도수요시종。DSl302시일관우수적실시시종심편。개소료DSl302적주요공작원리화편정사로,급출료AVR단편궤Atmegal6여DSl302적경건접구전로화연건정서설계。계통재Proteus평태상진행료연、경건교호방진,실현료수마관시종설계。
Clock is used to enregister the time and the real- time data collection in the life and the system of the automatic control, The DS1302 is an excellent chip of the real- time clock. The main working principle of DS1302 and programming sought are introduced. The interface design of the software and hardware of the AVR microcomputer Atmegal6 and DS1302 are also given. Finally, the system hardware and software interactive simulation is completed on the platform of Proteus and the design of LED digital clock is realized.