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

    多点温度监测系统.pdf

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

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

    多点温度监测系统.pdf

    电子设计自动化实 训 报 告题目:多 点 温 度 监 测 系 统学 生 姓 名:宋 安 邦学 生 学 号:2104020685学院:工 学 院专业:电 子 信 息 工 程班级:2 0 11 级指 导 教 师:林 君副 教 授电子设计自动化实训1 一、实训目的和意义通过对多点温度检测系统的设计,可以更深入的了解MC5.2单片机的特点以及应用技巧,对单片机的应用可以温习其中的结构以及原理。而且 proteus 的强大功能也能通过此次试验反应出来,熟悉其界面的风格以及各种应用,又重新的认识了 proteus 在单片机方面的强大功能。二、实训设计内容要求1.实现 4 点温度实时采集,温度传感器采用DS18B202.采用 LCD1602 显示 4 个采集点温度3.具有温度上下限报警功能:上限90C,下限 20C4.声音和光报警 2 种模式:光报警采用 4 只发光 LED;声音报警采用扬声器,报警音调采用2KHz 方波。三、系统设计1方案设计2硬件电路设计采集温度显示温度8052 系统处理是否高于90C或低于 20C是相应的报警(灯光或蜂鸣器)文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训2(1)工作原理:(a)通过四个温度采集器采集数字温度输入到单片机的p2.0p2.3口。(b)初始化 LCD1602 使 1602 能够接受数据,并分配其显示位置,此处采用两行两列式显示。(c)单片机读取信号。(d)单片机向 LCD1602 写信号,并延时。(e)判断是否有数据高于90 度或低于 20 度,如果有点亮相应的 led,并启动蜂鸣器。(2)硬件系统组成(a)80C52(b)晶振电路(c)复位电路(d)LED 灯电路(e)LCD1602 文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训3(f)温度检测 ds18b203.软件设计(1)时间的设定:从此采用中断 T0 方式延时,而且是基本单位,无论蜂鸣器还是led,或是显示温度都用到此延时程序。延时程序如下:void tmpDelay(int num)while(num-);void Time0(void)interrupt 1 using 0 sound=sound;TH0=(65536-5000)/256;TL0=(65536-5000)%256;(2)信号的读入与写出:读字节程序如下 unsigned char ReadOneChar1()/unsigned char i=0;unsigned char dat1=0;for(i=8;i0;i-)DQ1=0;/给脉冲信号dat1=1;DQ1=1;/给脉冲信号if(DQ1)dat1|=0 x80;tmpDelay(4);文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训4 return(dat1);一共读四个字节,接下来是写字节程序如下void WriteOneChar1(unsigned char dat1)/unsigned char i=0;for(i=8;i0;i-)DQ1=0;DQ1=dat1&0 x01;tmpDelay(5);DQ1=1;dat1=1;注意度字节的返回值。读取温度unsigned int Readtemp1()/unsigned char a=0;unsigned char b=0;unsigned int t=0;float tt=0;Init_DS18B201();WriteOneChar1(0 xCC);WriteOneChar1(0 x44);Init_DS18B201();WriteOneChar1(0 xCC);WriteOneChar1(0 xBE);a=ReadOneChar1();b=ReadOneChar1();/文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训5 t=b;t900)|(t1;x-)for(y=z;y1;y-);void write_com(uchar com)/写命令函数 lcdrs=0;P0=com;delay(5);lcden=1;文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训6 delay(5);lcden=0;void write_date(uchar date)/写数据函数 lcdrs=1;P0=date;delay(5);lcden=1;delay(5);lcden=0;void init_lcd()/初始化函数 lcden=0;/默认开始状态为关使能端,见时序图lcdrw=0;/选择状态为写write_com(0 x0f);write_com(0 x38);/显示模式设置,默认为0 x38,不用变。write_com(0 x01);/显示清屏,将上次的内容清除write_com(0 x0c);/显示功能设置 0 x0f 为开显示,显示光标,光标闪烁;0 x0c为开显示,不显光标,光标不闪write_com(0 x06);/设置光标状态默认0 x06,为读一个字符光标加1.write_com(0 x80);/设置初始化数据指针for(i=0;i16;i+)/显示 The temperature write_date(t0i);delay(0);write_com(0 x80+0 x40);for(i=0;i16;i+)/显示 is C write_date(t1i);delay(0);文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7电子设计自动化实训7 (4)程序流程图如下图所示:四、调试方法及步骤1.用软件调试工具先调试设计好的程序,方法是打开调试工具后新建项目,设计开发环境,选择单片机种类,建立.c,然后加载到环境中,编写程序,生成HEX,把他放虚拟单片机中,调试。2 出现错误,就要修改错误,编译全部通过后再接外围硬件电路,接上仿真头,硬件电路供电后再开启仿真头,然后正确设置好仿真器,最后全速运行,查看硬件电路显示结果是否与原设计思想一致。3.显示结果正确后结束仿真,先停止运行程序,再关掉仿真头开关,最后断电,撬开仿真器。否否开始初始化读取温度是否大于 90 度是否小于20 度显示温度点 亮 相 应的 led,启动蜂鸣器点亮相应的 led,启动蜂鸣器结束文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H3E6J2K3 ZS6O9W4M6T7文档编码:CB3H7V1Z7X4 HL9H

    注意事项

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

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




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

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

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

    收起
    展开