[公司通用文档头]
[公司通用文档头]
硬 件 设 计 详 细 说 明
项目名 TMPT
日期 2002/9/12
版本号 V0.1
设计者 AJIE
http://www.21ic.com
http://www.21icbbs.com
Author: ajie
[文档更新表更新日期更新原因]
更新日期 更新原因
2002/9/10 33V稳压器件不能满足测量精度
2002/9/11 满足软件编程要求
一 概要介绍
[主要是介绍此硬件电路包含的单个电路模块及完成的功能]
此硬件设计重要完成以下功能
1 9VDC转化成5VDC
2 LCD驱动电路
3 一个按键处理电路
4 AD转换电路用来测量温度
二 电气说明
[主要说明此项目采用何种芯片用到了该芯片的哪些功能及一些特殊的要求]
CPU NEC Upd78062 有LCD控制驱动功能8位模/数转换定时器串行口
中断口
输入电压 9VDC
晶振 4.1943MHz
三 硬件设计框图
[各电路模块化的框图]
DC 9V IN
5V调整 F/S 键电路
UART 口
A/D转换电路
LCD电路
MCU
NEC uPD78062
滤 波
晶振电路
复位电路
[单个电路模块及布板指导说明]
MCU
NEC uPD78062 是一8位微控制芯片它包括LCD驱动控制功能8位A/D转换功能定
时器串行口外部中断功能和其他外部设备驱动
该MCU的具体特征是
1 大容量的ROM 和 RAM Upd78062 有16K bytes 程序ROM,512K bytes DATA
memory,and 40x4 bits LCD display RAM.
2 57 I/O ports including segment signal output
3 LCD controller/driver
4 8 channels 8-bit A/D converter.
5 2 channels serial interface
6 5 channels timer
7 Supply voltage Vdd = 2.0 to 6.0V
NOTE 此芯片所有未用I/0端口软件都设置成输入口并设置成内部上拉
如内部无法设置的如P00P07则在外部接VDD拉高
5V调整
使用5V调整把输入的9VDC转变成5VDC 准确率 +-2% (如此要求是为了满足A/D转
换时Avref的要求)
晶振
使用4.1943MHz 20ppm的晶振主频率经软件转化后将是32.768kHz两个整顿电容
加在晶振电路中满足频率的准确性
注意
1. PCB中连接X1 X2和IC引脚的距离应该尽可能短
2. 此连线不要靠大电流线路太近
4. 调整电容接地端应接VSS
复位电路
Upd78062的复位脚低有效最小有效持续时间是20us在此处设置成当电源上电时
RC元件产生10ms的持续时间在MCU的复位脚
LCD电路
LCD是 31.4x28.4x2.7mm with 3 数字,1 点 and 1 特殊标志在这个LCD显示器件中
共使用 10 segment and 3 common
LCD的特征
1 供电电压 5V
2 Bias Method 1/3
Non-select level:-VLCD ,+VLCD ,
Non-select level:-1/3VLCD,+1/3VLCD)
3 Time Division : 3
4 Common Signal used: COM0-COM2
5 Segment Signal used : S0-S10
6 LCD drive voltage at 1/3 bias :
VLC0 = VLCD,VLC1 = 2/3VLCD,VLC2 = 1/3VLCD
(Short the BIAS pin and VLC0 pin the VLCD = VDD)
A/D转换
The A/D converter converts an analog signal to a digital value .It consists of 8 channels
(AN10 to AN17) with 8-bit conversion ,the conversion method is based on successive
approximation and the conversion result is held in the 8-bit A/D conversion result register
(ADCR) .
Feature of Thermistor and A/D part:
1.Using SEMITEC 103ET thermistor ,resistance is 10k Ohms at 25 degree tolerance +-3%.
2.The thermistor at 0 `C resistance is 26.16k Ohm and 40 `C is 5.988k Ohm.
3.Simple resistor network will be used at the A/D input pin (AN10).
4.Using 3.3V zener diode +-1% supply the A/D reference voltage (Avref).
5.The Avss short to the Vss.
6.The reference voltage of the A/D converter pin (Avref) converts signal input to A/D input pin
(AN10) into digital data according to the voltage applied between Avref and Avss.
7.Using the A/D input pin (AN10) to do conversion ,the input voltage must within the specified
range ,if the voltage high than Avref or lower than Avss is applied the conversion value of the
input signal becomes indeterminate .
UART
Using serial interface channel 2 pin 75 and 76 to do the UART function ,the baud rate should be set
to 9600 bps.
F/S键
This switch selects the temperature reading at `C or `F.
立刻下载此文档