欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    多路监控报警系统单片机课程设计(20211203203249).pdf

    • 资源ID:56657072       资源大小:842.20KB        全文页数:28页
    • 资源格式: PDF        下载积分:4.3金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要4.3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    多路监控报警系统单片机课程设计(20211203203249).pdf

    单片机课程设计 多路监控报警系统多路监控报警系统一、实验目地1 了解 A/D 芯片 TLC0809 转换性能及编程方法.2 掌握 A/D 转换器与单片机地接口方法3 学会使用 A/D 转换器进行电压信号采集.二、设计任务及要求利用串行模/数转换芯片 TLC0809、SST89E58及液晶显示器,设计完成一个数字电压多路监控报警系统.要求:数字电压多路监控报警系统可测量05V输入电压,电压值通过液晶轮流显示,并根据设置地限定值对输入超出额度地路端警报提示.三、工作原理及设计思路多路监控报警系统地设计由A/D 转换、数据处理及显示控制等组成.A/D 转换由集成电路 TLC0809 完成,利用TLC0809 将模拟电压转换为数字量,经单片机将数字量转换成对应地电压值,并通过液晶显示输出.四、系统特点本系统可以每一路独立设置最高最低地电压值,并对每一路电压进行监控报警,对超出范围内地电路显示对应路值,并用LED 灯和蜂鸣器表示不同地路值.五、硬件电路设计及原理1、ADC0809(1)、ADC0809 管脚图及时序图:文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7该ADC0809 数据采集部分是单片CMOS 器件,它具有8位模拟数字转换器,8通道多路复用器和微处理器兼容控制逻辑.8位A/D转换器采用逐次逼近作为转换技术.根据时序电路地分析,可以完成单片机编程.该系统在工作时,单片机将产生串行时钟,并按时序发送和接受数据位.由上图可知,ADC0809 由一个 8路模拟开关、一个地址锁存与译码器、一个A/D 转换器和一个三态输出锁存器组成.多路开关可选通8个模拟通道,允许8路模拟量分时输入,共用A/D 转换器进行转换.三态输出锁器用于锁存A/D 转换完地数字量,当OE端为高电平时,才可以从三态输出锁存器取走转换完地数据.IN0IN7:8条模拟量输入通道ADC0809 对输入模拟量要求:信号单极性,电压范围是05V,若信号太小,必须进行放大;输入地模拟量在转换过程中应该保持不变,如若模拟量变化太快,则需在输入前增加采样保持电路.地址输入和控制线:4条 ALE 为地址锁存允许输入线,高电平有效.当ALE 线为高电平时,地址锁存与译码器将A,B,C三条地址线地地址信号进行锁存,经译码后被选中地通道地模拟量进转换器进行转换.A,B和C为地址输入线,用于选通IN0 IN7上地一路模拟量输入.数字量输出及控制线:11条 ST为转换启动信号.当 ST上跳沿时,所有内部寄存器清零;下跳沿时,开始进行A/D转换;在转换期间,ST应保持低电平.EOC为转换结束信号.当EOC为高电平时,表明转换结束;否则,表明正在进行A/D 转换.OE为输出允许信号,用于控制三条输出锁存器向单片机输出转换得到地数据.OE1,输出转换得到地数据;OE 0,输出数据线呈高阻状态.D7 D0为数字量输出线.CLK 为时钟输入信号线.因ADC0809 地内部没有时钟电路,所需时钟信号必须由外界提供,通常使用频率为500KHZ,VREF(),VREF()为参考电压输入.(2)、ADC0809 应用说明ADC0809 内部带有输出锁存器,可以与AT89S51单片机直接相连,初始化时,使ST和OE信号全为低电平,送要转换地哪一通道地地址到A,B,C端口上,在 ST端给出一个至少有100ns宽地正脉冲信号,是否转换完毕,我们根据EOC信号来判断,当 EOC变为高电平时,这时给OE为高电平,转换地数据就输出给单片机了.2、SST89E58RD(1)、SST89E58RD管脚图:文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B73、1602液晶引脚功能说明第1脚:VSS为电源地,接GND.第2脚:VDD 接5V 正电源.第3脚:VL 为液晶显示器对比度调整端,接正电源时对比度最弱,接地电源时对比度最高.第4脚:RS为寄存器选择,高电平时选择数据寄存器、低电平时选择指令寄存器.第5脚:RW为读写信号线,高电平时进行读操作,低电平时进行写操作.当RS和RW共同为低电平时可以写入指令或者显示地址,当 RS为低电平 RW为高电平时可以读忙信号,当RS为高电平 RW 为低电平时可以写入数据.第6脚:E端为使能端,当E端由高电平跳变成低电平时,液晶模块执行命令.第7 14脚:D0D7为8位双向数据线.第15脚:BLA 背光电源正极(+5V)输入引脚.第16脚:BLK 背光电源负极,接GND.序号指令RSR/WD7D6D5D4D3D2D1D01清显示00000000012光标返回000000001*3置输入模式00000001I/DS4显示开/关控制0000001DCB5光标或字符移位000001S/CR/L*6置功能00001DLNF*7置字符发生存贮器地址0001字符发生存贮器地址8置数据存贮器地址001显示数据存贮器地址9读忙标志或地址01BF 计数器地址10写数到 CGRAM 或DDRAM)10要写地数据内容11从 CGRAM 或 DDRAM读数11读出地数据内容文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7指令 1:清显示,指令码01H,光标复位到地址00H位置 指令 2:光标复位,光标返回到地址 00H 指令 3:光标和显示模式设置I/D:光标移动方向,高电平右移,低电平左移S:屏幕上所有文字是否左移或者右移.高电平表示有效,低电平则无效指令 4:显示开关控制.D:控制整体显示地开与关,高电平表示开显示,低电平表示关显示C:控制光标地开与关,高电平表示有光标,低电平表示无光标B:控制光标是否闪烁,高电平闪烁,低电平不闪烁指令 5:光标或显示移位S/C:高电平时移动显示地文字,低电平时移动光标指令6:功能设置命令DL:高电平时为4位总线,低电平时为8位总线N:低电平时为单行显示,高电平时双行显示F:低电平时显示5x7地点阵字符,高电平时显示5x10地点阵字符指令7:字符发生器RAM 地址设置指令 8:DDRAM 地址设置指令 9:读忙信号和光标地址BF:为忙标志位,高电平表示忙,此时模块不能接收命令或者数据,如果为低电平表示不忙.指令 10:写数据指令 11:读数据.读状态输入RS=L,R/W=H,E=H输出D0D7=状态字写指令输入RS=L,R/W=L,D0D7=指令码,E=高脉冲输出无读数据输入RS=H,R/W=H,E=H输出D0D7=数据写数据输入RS=H,R/W=L,D0D7=数据,E=高脉冲输出无五、软件设计主程序设计:1)A/D 转换程序每次 5组电压值构成一个数组,数组中地值为AD 进入值 50次地平均值.2)数据处理程序:可以说是整个程序设计地最难点,数据处理显示地电压值计算公式:V=(A*500)/255,(其中 A为经 0809转换后所得地数字量)这样使得计算出来地数值为整型,避免了浮点数计算复杂地缺点,在之后地显示中加入小数点即可.子程序设计:由于 C语言地子程序功能比较强大,所以本程序调用相关子程序,减少了很多编程地繁琐,相关子程序功能如下所示:函数功能:400ms延时延时函数功能:5ms延时函数功能:1602A按指定位置显示一个字符函数功能:1602A初始化函数功能:1602A 读状态函数功能:1602A写指令函数功能:1602A读数据函数功能:1602A 写数据作用:AD0809 通道选择采样值流程图:文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7否是六、系统 C程序根据上述软/硬件地设计,编写好地源程序如下:/*ADC0809 地多路电压监视器*ADC0809+1602LCD+单片机*作者:于萱格初始化液晶初始化 ADC0809 显示第 i 路电压For i=0。i5。i+显 示Warning 同 时蜂鸣器响、红灯亮显 示Warning 同时蜂鸣器响、红灯亮采集一路电压下溢出?上溢出上溢出?下溢出?开始是否有进入设置按键显示各路电压值进入设置限定值界面设置各个通道地高低值设置最高警戒值设置最低警戒值各路设置后进入主程序是否有 back 键按下文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7*/#include#include#include#include#include#define SYSTEM_OSC 12000000/定义晶振频率12000000HZ#define SOUND_SPACE 4/5 /定义普通音符演奏地长度分率,/每 4分音符间隔#define uchar unsigned char#define uint unsigned int#define LCM_Data P2/数据接口sbit ST=P00。/file:/片选端sbit EOC=P01。/file:/时钟端sbit OE=P02。/file:/数据输入输出复用sbit A=P03。sbit b=P05。sbit C=P06。sbit LCM_E=P35。/定义接口sbit LCM_RW=P36。sbit LCM_RS=P37。sbit LED_GREEN=P31。/定义绿灯地口sbit LED_RED=P30。/定义红灯地口sbit BeepIO=P34。/定义输出管脚sbit EX_0=P32。/外部中断 INTO sbit EX_1=P33。/外部中断 INT1 sbit B_UP=P07。/定义外部按键 1 sbit B_DOWN=P04。/定义外部按键 2 void LCM_WriteData(uchar WDLCM)。void LCM_WriteCommand(uchar WCLCM,BuysC)。uchar LCM_ReadData(void)。uchar LCM_ReadStatus(void)。void LCM_Init(void)。void DisplayOneChar(uchar X,uchar Y,uchar DData)。void DisplayListChar(uchar X,uchar Y,uchar code*DData)。void Delay5Ms(void)。void Delay400Ms(void)。void init(void)。/AD0809 初始化void AD(uint M)。/选择通道来显示文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N5K3B7文档编码:CR2Z9D1C5K9 HF5C10I1M4G6 ZA2C2N

    注意事项

    本文(多路监控报警系统单片机课程设计(20211203203249).pdf)为本站会员(H****o)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开