文档介绍:2
2
Ξ
2
2
第 15 卷第 4 期天津理工学院学报 Vol. 15 No. 4
1999 年 12 月 JOURNAL OF TIANJIN INSTITUTE OF TECHNOLOGY Dec. 1999
文章编号:1004 - 2261(1999) 04 - 030 - 03
PIC 单片机系统的设计和应用
赵祥明孙毅
(天津理工学院计算机科学与工程系 300191)
摘要: PIC 单片机是继 MCS - 51 系列单片机之后的新一代产品, 具有功能强, 功耗低和价格低廉的
特点. 笔者使用 PIC16C5X 单片机做控制, 用串行传送的电可擦除可编程存储器存储数据, 采用液晶
显示器件开发的断电断流计时仪具有极其优良的性能. 本文中我们将就产品开发过程中 PIC 单片机
系统软件和硬件结构的一些特殊用法做进一步分析探讨.
关键词: 单片机; 定时器; 子程序; 堆栈
中图分类号Ξ: TP302. 1 文献标识码: A
Design and Application of a PIC puter System
ZHAO Xiang ming SUN Yi
(Dept . puter Science and Engineering , Tianjin Institute of Technology , Tianjin 300191 , China)
Abstract : The PIC microchip puter is a newer product of featuring high performance , low cost
and low energy dissipation after MCS - 51 series. A time record meter for recording voltage and current
breaking isdeveloped , which mainly consist of a PIC16C5X microchip for control unit , a serial EEPROM
for data store and a LCD for display. The meter has many outstanding characteristics. The special
hardware and software construction of the PIC microchip system in this meter has been discussed in this
paper.
Key words : puter , timer , subroutine , stack
PIC 单片机是继 MCS - 51 系列单片机之后的新一代产品, 近年来, 它向旋风一样横扫全球, 将
单片机的应用扩大到电子产品的几乎每一个领域. 虽然目前在国内应用还很有限, 但这只是时间问
题. 用户从使用 PIC 单片机开发断电断流计时仪中深刻体会到, 它的许多极其优良的性能是以前的
单片机所没有的, 也是用户曾经长期追求的目标.
首先, PIC 单片机体积小, 价格低廉, 接口功能强. 以 PIC1