📋 资源详细信息
💡 温馨提示:本资源由用户 joshau007 上传分享,仅供学习交流使用。如有侵权,请联系我们删除。
资源简介
笔者设计了基于STC89C52单片机的纸张计数显示装置。系统采用单片机STC89C52作为控制核心,实现通过555振荡电路获取频率值,应用单片机的控制功能和数学运算能力,实现计数和频率换算,用液晶1602显示测试张数并用蜂鸣器发出提示音。测频的基本方法是通过555振荡器以及单片机的定时计数器计数获得频率值,采用最小二乘法进行线性回归,得到1~10张纸的计算公式,通过二次函数回归,得到15张纸以上的计算公式。另外,本系统采用分段回归,具有良好的精度和可靠性,人机交互界面良好,测试模块设有按键并通过液晶显示,性能好,反应速度快。
The paper counting display device based on STC89C52 is designed.The system uses STC89C52 as the control core to obtain the frequency value through 555 oscillation circuit,uses the control function and mathematical operation ability of single chip computer to realize the counting and frequency conversion,displays the number of test sheets with liquid crystal 1602 and sends out the prompt tone with buzzer.The basic method of frequency measurement is to obtain the frequency value by counting the 555 oscillator and the timing counter of the single chip microcomputer,and to use the least square method for linear regression to obtain the calculation formula of 1-10 sheets of paper,and to obtain the calculation formula of more than 15 sheets of paper by quadratic function regression.In addition,the system adopts subsection regression,with good accuracy and reliability,good human-computer interface,test module with keys and LCD display,good per formance,fast response.
立即下载此资源
资源说明
下载说明
- 下载需消耗 2积分
- 24小时内重复下载不扣分
- 支持断点续传
- 资源永久有效
使用说明
- 下载后用解压软件解压
- 推荐 WinRAR 或 7-Zip
- 如有密码请查看说明
- 解压后即可使用
积分获取
- 上传资源获得积分
- 每日签到免费领取
- 邀请好友注册奖励
- 查看详情 →