畢業(yè)設(shè)計(jì):基于單片機(jī)的電子秤系統(tǒng)設(shè)計(jì).doc
約49頁DOC格式手機(jī)打開展開
畢業(yè)設(shè)計(jì):基于單片機(jī)的電子秤系統(tǒng)設(shè)計(jì),1249ò3£?×?êy×ü??£o22628?ùóúμ¥???úμ?μ?×ó3óéè???a òa??×??¢μ?×ó??ê?μ?ó|ó?£?êD3?é?ê1ó?μ?′?í33???1¤??ò??-?ú×?2?á?è???μ?òa?ó?£?aá???±?′?í33???1¤???úê1ó?é?′??úμ??êìa£?...
內(nèi)容介紹
此文檔由會(huì)員 優(yōu)秀排骨 發(fā)布
1249ò3£?×?êy×ü??£o22628
?ùóúμ¥???úμ?μ?×ó3óéè??
?a òa
??×??¢μ?×ó??ê?μ?ó|ó?£?êD3?é?ê1ó?μ?′?í33???1¤??ò??-?ú×?2?á?è???μ?òa?ó?£?aá???±?′?í33???1¤???úê1ó?é?′??úμ??êìa£??ú±?éè???D?????ü?ˉ?¢×??ˉ?ˉ?¢è?D??ˉó??úá?μ?×ó3ó??μ??????μí3?D?£±??μí3?÷òaóéμ¥???úà′????£?2aá???ì???á?2?·?óé3???′??D?÷?°A/D×a???÷×é3é£??óé???ê?μ¥?a£?1y??±¨?ˉ£?μíμ??1×??ˉ1??úμè?£′?μ?×ó3ó??±?á?1|?ü?à?¢?ù?ê???¢×?è·?è???¢?è?¨D????¢?é??D????¢D??ü????±è???¢1|o?μí?¢?μí3éè???òμ¥?¢ê1ó?·?±??±1??¢?ù?è?ì?¢2aá?×?è·?¢×??ˉ?ˉ3ì?è??μèì?μ??£
±??μí3ò?AT89S52μ¥???ú?a?÷??D???£?ía?§??ò?3???μ??·?¢??ê?μ??·?¢±¨?ˉμ??·?¢?ü?ìμ??·μè113é???@@????μí3μ??·°?£?′ó??êμ??×??ˉ3????μí3μ??÷??????1|?ü?£?éò??μ,′?éè???ùíê3éμ?μ?×ó3óoü′ó3ì?èé??ú×?á?ó|ó?Dè?ó?£
1??ü′ê μ¥???ú£?3???′??D?÷£?A/D×a???÷£?LCD??ê??÷
THE ELECTRONIC SCALE DESIGN BASED ON MICROCONTROLLER
ABSTRACT
With the application of micro-electronics technology, tradition ponderation instrument used in market has been not satisfaction with hunman requirements already. In order to make up for the traditional apparatus shortcoming, we improve the apparatus's control system with intelligence and automation. This system is mainly controlled by microcontroller, the section of height measurement accomplish by supersonic sensor, the section of weight measurement accomplish by weight sensor and A/D transformer, this apparatus have many characteristic such as having more function, consume less energy, small and move easily, low price, measure precisely, the speed is quick, automatic work without people and so on.
The system is mainly controlled by the microcontroller AT89S52, the periphery is consist of the circuit of clock and calendar, the circuit of measure height and weight, the circuit of display and print, all of these comprise the circuit board of the intelligent apparatus of height and weight. It can achieve all function of the apparatus.
KEYWORDS: microcontroller£?ponderation¨Csensor£?A/D converter£?LCDdisplay
??????
?°???? 1
μú1?? ??ê? 2
1.1 3?????ê?oíoa?÷μ?·¢?1 2
1.2 μ?×ó3óμ?×é3é 3
1.2.1 μ?×ó3óμ??ù±??á11 3
1.2.2 μ?×ó3óμ?1¤×÷?-àí 3
1.2.3 μ?×ó3óμ???á?D??ü 4
1.2.4 μ?×ó3óμ?1|?ü?°??ê???±ê 4
1.3 éè?????· 5
μú2?? ?μí3·?°????¤ó???Dí 6
2.1 ?????÷2?·? 6
2.2 êy?Y2é?ˉ2?·? 7
2.2.1 ′??D?÷μ????? 7
2.2.2 ·?′óμ??·???? 9
2.2.3 A/D×a???÷μ????? 11
2.2.4 ?ü?ì′|àí2?·?·?°????¤ 11
μú3?? ó2?tμ??·éè?? 13
3.1 AT89S52μ?×?D??μí3μ??· 14
3.1.1 μ¥???úD???AT89S52?ééü 14
3.1.2 μ¥???ú1ü???μ?÷ 14
3.1.3 AT89S52μ?×?D??μí3μ??·113é 17
3.2 μ??′μ??·éè?? 17
3.3 êy?Y2é?ˉ2?·?μ??·éè?? 18
3.3.1 ′??D?÷oí??ía?§ò??°·?′óμ??·éè?? 18
3.3.2 A/D×a??D???ó?AT89S52μ¥???ú?ó?úμ??·éè?? 19
3.4 ??ê?μ??·ó?AT89S52μ¥???ú?ó?úμ??·éè?? 22
3.5 ?ü?ìμ??·ó?AT89S52μ¥???ú?ó?úμ??·éè?? 23
3.6 ±¨?ˉμ??·μ?éè?? 24
μú4?? ?μí3èí?téè?? 26
4.1 ?÷3ìDòéè?? 26
4.2 ×ó3ìDòéè?? 26
4.2.1 A/D×a?????ˉ?°êy?Y?áè?3ìDòéè?? 27
4.2.2 êy??×a??×ó3ìDòéè?? 27
4.2.3 ??ê?×ó3ìDòéè?? 27
4.2.4 ?ü?ìé¨?è×ó3ìDòμ?éè?? 27
4.2.5 ±¨?ˉ×ó3ìDòμ?éè?? 28
?á?? 29
D?′? 30
2??????× 31
???? 32
ía??×êá?·-ò? 39
?ùóúμ¥???úμ?μ?×ó3óéè??
?a òa
??×??¢μ?×ó??ê?μ?ó|ó?£?êD3?é?ê1ó?μ?′?í33???1¤??ò??-?ú×?2?á?è???μ?òa?ó?£?aá???±?′?í33???1¤???úê1ó?é?′??úμ??êìa£??ú±?éè???D?????ü?ˉ?¢×??ˉ?ˉ?¢è?D??ˉó??úá?μ?×ó3ó??μ??????μí3?D?£±??μí3?÷òaóéμ¥???úà′????£?2aá???ì???á?2?·?óé3???′??D?÷?°A/D×a???÷×é3é£??óé???ê?μ¥?a£?1y??±¨?ˉ£?μíμ??1×??ˉ1??úμè?£′?μ?×ó3ó??±?á?1|?ü?à?¢?ù?ê???¢×?è·?è???¢?è?¨D????¢?é??D????¢D??ü????±è???¢1|o?μí?¢?μí3éè???òμ¥?¢ê1ó?·?±??±1??¢?ù?è?ì?¢2aá?×?è·?¢×??ˉ?ˉ3ì?è??μèì?μ??£
±??μí3ò?AT89S52μ¥???ú?a?÷??D???£?ía?§??ò?3???μ??·?¢??ê?μ??·?¢±¨?ˉμ??·?¢?ü?ìμ??·μè113é???@@????μí3μ??·°?£?′ó??êμ??×??ˉ3????μí3μ??÷??????1|?ü?£?éò??μ,′?éè???ùíê3éμ?μ?×ó3óoü′ó3ì?èé??ú×?á?ó|ó?Dè?ó?£
1??ü′ê μ¥???ú£?3???′??D?÷£?A/D×a???÷£?LCD??ê??÷
THE ELECTRONIC SCALE DESIGN BASED ON MICROCONTROLLER
ABSTRACT
With the application of micro-electronics technology, tradition ponderation instrument used in market has been not satisfaction with hunman requirements already. In order to make up for the traditional apparatus shortcoming, we improve the apparatus's control system with intelligence and automation. This system is mainly controlled by microcontroller, the section of height measurement accomplish by supersonic sensor, the section of weight measurement accomplish by weight sensor and A/D transformer, this apparatus have many characteristic such as having more function, consume less energy, small and move easily, low price, measure precisely, the speed is quick, automatic work without people and so on.
The system is mainly controlled by the microcontroller AT89S52, the periphery is consist of the circuit of clock and calendar, the circuit of measure height and weight, the circuit of display and print, all of these comprise the circuit board of the intelligent apparatus of height and weight. It can achieve all function of the apparatus.
KEYWORDS: microcontroller£?ponderation¨Csensor£?A/D converter£?LCDdisplay
??????
?°???? 1
μú1?? ??ê? 2
1.1 3?????ê?oíoa?÷μ?·¢?1 2
1.2 μ?×ó3óμ?×é3é 3
1.2.1 μ?×ó3óμ??ù±??á11 3
1.2.2 μ?×ó3óμ?1¤×÷?-àí 3
1.2.3 μ?×ó3óμ???á?D??ü 4
1.2.4 μ?×ó3óμ?1|?ü?°??ê???±ê 4
1.3 éè?????· 5
μú2?? ?μí3·?°????¤ó???Dí 6
2.1 ?????÷2?·? 6
2.2 êy?Y2é?ˉ2?·? 7
2.2.1 ′??D?÷μ????? 7
2.2.2 ·?′óμ??·???? 9
2.2.3 A/D×a???÷μ????? 11
2.2.4 ?ü?ì′|àí2?·?·?°????¤ 11
μú3?? ó2?tμ??·éè?? 13
3.1 AT89S52μ?×?D??μí3μ??· 14
3.1.1 μ¥???úD???AT89S52?ééü 14
3.1.2 μ¥???ú1ü???μ?÷ 14
3.1.3 AT89S52μ?×?D??μí3μ??·113é 17
3.2 μ??′μ??·éè?? 17
3.3 êy?Y2é?ˉ2?·?μ??·éè?? 18
3.3.1 ′??D?÷oí??ía?§ò??°·?′óμ??·éè?? 18
3.3.2 A/D×a??D???ó?AT89S52μ¥???ú?ó?úμ??·éè?? 19
3.4 ??ê?μ??·ó?AT89S52μ¥???ú?ó?úμ??·éè?? 22
3.5 ?ü?ìμ??·ó?AT89S52μ¥???ú?ó?úμ??·éè?? 23
3.6 ±¨?ˉμ??·μ?éè?? 24
μú4?? ?μí3èí?téè?? 26
4.1 ?÷3ìDòéè?? 26
4.2 ×ó3ìDòéè?? 26
4.2.1 A/D×a?????ˉ?°êy?Y?áè?3ìDòéè?? 27
4.2.2 êy??×a??×ó3ìDòéè?? 27
4.2.3 ??ê?×ó3ìDòéè?? 27
4.2.4 ?ü?ìé¨?è×ó3ìDòμ?éè?? 27
4.2.5 ±¨?ˉ×ó3ìDòμ?éè?? 28
?á?? 29
D?′? 30
2??????× 31
???? 32
ía??×êá?·-ò? 39