1、 数码管电子显示屏 摘摘 要要:本设计采用的是 AT89S52 单片机,该单片机采用的 MCU51 内核,因此具有很好 的兼容性,内部带有 8KB 的 ROM,能够存储大量的程序,最突出特点是具有 ISP 在系统烧写 功能,使得烧写程序更加方便。 计时芯片采用 DALLAS 公司的涓细充电时钟芯片 DS1302, 该芯片通过简单的串行通信与 单片机进行通信,时钟/日历电路能够实时提供年、月、日、时、分、秒、星期信息,采用 双电源供电,当外部电源掉电时能够利用后备电池准确计时。 温度检测采用 DALLAS 公司的数字化温度传感器 DS18B20,该芯片采用的是独特的“一 线总线”的方式与单片机进
2、行通信,一线总线独特而且经济的特点,是用户可以轻松的组建 传感器网络, 为测量系统的构建引入全新的概念。 实时温度采用一线总线的方式传输大大的 提高了信号的抗干扰性, 分辨率可通过软件设置, 其小巧的体积为各种环境下测量温度提供 了方便。 综上所述此万年历具有读取方便、显示直观、功能多样、电路简洁、成本低廉等诸多优 点,符合电子仪器仪表的发展趋势,更符合我们实际生活的需要,对我们大学生来说也更加 有用,具有广阔的市场前景。 关键词关键词:时钟电钟;DS1302;动态扫描;单片机 数码管电子显示屏 AbstractAbstract:This design USES the AT89S52 SCM
3、 is adopted, the SCM MCU51 kernel, therefore has the very good compatibility with 8KB ROM, internal, able to store huge amounts of program, the most outstanding characteristic is to have the ISP in system burning function, causes burning program is more convenient. Timer chip adopt the DALLAS compan
4、y Juan fine charging clock chip DS1302, this chip through simple serial communication to communicate with MCU, clock/calendar circuit can real-time provide year, month, day, time, seconds, week information, adopt double power supply, when external power off when power will be able to use back-up battery accurate timing. Temperature detection using DALLAS companys digital temperature sensor DS18B20, this chip USES is unique “1-wire bus“ way to communicate with MCU, 1-wire bus unique and econo