采用模块化分析,以STC89C52为控制核心,设计了系统输入输出总线对时钟芯片DS12C887的读写控制模块;讨论了P3.1对温度传感器DS18B20实测数据读取的温度传感器模块,建立了在12864液晶上显示时间、日期和实时温度值的显示模块.系统采用独立式键盘模块设定初始时间、日期和闹钟时间.%This paper designs a control module by using STC89C52 as a core of control unit and the module of accessing DS12C887 via system's IO bus, discusses the module of temperature sensor whose real-time value is acquired by MCU via P3. l pin and establishes the module of LCD 12864 displayer which shows time, date, and real time temperature value. The system employs independent keyboard module in setting up initial time, date and bell time.
展开▼