基于單片機溫度控制系統(tǒng)畢業(yè)設計論文.doc
約65頁DOC格式手機打開展開
基于單片機溫度控制系統(tǒng)畢業(yè)設計論文,?ùóúμ¥???ú???è?????μí3éè???a òa?ü?êà′??×??????ú?úé??ááìóòμ?é?í?, μ¥???úμ?ó|ó??y?ú2???μ?×??òé?è?£?í?ê±′??ˉ′?í3?????ì2aè?D???ò??üD??£?úêμê±?ì2aoí×??ˉ????μ?μ¥???úó...
內(nèi)容介紹
此文檔由會員 陳海峰 發(fā)布
?ùóúμ¥???ú???è?????μí3éè??
?a òa
?ü?êà′??×??????ú?úé??ááìóòμ?é?í?, μ¥???úμ?ó|ó??y?ú2???μ?×??òé?è?£?í?ê±′??ˉ′?í3?????ì2aè?D???ò??üD??£?úêμê±?ì2aoí×??ˉ????μ?μ¥???úó|ó??μí3?D£?μ¥???úíùíùê?×÷?aò???o?D?2??tà′ê1ó?£???μ¥???ú·????aê?ê?2?1?μ?£??1ó|?ù?Y??ì?ó2?t?á11£?ò??°??ì?ó|ó????óì?μ?μ?èí?t?áo?£?ò?×÷íêé??£
±???′óó2?toíèí?tá?·???à′?2ê?????×??ˉ????1y3ì,?ú????1y3ì?D?÷òaó|ó?AT89C51?¢ADC0809?¢LED??ê??÷?¢LM324±è???÷£????÷òaê?í¨1y DS18B20êy×????è′??D?÷2é?ˉ?·?3???è£?ò?μ¥???ú?ao?D?????2??t£?2¢í¨1y????êy??1ü??ê?êμê±???èμ?ò???êy×????è???£èí?t·???2éó???±àó???à′??DD3ìDòéè??£?ê1??á?μ??′DD?ù?è?ì£??úê?′?′¢?????£?aá?±?óúà??1oí?ü??£?èí?tμ?éè??2éó??£?é?ˉ?á11£?ê13ìDòéè??μ????-1??μ?ü?ó?ò?à?÷á?£?ê1ó2?t?úèí?tμ???????D-μ÷??×÷?£
???μí3μ?1y3ì?òê?£oê×?è,í¨1yéè??°′?ü,éè?¨o?????DDê±μ????è?μ£?2¢?òó?êy??1ü??ê??a?????è?μ.è?oó,?ú??DD1y3ì?D??2é?ùμ????è?£?aá??íè?A/D×a???÷?D??DD?£?a-êy×?×a??£??ù??×a??oóμ?êy×?á?ó?êy??1ü??DD??ê?£?×?oóó?μ¥???úà′?????óèè?÷,??DD?óèè?òí£?1?óèè£??±μ??ü?ú1??¨μ????è??o????óèè?£
1??ü′ê£oμ¥???ú?μí3£?′??D?÷£?êy?Y2é?ˉ£??£êy×a???÷£????è
Abstract
In recent years, with the computer penetration in the social field, the application of SCM is to keep at the same time, traditional control testing update on Crescent benefits. In real-time detection and automatic control system of single-chip applications, often as a single-chip core component to use only single-chip is not enough knowledge, but also the specific hardware structure and the specific features of application software objects combine to make perfect.
In this paper, both hardware and software for automatic control of water temperature on the process, in the control of the main application of the process of AT89C51, ADC0809, LED display, LM324 comparator, but mainly through the digital temperature sensor DS18B20 collecting ambient temperature to single-chip microcomputer as the core control components, and through four real-time digital display of a digital thermometer temperature. Software using assembly language for programming, so that the implementation of Directive speed, to save storage space. In order to facilitate the expansion and changes to the design of modular software structure, so that the logic of the relationship between program design more concise,Hardware software co-operation under the control of it.
And systematic process is: First of all, by setting the button, set the thermostat temperature at the time of operation, and digital display of the temperature. Then, in the running temperature of the process of sampling analog into the A / D converter in the simulation - digital converter, and then converted digital control with digital display, the last single-chip microcomputer to control the heater used for heating or stop heating until the temperature in the provisions under the constant temperature heating.
Key words£oSingle-chip microcomputer system £?Sensor£?Data Acquisition£?ADC£?Temperature
?? ??
μú1?? D÷ ?? 1
1.1??ìaμ?±3?°?°??òaò? 1
1.2??ìa?D??μ??úèY?°òa?ó 2
1.3??ìaμ??D??·?°? 3
μú2?? éè??àí???ù′? 6
2.1μ¥???úμ?·¢?1???? 6
2.2 AT89C51?μáDμ¥???ú?ééü 7
2.2.1 AT89C51?μáD?ù±?×é3é?°ì?D? 7
2.2.2 AT89C51?μáDòy??1|?ü 8
2.2.3 AT89C51?μáDμ¥???úμ?1|?üμ¥?a 11
2.3 ADC0809?£êy×a???÷ 14
2.4????·?′ó?÷LM324 16
2.5ò?????′??÷74LS164 18
2.6êy????ê?1üLED 19
2.7êy×????è??DS18S20 20
μú3?? ó2?tμ??·éè?? 21
3.1μ¥???ú????μ¥?a 21
3.2???è2é?ù2?·? 21
3.3?£êy×a??2?·? 23
3.3.1?£êy×a????ê? 23
3.3.2?y·?Dí?£êy×a???÷ 24
3.4??ê?2?·? 24
3.5μ÷?ú?′DDμ¥?a 25
μú4?? èí?téè?? 28
4.1?÷3ìDòá÷3ìí? 28
4.2?D??×ó3ìDòá÷3ìí? 29
4.3°′?üá÷3ìí? 30
4.4??ê?á÷3ìí? 31
μú5?? ?μí3μ÷ê??°?á??·??? 32
5.1ó2?tμ÷ê? 32
5.1.1ó2?tμ??·1ê???°?a??·?·¨ 32
5.1.2ó2?tμ÷ê?·?·¨ 33
5.2èí?tμ÷ê? 33
5.2.1èí?tμ??·1ê???°?a??·?·¨ 33
5.2.2èí?tμ÷ê?·?·¨ 34
5.3?á??·??? 35
μú6?? ×ü?áó??1í? 36
6.1×ü?á 36
6.2?1í? 37
2??????× 38
?? D? 39
?? ?? 40
1£??μí3×@@ìDò??μ¥ 40
2£??μí3μ??-àíí? 49
3£?ía??×êá??-?? 50
4£?ía??×êá?ò??? 54
?a òa
?ü?êà′??×??????ú?úé??ááìóòμ?é?í?, μ¥???úμ?ó|ó??y?ú2???μ?×??òé?è?£?í?ê±′??ˉ′?í3?????ì2aè?D???ò??üD??£?úêμê±?ì2aoí×??ˉ????μ?μ¥???úó|ó??μí3?D£?μ¥???úíùíùê?×÷?aò???o?D?2??tà′ê1ó?£???μ¥???ú·????aê?ê?2?1?μ?£??1ó|?ù?Y??ì?ó2?t?á11£?ò??°??ì?ó|ó????óì?μ?μ?èí?t?áo?£?ò?×÷íêé??£
±???′óó2?toíèí?tá?·???à′?2ê?????×??ˉ????1y3ì,?ú????1y3ì?D?÷òaó|ó?AT89C51?¢ADC0809?¢LED??ê??÷?¢LM324±è???÷£????÷òaê?í¨1y DS18B20êy×????è′??D?÷2é?ˉ?·?3???è£?ò?μ¥???ú?ao?D?????2??t£?2¢í¨1y????êy??1ü??ê?êμê±???èμ?ò???êy×????è???£èí?t·???2éó???±àó???à′??DD3ìDòéè??£?ê1??á?μ??′DD?ù?è?ì£??úê?′?′¢?????£?aá?±?óúà??1oí?ü??£?èí?tμ?éè??2éó??£?é?ˉ?á11£?ê13ìDòéè??μ????-1??μ?ü?ó?ò?à?÷á?£?ê1ó2?t?úèí?tμ???????D-μ÷??×÷?£
???μí3μ?1y3ì?òê?£oê×?è,í¨1yéè??°′?ü,éè?¨o?????DDê±μ????è?μ£?2¢?òó?êy??1ü??ê??a?????è?μ.è?oó,?ú??DD1y3ì?D??2é?ùμ????è?£?aá??íè?A/D×a???÷?D??DD?£?a-êy×?×a??£??ù??×a??oóμ?êy×?á?ó?êy??1ü??DD??ê?£?×?oóó?μ¥???úà′?????óèè?÷,??DD?óèè?òí£?1?óèè£??±μ??ü?ú1??¨μ????è??o????óèè?£
1??ü′ê£oμ¥???ú?μí3£?′??D?÷£?êy?Y2é?ˉ£??£êy×a???÷£????è
Abstract
In recent years, with the computer penetration in the social field, the application of SCM is to keep at the same time, traditional control testing update on Crescent benefits. In real-time detection and automatic control system of single-chip applications, often as a single-chip core component to use only single-chip is not enough knowledge, but also the specific hardware structure and the specific features of application software objects combine to make perfect.
In this paper, both hardware and software for automatic control of water temperature on the process, in the control of the main application of the process of AT89C51, ADC0809, LED display, LM324 comparator, but mainly through the digital temperature sensor DS18B20 collecting ambient temperature to single-chip microcomputer as the core control components, and through four real-time digital display of a digital thermometer temperature. Software using assembly language for programming, so that the implementation of Directive speed, to save storage space. In order to facilitate the expansion and changes to the design of modular software structure, so that the logic of the relationship between program design more concise,Hardware software co-operation under the control of it.
And systematic process is: First of all, by setting the button, set the thermostat temperature at the time of operation, and digital display of the temperature. Then, in the running temperature of the process of sampling analog into the A / D converter in the simulation - digital converter, and then converted digital control with digital display, the last single-chip microcomputer to control the heater used for heating or stop heating until the temperature in the provisions under the constant temperature heating.
Key words£oSingle-chip microcomputer system £?Sensor£?Data Acquisition£?ADC£?Temperature
?? ??
μú1?? D÷ ?? 1
1.1??ìaμ?±3?°?°??òaò? 1
1.2??ìa?D??μ??úèY?°òa?ó 2
1.3??ìaμ??D??·?°? 3
μú2?? éè??àí???ù′? 6
2.1μ¥???úμ?·¢?1???? 6
2.2 AT89C51?μáDμ¥???ú?ééü 7
2.2.1 AT89C51?μáD?ù±?×é3é?°ì?D? 7
2.2.2 AT89C51?μáDòy??1|?ü 8
2.2.3 AT89C51?μáDμ¥???úμ?1|?üμ¥?a 11
2.3 ADC0809?£êy×a???÷ 14
2.4????·?′ó?÷LM324 16
2.5ò?????′??÷74LS164 18
2.6êy????ê?1üLED 19
2.7êy×????è??DS18S20 20
μú3?? ó2?tμ??·éè?? 21
3.1μ¥???ú????μ¥?a 21
3.2???è2é?ù2?·? 21
3.3?£êy×a??2?·? 23
3.3.1?£êy×a????ê? 23
3.3.2?y·?Dí?£êy×a???÷ 24
3.4??ê?2?·? 24
3.5μ÷?ú?′DDμ¥?a 25
μú4?? èí?téè?? 28
4.1?÷3ìDòá÷3ìí? 28
4.2?D??×ó3ìDòá÷3ìí? 29
4.3°′?üá÷3ìí? 30
4.4??ê?á÷3ìí? 31
μú5?? ?μí3μ÷ê??°?á??·??? 32
5.1ó2?tμ÷ê? 32
5.1.1ó2?tμ??·1ê???°?a??·?·¨ 32
5.1.2ó2?tμ÷ê?·?·¨ 33
5.2èí?tμ÷ê? 33
5.2.1èí?tμ??·1ê???°?a??·?·¨ 33
5.2.2èí?tμ÷ê?·?·¨ 34
5.3?á??·??? 35
μú6?? ×ü?áó??1í? 36
6.1×ü?á 36
6.2?1í? 37
2??????× 38
?? D? 39
?? ?? 40
1£??μí3×@@ìDò??μ¥ 40
2£??μí3μ??-àíí? 49
3£?ía??×êá??-?? 50
4£?ía??×êá?ò??? 54