您现在的位置:数码 >> 数码资源 >> 单片机原理及应用

总成绩:

SouthwestUniversityofScienceandTechnology

课程综合设计

课程名称:单片机原理及应用

题目:

专业班级:

学生姓名:

学号:

任课教师:

完成时间:年7月

课程综合设计评分表

综合设计任务书与学生日志

基于单片机60进制计数器设计

摘要

摘要:本文利用AT89C51单片机对计数器程序进行设计,并利用数码管、开关、电容、电阻、导线等硬件进行组装,最终与单片机联系起来,使得计数器的计数范围是0-99。设计 个按键使数码管显示的数字依次累加,再设计一个按键使数字逐个倒退, 一个按键可以实现复位。这期间我们还需要将程序设计出来并进行编写,连接电路并进行测试,若出现问题,则需要对其进行反复的修改和测试,最终实现本次设计的基本要求。

关键词:计数器;单片机;AT89C51

Abstract

Inthispaper,theuseofAT89C51MCUcounterprogramdesign,andtheuseofdigitaltube,onandoff,capacitance,resistance,wireandotherhardwareassembly,andfinallyconnectedwiththeMCU,makingthecountercountrangeis0-99.Thefirstbuttonisdesignedtomakethenumbersdisplayedonthenixtubeaddup,anotherbuttonisdesignedtomakethenumbersbackwardonebyone,andthelastbuttoncanbereset.Duringthisperiod,wealsoneedtodesignandwritetheprogram,connectthecircuitandtest,ifthereisaproblem,weneedtomodifyandtestitrepeatedly,andfinallyachievethebasicrequirementsofthisdesign.

Keywords:counter;Singlechipmicro

转载请注明地址:http://www.abmjc.com/zcmbjc/1721.html