肿瘤康复网,内容丰富有趣,生活中的好帮手!
肿瘤康复网 > 基于51单片机多功能无线甲醛检测仪设计(毕设课设)

基于51单片机多功能无线甲醛检测仪设计(毕设课设)

时间:2022-04-12 13:55:04

相关推荐

设计采用stc89c52rc单片机,采集电路采用ZE08甲醛传感器,该甲醛检测仪将测量数据显示在oled液晶屏上,并可通过esp8266模块通过wifi传输至手机app查看。手机APP端可根据当前的甲醛含量进行显示提醒。

说明:

附件内容提供原理图及PCB源文件,用altiumdesigner打开。程序采用C语言编写,通过keil软件编译,文件为工程源代码。

【资源下载】下载地址如下(913):/doc/DTlRSd01BZXNpRUxl

#include "reg52.h"#include "type.h"#include "codetab.h"#include "LQ12864.h" #include "stdio.h" #include "string.h" uchar flag=0;uchar model=0; //模式uchar temph=30,templ=5,humh=40,huml=10;uchar RecDate[9]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; //串口接收甲醛数据unsigned int jiaquan=0; //甲醛含量unsigned int jiaquanbaojingzhi=500; //甲醛含量报警值bit uartflag=0; //串口标识bit finish=0; //接收甲醛数据完成标识sbit set=P1^6;sbit add=P3^5;sbit min=P3^4;sbit beep=P3^6;/***********模拟开关*********************/sbit CS_4052=P1^0;sbit B_4052=P1^1;sbit A_4052=P1^2;void delay1ms(unsigned int ms)//延时1毫秒(不

如果觉得《基于51单片机多功能无线甲醛检测仪设计(毕设课设)》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。