目录 3
1 前言 5
1.1课题研究背景及意义 5
1.2测温技术的发展与应用 5
2 系统总体方案的设计 7
2.1系统的功能要求及硬件选型 7
2.1.1系统的功能 7
2.1.2设计思路: 7
2.2.1温度传感器的选型 8
2.2.2单片机型号的选型 8
2.3系统的总体设计 8
3:80C51单片机内部结构和工作原理 10
3.1 80C51系列单片机结构 10
3.2 存储空间配置和功能 10
3.3 片内RAM结构和功能 11
3.4 特殊功能寄存器 12
3.5 程序计数器PC的作用和基本工作方式 13
3.6 时钟和时序 14
3.7 复位电路、复位条件和复位后状态 14
4 系统硬件的设计 16
4.1硬件系统的总体设计 16
4.2 温度采集电路 16
4.2.1 温度采集芯片的选择 16
4.2.2 DS18B20概述 17
4.2.3 由DS18B20构成的测温电路 19
4.3 时钟电路与数码管显示电路 20
4.3.1 时钟电路的选型 20
4.3.2 LED显示原理 20
4.3.3 显示分类与显示模块选型 21
4.3.4 数码管译码器 21
4.3.5 显示接口电路的设计 22
4.4看门狗电路和报警电路 23
4.4.1 看门狗技术 23
4.4.2 外扩充看门狗专用芯片DS1232 23
4.4.3 DS1232的工作原理 24
4.4.4 硬件电路连接: 24
4.4.5 系统超限报警电路 25
4.4.6 报警接口电路的设计 25
4.5计算机通信电路的设计 26
4.5.1 RS232C简介 26
4.5.2 实现上位机(PC机)与下位机(单片机)的通信 27
4.6硬件连接电路 27
5.系统软件的设计 29
5.1 编程环境 29
5.2 内RAM资源的分配 29
5.3 DS18B20的通信协议 29
5.4系统软件设计 31
5.4.1 系统主程序设计 31
5.4.2 各功能子程序 32
5.4.2.1 DS18B20复位程序 32
5.4.2.2 写一个字节 33
5.4.2.3 读一个字节 34
5.4.2.4 LED数码管显示程序 35
5.4.2.5 温度读取和转换 36
5.4.2.6 单片机上传数据 37
6 总结 39
哥们,我今年也做这个设计,已经完成了,这是我做得。可惜都是汇编
北京港深先锋电子科贸有限公司我公司作为TI INTEL AVAGO MAX AD ATMEL MicRochip 等著名厂家授权现货分销商旨在为您提供质量保证的IC电子元器件现货!我司常备大量现货于北京和深圳,品牌20余个,型号6000余种!在北京多个电子市场均有实体柜台!随时欢迎您来电查询!也可上我们的网站在线查询www.icxf.com。
主要产品:FLASH MEMORIES DDR DRAM SRAM MOS FET CPU CMOS CCD IC PCMCIACARD .......and much more
主要品牌 AVAGO INTEL MAX TI ST BB MICROCHIP ON OKI ATMEL DALLAS INTEL PHILIPS AMD MURATA SAMSUNG SHARP TOSHIBA NEC FUJITSU SANKEN SONY SIEMENS.......and much more!
064-200K电位器
064-25K电位器
064-2K电位器
1.5KE12CA
104电容
10ETS08
1360T
14163
1489P
16L8BN
16R6DNC
16R8
16V8A-15
16V8H-10
16V8H-5JC/5
16V8H-7
16V8Q-25
16V8Z-25
2.2V稳压二极管
2705P-5
27C010P-20P
27C128-250
27C128Q150
27C256
27HC010-45CW
28C64
2N3904
2N3906
2SB772/JM
2SB772-AZ/JM
2SB882M
2SD882
2SD882/JM
2SD882/JM
2SJ326
2SK1317-E
3.3V稳压管
31DQ10
3296-50K
34017-1P
3656BG
3V3704T
4006
40100
40108
4017
4022
4046
4049
4053
4068
4072
4081
4082
4520
4541
4558D
4585
4813030AA
4N25
4N25
4N25
4N26
4N26
4N26
4N27
4N27
4N33
4N38
54HC163J
54HC257J
62256P
62256P
628128-7
628128BLP-7
628128BLP-8
62C256
62C256-45
62T32
62T32B
6N135
6N136
6N136
6N137
6N137
6N137
6N137-000E
6N138
6N139
7201AJ
7406
74122
7416
7474HC245DR
7496
7496
74ACT05
74AHC74
74ALS241CDW
74ALS574B
74ALV16245DL
74F163APC
74F244
74H01
74HA04
74HC02D
74HC04AD
74HC04D
74HC08
74HC08
74HC08D
74HC08N
74HC10BIR
74HC11N
74HC125D
74HC125N
74HC132E
74HC138CN
74HC138D
74HC138E
74HC138N
74HC151E
74HC154D
74HC157D
74HC164B1R
74HC164N
74HC174
74HC174N
74HC193N
74HC221N
74HC240N
74HC241N
74HC244DWR
74HC244N
74HC245
74HC273N
74HC32
74HC32D
74HC374
74HC374D
74HC374N
74HC393N
74HC4046AN
74HC4052N
74HC4053N
74HC4066N
74HC4066N
74HC573N
74HC574N
74HC595N
74HC74D
74HC85N
74HC86
74HC86N
74HCT02N
74HCT240
74HCT273
74HCT373
74HCT373DR
74HCT373N
74HCT393N
74HCT573N
74HCT688N
74HCT74N
74LCX08M
74LCX245MTC
74LS00
74LS02
74LS05
74LS09
74LS09
74LS09
74LS113
74LS114
74LS123N
74LS125
74LS126A
74LS139
74LS14
74LS14
74LS151
74LS153
74LS153
74LS157
74LS162
74LS165
74LS173
74LS174
74LS174
74LS191
74LS194
74LS20
74LS20
74LS20
74LS240
74LS240
74LS242
74LS257
74LS257BN
74LS258
74LS26
74LS27
74LS27
74LS28
74LS280
74LS299
74LS365
74LS367
74LS374
74LS38
74LS38N
74LS390
74LS393
74LS395
74LS74
74LS75
74LS76
74LS78
74LVC2244APWE
74LVC244AD
74LVT00
74LVT16245DGG
74LVT32D
74LVT574
74S00
74S02
74S08
74S20
74S260N
75154
75189
75LV4737A
7806CT
7812CV
78L09
78L12
79C988BJC
79L12
79L15
80386SX33
80C31
80C32
80C51BH
82C55
82S19N
83C51KB
8752BH
898-3-10K
898-3-P15K
898-3R68
899-3-R33
9013
9014
9015
90A944
93C46SC2.7
93C56
93C66
97C1051
A2918SW
A80386DX25
AD1232AKM
AD1674AD
AD7656BSTZ
ADS7808U
AD1674JN
AD1819AJST
AD18455JP
AD1845JP
AD1845JST
AD1855JRS
AD3810A4.2
AD421BK
AD421BN
AD5305BRM
AD534KD
AD537JD
AD570JD
AD574AKD
AD582KD
AD583JQ
AD587JRZ
AD590JH
AD590JH
AD590KH
AD598AD
AD620AR
AD623AN
AD623AR
AD623BR
AD650SD/883B
AD654JN
AD654JR
AD669AN
AD669ANZ
AD676AD
AD677AD
AD677BD
AD677JD
AD693AQ
AD694JN
AD708AQ
AD73360
AD7390AR
AD7501JN
AD7502JN
AD7506JN
AD7506KN
AD7507JN
AD7524
AD7524BD
AD7524BQ
AD7528
AD7530JD
AD7530JN
AD7533KN
AD7541AKN
AD7545AJN
AD7545AKN
AD7714ARZ-5
AD7750AN
AD7750AR
AD7751ARS
AD7755AAN
AD7755AN
AD7837ANZ
AD7837BNZ
AD7841BS
AD7863AR-10
AD7864ASZ-1
AD8013ARZ-14
AD8109AST
AD811ANZ
AD815ARB
AD823AN
AD828AR
AD8313ARM
AD8321AR
AD8402ARI
AD8544A
AD9059BRS
AD928CARS
AD9617JR-5
AD9618JR
AD9690AR
AD9708ARZ
AD9721BR
AD9764AR
AD9775BSV
AD9847AKST
AD9850BRSZ
ADC0804LCN
ADC0804LCN
ADC0809CCN
ADC0832CCN
ADC0848
ADC12138CIWM
ADC12139CIMSA
ADE7755ARS
ADE7761ARS
ADG211AKNZ
ADG212AKNZ
ADG509AKN
ADM202EAN
ADM202EARN
ADM483EAR
ADM691AN
ADS1212U
ADS1216Y/250
ADS774JP
ADS774JU
ADS7805P
ADS7825P
ADS7841E
ADS7844E
ADS7864Y/250
ADS7864YB/250
ADSP-2181KS-133
ADSP-2184LBST-160X
ADSP-2186LKST-133
ADUC812BS
ADUM1201ARZ
ADV7171KSU
ADV7171KSV
AFBR-5905Z
AM186ES-20KI
AM26LS31CN
AM27C010-120JC
AM27C010-120JC
AM27C010-90JC
AM27C4096-150DC
AM27C512-150PC
AM27C512-90JC
AM28F256-120PC
AM2903ADC
AM29116DC
AM29F002BB-90PC
AM29F010-90JC PLCC
AM29F040B-90JC PLCC
AM29LV200B
AM79C03PC
AM79C988BJC
AM79IIDC
AM79R79-2JC
AMD-6K-2/400ACR
AMD-K6-2/400ACR
AMS1117-3.3V
AMS1117M3-3.3
AN6652
AN7312
AP1117T33
APM4953KC-TR
AT24C01A-10PI2.7
AT24C02B-10PU2.7
AT24C02N
AT24C04-10PU2.7
AT24C08-10PI2.7
AT24C16A-10PI2.7
AT24C16AN-10SI2.7
AT24C64-10PI-2.7
AT27C512R-70PI
AT28C17-15PC
AT28C256-15PU
AT28C64B-15PC
AT87F51-24PC
AT89C2051-24SU
AT89C4051-24PU
AT89C51-24PI
AT89C52-24JI
AT89C52-24PC
AT89C52-24PI
AT89C55WD-24PI
AT89S51-24PC
AT89S51-24PI
AT93C46-10PU2.7
AT93C56
AT93C56-10PI2.7
AT93C56PC2.7
AT93C66-10PI2.7
ATC1117-5V
ATF16V8B-15PC
ATMEGA128-16AU
ATMEGA128L-8AU
ATMEGA16-16AU
ATMEGA8-16AU
ATMEGA8-16PI
BA5096
BCP53-16
BFG135
BFQ241
BIJ7211AM
BLW86
BLW97
BM29F040-90AC
BQ2004PN
BSS84
BT134-800E
BT134-800F
BTA08-600CRG
BU1706AX
BUF04G
BUK454-200A
BUK454-200A
BZV55-C10
CA3079H
CA3130E
CA3130EZ
CA3130T
CA3140EZ
CA3240E
CA3306E
CA3318CE
CD14538BE
CD22100E
CD22M3494E
CD4001BCN
CD4001BE
CD40103BE
CD40106BCN
CD40107BE
CD4010BCN
CD4010BE
CD40110BE
CD4011BCN
CD4011BE
CD4013BCMX
CD4013BE
CD4015BCN
CD4015BCN
CD4015BE
CD4016BE
CD40174BCN
CD40175BCN
CD40175BE
CD4017BE
CD4018BE
CD40192BE
CD40193BE
CD4019BCN
CD4020BE
CD4020BE
CD4021BE
CD4022BCN
CD4023BCN
CD4023BE
CD4024BCN
CD4024BE
CD4025BE
CD4027BE
CD4028BE
CD4029BE
CD4030BCN
CD4030BE
CD4030BE
CD4033BCN
CD4033BE
CD4040BE
CD4043BE
CD4044BE
CD4046BCN
CD4046BE
CD4046BE
CD4047BE
CD4047BE
CD4048BE
CD4049BE
CD4049UBE
CD4050BCN
CD4050BE
CD4051BCN
CD4051BE
CD4052BCM
CD4052BE
CD4052BE
CD4053BE
CD4054BE
CD4059AE
CD4059E
CD4060BE
CD4060BM96
CD4066BCN
CD4066BE
CD4067BE
CD4067BE
CD4068BE
CD4069UBE
CD4070BE
CD4071BCN
CD4071BE
CD4071BE
CD4072BE
CD4076BE
CD4082BE
CD4094BCN
CD4094BE
CD4094BE
CD4502BE
CD4503BCN
CD4503BE
CD4504BE
CD4508BE
CD4510BE
CD4510BE
CD4512BE
CD4514BCN
CD4514BE
CD4515BCN
CD4515BE
CD4516BE
CD4517BE
CD4518BE
CD4518F3A
CD4520BE
CD4521BE
CD4522BE
CD4532BE
CD4536BE
CD4538BCN
CD4541BE
CD4543BE
CD4556BE
CD54HC161F
CD54HC163F
CD54HC257F
CD74HC161E
CD74HC165E
CD74HC166E
CD74HC174E
CD74HC221E
CD74HC240E
CD74HC244E
CD74HC367E
CD74HC368E
CD74HC390E
CD74HC4020E
CD74HC4094E
CD74HC4543E
CD74HC540E
CD74HC573E
CD74HC574E
CD74HCT02E
CD74HCT10E
CD74HCT11E
CD74HCT123E
CD74HCT125E
CD74HCT138E
CD74HCT14E
CD74HCT164E
CD74HCT175E
CD74HCT20E
CD74HCT259E
CD74HCT365E
CD74HCT374E
CD74HCT75E
CD74HCT85E
CD74HCT86E
CL8830PA1
CL8830PDO
CLC011BCQ
CLC011BCQ/NOPB
CLC014AJE
CLC014AJE/NOPB
CLC016ACQ
CLC016ACQ/NOPB
CLC016AJQ
CLC018AJVJQ
CLC021AVGZ-5.0/NOPB
CLC446AJE
CM8880PI
COP8ACC720M8-XE
COP8SGR728N8
CP2102-GMR
CY62256LL-70PC
CY7C1061AV33-10ZXC
CY7C132-55PC
CY7C136-25JCT
CY7C142-55PC
CY7C199C-15PC
CY7C199CN-15PXC
CY7C53150-20AI
D2147H
D7220AD
D75112GF
D7751C
D77C20A
D8212
D8251AF
D8253C-2
D8254
D8259C
D8259C-5
D82C43C
D8748D
D8748H
D8749HD
D8751H
DAC0800LCN
DAC0801
DAC0808LCN
DAC08EP
DAC7512N250
DAC7513N/250
DAC7571IDBVT
DAC7724U
DAC80P-CBI-V
DCP010505BP
DCP010515DBP-U
DF357
DG201ACJ
DG211CJ+
DG308ABK
DG412DJ
DG508ACJZ
DH7107GP
DIP-10拨动开关 红
DIP-10拨动开关 银
DIP-3拨动开关 绿
DIP-5拨动开关 绿
DIP-6拨动开关 绿
DIP-8拨动开关 银
DIP-8拨动开关 绿W
DIP-9拨动开关 绿
DIR9001PW
DM7404N
DM7406CN
DM74121N
DM74145N
DM7416N
DM7441N
DM74LS02N
DM74LS08N
DM74LS09N
DM74LS112N
DM74LS123N
DM74LS125N
DM74LS132N
DM74LS132N
DM74LS136N
DM74LS139N
DM74LS151N
DM74LS153N
DM74LS154N
DM74LS155N
DM74LS156N
DM74LS157N
DM74LS164N
DM74LS165N
DM74LS166N
DM74LS169N
DM74LS193N
DM74LS245N
DM74LS273N
DM74LS32N
DM74LS367AN
DM74LS368N
DM74LS374N
DM74LS37N
DM74LS38N
DM74LS390N
DM74LS47N
DM74LS573N
DM74LS574N
DM74LS574N
DM74LS670N
DM74LS85N
DM74LS90N
DM74S05N
DM74S299N
DM9331AE
DMC60C31E
DP83223V
DP83902AV
DP8391AN
DP8428D-70
DS1216E
DS1230Y-100
DS1286+
DS12887+
DS12C887+
DS1302
DS1302ZN+
DS1307
DS1307ZN+
DS1312S-2
DS1488N
DS1489N
DS14C238WM
DS1501WEN
DS1620
DS2009
DS26LS31
DS26LS32
DS34C87TM
DS75451N
DS75452N
DS96F175CJ
DT28F640J5A-150
E28F016S3120
E28F016S3120 3.3V
E28F128J3A150
EE80C196KB16
EE80C196KC20
EE87C196MC
EE87C196MH
EN80C196KB16
EN80C196KC20
EN87C196KC20
EP1C3T144C8N
EPM9320LI84-20
ETC5067N/C
FDS9435A
FM2404
FM24C04
G2R-1-24DC
GAL16V8C-7LJ
GAL16V8D-15LJ
GAL16V8D-15LP
GAL16V8D-15LPI
GAL16V8D-25LJ
GAL16V8D-25LP
GAL16V8D-25LPI
GAL16V8D-7LP
GAL20V8B-15LD/883
GAL20V8B-15LP
GAL20V8B-15LPI
GAL20V8B-25LP
GAL20V8B-25LPI
GAL22V10D-15
GAL22V10D-15LPI
GAL22V10D-25
GAL22V10D-25LPI
GD4053
GD74LS08
GD74LS125
GD74LS365A
GD75232D
GD7812
GD7905
GM16C550-40P
GMS97C2051-24
GS1488P
GS4511
GS76C8128
H11A817B
H11A817C
H11AA1
H11L1-M
HA17339P
HA17393P
HCF4001BEY
HCF4026BEY
HCF4040BE
HCF4052
HCF4053BEY
HCF4054BEY
HCF4098BE
HCF4510BEY
HCNR200
HCPL-0501
HCPL-0501-500E
HCPL2631
HCPL2631
HCPL2631-000E
HCPL-2631-300E
HD10174
HD14001BP
HD14066BP
HD14071BP
HD14073BP
HD14081P
HD6805SIP
HD6809P
HD7279A-SP
HD7279A-WP
HD74HC02P
HD74HC04P
HD74HC05P
HD74HC08P
HD74HC09P
HD74HC10P
HD74HC123P
HD74HC138P
HD74HC14P
HD74HC153P
HD74HC157P
HD74HC21P
HD74HC245P
HD74HC30P
HD74HC32P
HD74HC374P
HD74HC74P
HD74LS02P
HD74LS04P
HD74LS05P
HD74LS07P
HD74LS08P
HD74LS09P
HD74LS107AP
HD74LS11P
HD74LS123P
HD74LS125P
HD74LS126P
HD74LS138P
HD74LS139P
HD74LS145P
HD74LS148P
HD74LS14P
HD74LS157P
HD74LS15P
HD74LS191P
HD74LS192P
HD74LS21P
HD74LS221P
HD74LS240P
HD74LS244P
HD74LS247P
HD74LS273P
HD74LS27P
HD74LS280P
HD74LS367P
HD74LS373P
HD74LS374P
HD74LS38P
HD74LS55P
HD74LS670P
HD74LS74P
HD74LS86P
HD74LS90P
HDLG-2416
HEF40106BP
HEF4013BT
HEF40174BP
HEF4017BP
HEF4018BP
HEF4021BP
HEF4024BP
HEF4046BP
HEF4049BP
HEF4052BP
HEF4060BP
HEF4066BP
HEF4071BP
HEF4072BP
HEF4073BP
HEF4081BP
HEF4093BP
HEF4521BP
HEF4526BT
HEF4528BP
HEF4538BP
HEF4541BP
HEF4556BP
HEF74HC14D
HEF74HC595D
HFBR-1312TZ
HFBR-1412TZ
HFBR-1414TZ
HFBR-1414Z
HFBR-1521Z
HFBR-1528Z
HFBR-1531Z
HFBR-1532Z
HFBR-2115TZ
HFBR-2412TZ
HFBR-2412Z
HFBR-2416TZ
HFBR-2521Z
HFBR-2528Z
HFBR-2531Z
HFBR-2532Z
HFBR-4501Z
HFBR-4503Z
HFBR-4506Z
HFBR-4511Z
HFBR-4513Z
HFBR-4516Z
HFBR-4597Z
HFBR-5912EZ
HFBR-EUS100Z
HFBR-RUS100Z
HIN232CP
HIP4081AIP
HK82C79
HLMP-2500
HM62256ALP-10
HM62256BLP-10
HM62256LP-10
HM6264ALP-10
HM6264ALP-12
HM6264ALP-15
HM6264BLP-10
HM6264LP-70XA
HM628128BLP-7
HPKT162/16
HS0038B2
HSP50306SC-27
HT7044A-1
HY514400AJ-70
HY57V281620ETP-6
HY62256-70
HY6264ALP-10
HY628100BLLG-55
HY628100BLLG-70
HY62CT081ED-70C
HY62WT08081E-DG70C
HY62WT08081E-DG70I
IC-40P
ICL7107CPLZ
ICL7116CPL
ICL7126CPLZ
ICL7135CPIZ
ICL7136CPLZ
ICL7556IPD
ICL7650SCPD
ICL8038CCPD
ICL8211CPA
ICM7211AMIPL
ICM7216CPLZ
ICM7216DIPI
ICM7218AIJI
ICM7555IPAZ
IDT7132SA55P
IDT7133LA-35J
IDT7142SA35P
IDT7164S45DB
IDT71V30L35TF1
ILD206T
IMP690ACPA
IMP706CPA
IMP708CPA
IMP809TEUR-T
IMP813LEPA
INA126UA
INA2137UA
IR2151
IR2153
IR51H320
IR51H420
IRF1010E
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)