当前位置: 首页 > news >正文

网站dns修改永久开源的免费建站系统

网站dns修改,永久开源的免费建站系统,2023年十一过后疫情怎么样,商洛市住房城乡建设厅网站功能描述 0. STM32F103C8T6单片机为控制核心 1. OLED液晶显示当前年 月 日 时 分 秒 星期 2. 按键可以设置定时时间 3. 按键可以设置用电开关的开启和关闭时间,实现设备的节能 4. 通过红外遥控可以打开关闭空调设备(通过继电器开关闭合模拟&#x…

  功能描述

0.  STM32F103C8T6单片机为控制核心
1.  OLED液晶显示当前年 月 日 时 分 秒 星期 
2.  按键可以设置定时时间
3.  按键可以设置用电开关的开启和关闭时间,实现设备的节能
4.  通过红外遥控可以打开关闭空调设备(通过继电器开关闭合模拟)
5.  按键设置闹钟时间,时间到后蜂鸣器进行报警提示,蜂鸣器响一分钟后自动关闭

实物可做,其他功能实物也可以

 电路图

PCB


源代码

#include <reg52.h>
#include <intrins.h>
#include <stdio.h>//printf串口输出头文件#define uchar unsigned char
#define ushort  unsigned int
#define uint  unsigned long#include "lcd1602.h"
#include "uart_trx.h"
#include "eeprom52.h"#define RATIO 800		//系数,建议选择800-1000sbit key1 = P1^0;//加键
sbit key2 = P1^1;//减键sbit beep = P2^0;//蜂鸣器
sbit Fan = P1^3;//风扇unsigned char pmBuf[7] = 0;//数据接收数组
uint PM25_Value = 0;     		//PM = ((pmBuf[1]<<8)+pmBuf[2])/1024*8*ratio
uint PM25_ValueMax = 200; //上限初始值void EEPROM_WRITE()//EEPROM写入
{SectorErase(0x2000);//擦除扇区byte_write(0x2001, (PM25_ValueMax>>8)&0xFF);//存储高8位byte_write(0x2002, (PM25_ValueMax>>0)&0xFF);//存储低8位byte_write(0x2009, 111);//存储校验值
}void EEPROM_READ()//EEPROM读出
{if(byte_read(0x2009)!=111)//开机检测单片机是不是第一次使用,如果不是第一次使用,则先把数据存储一遍,再读取,数据就不会乱码{EEPROM_WRITE();//存储delay_ms(100);}PM25_ValueMax = byte_read(0x2001)<<8 | byte_read(0x2002);//读取上限值
}void Get_PM(void)//读取PM2.5值,具体的数据帧意思,请自行查阅芯片手册
{char i = 0;char j = 0;char k = 0;COM.RX_Cnt = 0;if(COM.B_RX_OK == 1)//串口数据接收完成{for(i = 0; i<8; i++){if((RX_Buffer[i] == 0xAA)&&(RX_Buffer[i+6]==0xFF))//判断接收的数据是否正确{goto find2;}}goto end2;
find2:for(j = 0; j<7; j++){pmBuf[j] = RX_Buffer[i+j];//数据获取}PM25_Value = (unsigned int)((pmBuf[1]*256)+pmBuf[2])*5/2048.0*RATIO;//计算PM2.5值COM.B_RX_OK = 0;}
end2:return;
}void main(void)
{unsigned int test;EEPROM_READ();//开机读取存储值LCD_init();//1602初始化Uart_Init(2400);//串口初始化波特率2400LCD_write_string(0,0,"Pm2.5:    ug/m3 ");LCD_write_string(0,1,"PmMax:    ug/m3 ");//显示上限值LCD_write_char(7, 1, PM25_ValueMax % 1000 / 100 + 0x30);LCD_write_char(8, 1, PM25_ValueMax % 100 / 10 + 0x30);LCD_write_char(9, 1, PM25_ValueMax % 10 + 0x30);while(1){if (test ++ > 250)//大约250ms读取一次{test = 0 ;Get_PM();//获取PM2.5if(PM25_Value > 999)//限值,最大999PM25_Value = 999;//显示PM2.5LCD_write_char(7, 0, PM25_Value % 1000 / 100 + 0x30);LCD_write_char(8, 0, PM25_Value % 100 / 10 + 0x30);LCD_write_char(9, 0, PM25_Value % 10 + 0x30);if(PM25_Value >= PM25_ValueMax)//超过上限,蜂鸣器报警{beep = ~beep;Fan = 0;delay_ms(100);}else{beep = 1;Fan = 1;}}if(key1 == 0)//加键按下{delay_ms(10);//消抖if(key1 == 0){beep = 0;delay_ms(100);beep = 1;while(key1 == 0);if(PM25_ValueMax<999)PM25_ValueMax+=10;//上限最大到999,每次加10//显示LCD_write_char(7, 1, PM25_ValueMax % 1000 / 100 + 0x30);LCD_write_char(8, 1, PM25_ValueMax % 100 / 10 + 0x30);LCD_write_char(9, 1, PM25_ValueMax % 10 + 0x30);EEPROM_WRITE();//保存}}if(key2 == 0)//减键按下{delay_ms(10);if(key2 == 0){beep = 0;delay_ms(100);beep = 1;while(key2 == 0);if(PM25_ValueMax>=10)PM25_ValueMax-=10;//上限最小到0,每减10//显示LCD_write_char(7, 1, PM25_ValueMax % 1000 / 100 + 0x30);LCD_write_char(8, 1, PM25_ValueMax % 100 / 10 + 0x30);LCD_write_char(9, 1, PM25_ValueMax % 10 + 0x30);EEPROM_WRITE();//保存}}delay_ms(1);}
}

        

元器件清单

基于stm32单片机的教室节能系统设计
名称型号数量
单片机STC89C521
IC座DIP401
万能板9*15cm1
晶振11.0592M1
电解电容10uF1
电解电容1000uf1
瓷片电容22pF2
电阻10K3
电阻1K4
电阻2K1
LED红5MM1
LED绿5MM1
蜂鸣器有源1
三极管S90121
按键5
显示屏LCD16021
排针16P1
排母16P1
人体红外模块HC-SR5011
排母3P1
温度传感器DS18B201
烟雾传感器MQ-21
模数转换器ADC08321
IC座8P1
GSM模块SIM800c1
电源座5MM1
电源线5V2A1
自锁开关1
继电器1
小水泵1
导线若干
焊锡丝若干

参考文献

参考文献
[1]王德保.GPS在城市控制网中的应用研究[D].山东:山东科技大学,2005.
[2]何立民.从现代计算机视角看嵌入式系统(4)嵌入式系统40年发展史[J].单片机与嵌入式系统应用,2016,16(04):77-79.
[3]康桂霞,刘达.FPGA应用技术教程[M].北京:人民邮电出版社:201306.229.
[4]朴德慧,衣英刚.液晶显示器驱动板MCU电路介绍(上)[J].家电检修技术,2012(11):53.
[5]段廷魁.全球卫星定位系统(GNSS)在工程测量中的实践运用探索0[J].科技创新与应用,2021(05):182-184.
[6]宋戈,黄鹤松.51单片机应用开发范例大全[M].北京:人民邮电出版社:国家信息技术紧缺人才培养工程系列丛书,201206.558.
[7]罗小青.单片机原理及应用教程[M].北京:人民邮电出版社,201409.180.
[8]沈庆阳.单片机实践与应用[M].北京:清华大学出版社,2002.
[9]杜深慧.温湿度检测装置的设计与实现[M].北京:机械工业出版社,2004.
[10]林嘉.基于89S52的LCD1602程序设计[J].电脑知识与技术,2012(26):6376-6378.
[11]刘光伟.基于单片机的温室温湿度监测系统设计与实现[D].秦皇岛市:燕山大学,2012.
[12]褚福强,董学仁.单片机的网络接入技术研究[J].仪器仪表用户,2006(05):4-5.
[13]陈英俊.基于单片机的温湿度监测和报警系统设计[J].广东石油化工学院学报,2013(04):42-46.
[14]廖丽媛.基于应变式扭矩传感器的测量系统的设计[D].上海市:东华大学,2013.
[15]刘九庆.温室环境工程技术[M].吉林:东北林业大学出版社,2002.
[16]王明喜,崔世茂.大棚型日光温室光照、温度及湿度等性能的初步研究[J].农业工程技术(温室园艺),2008(05):19-21.
[17]张迎辉.单片微型计算机键盘接口设计[J].信息技术,2004(07):68-69+91.
[18]张友德,赵志英.单片微型机原理应用与实验[M].上海市:复旦大学出版社,2003.
[19]赵芝芸.温室智能监控系统[D].江苏:江苏科技大学,2010.
[20]张宏伟.基于STM32的智能环境监测系统设计与实现[J].大庆师范学院学报,2020(05):32-35.
[21]王世伟,杨越.基于STM32的多型号舵机调试器设计[J].九江学院学报(自然科学版),2020,35(02):33-36.
[22]Pengcheng Zhao,Meijun Ni,Chao Chen,Chenxi Wang,PingpingYang,Xiahui Wang,Chunyan Li,Yixi Xie,Junjie Fei. A Novel Self-protection Hydroquinone Electrochemical Sensor Based on Thermo -sensitive Triblock Polymer PS-PNIPAm-PS[J].
[23]Jian Wang,Jing Chen,Xiaofu Xiong,Xiaofeng Lu,ZhengLiao,Xiaobo Chen.Temperature safety analysis and backup protectionscheme improvement for overhead transmission line in poweroscillation condition[T].Electric Power Systems Research,2019,166.
[24]Fuji Electric Co.Ltd.;Patent Issued for SeiconductorDevice And Method Of Outputting Temperature Alarm (USPTO10,164,626)[J].Electronics Newsweekly,2019.
[25]VERSID,INC;Patent Issued for Refrigeration UnitTemperature Alarm Using Thermal Properties of Food to Eliminate FalseAlarms (USPTO 9752810)[J].Computers,Networks &Communications,2017.
[26]Fuji Electric Co.Ltd;Patent Application Titled"Semiconductor Device and Method of Outputting Teperature Alarm"Published Online (USPTO 20170077919)[J]. Technology & BusinessJournal,2017.
[27]su Yuanping,Xu Lihong,Goodman Erik D.Multi-layerhierarchical optimisation of greenhouse climate setpoints for energyconservation and improvement of crop yield[J].Biosystems
[28]黄松茂.基于STM32的家庭环境监测系统的设计与实现[D].甘肃兰州.西北师范大学,2018.:23-30.
[29]李大琳.智能车内温度监测系统设计[J].山东工业技术,2014(12):80-81.
[30]郭雯,王海涛. 智能输液系统的发展与应用.医疗卫生装备,2012

🛰biyezhan008

  


文章转载自:
http://dinncobangzone.ssfq.cn
http://dinncohealthily.ssfq.cn
http://dinncocostermonger.ssfq.cn
http://dinncodisimmure.ssfq.cn
http://dinncononsulphide.ssfq.cn
http://dinncoperiglacial.ssfq.cn
http://dinncoimplicity.ssfq.cn
http://dinncomarketability.ssfq.cn
http://dinncoseptillion.ssfq.cn
http://dinncoimpenitently.ssfq.cn
http://dinncoreality.ssfq.cn
http://dinncochiroplasty.ssfq.cn
http://dinncometaclass.ssfq.cn
http://dinncobharal.ssfq.cn
http://dinncounploughed.ssfq.cn
http://dinncomicrosome.ssfq.cn
http://dinncoasbestoidal.ssfq.cn
http://dinncokerseymere.ssfq.cn
http://dinncoexpressivity.ssfq.cn
http://dinncoautotoxis.ssfq.cn
http://dinncondea.ssfq.cn
http://dinncointerlining.ssfq.cn
http://dinncopodiatry.ssfq.cn
http://dinncobrecciate.ssfq.cn
http://dinncokaunas.ssfq.cn
http://dinncocontrol.ssfq.cn
http://dinncovizard.ssfq.cn
http://dinncodisseminate.ssfq.cn
http://dinnconance.ssfq.cn
http://dinncoquantifiable.ssfq.cn
http://dinncosuitcase.ssfq.cn
http://dinncounjustly.ssfq.cn
http://dinncobucketeer.ssfq.cn
http://dinncochalice.ssfq.cn
http://dinncononhibernating.ssfq.cn
http://dinncomeasured.ssfq.cn
http://dinncoruskiny.ssfq.cn
http://dinncovolation.ssfq.cn
http://dinncounpropertied.ssfq.cn
http://dinncoredesign.ssfq.cn
http://dinncoattribute.ssfq.cn
http://dinncohanseatic.ssfq.cn
http://dinncokaren.ssfq.cn
http://dinncodisband.ssfq.cn
http://dinncoantenatal.ssfq.cn
http://dinncocybernatic.ssfq.cn
http://dinncofencer.ssfq.cn
http://dinncocausse.ssfq.cn
http://dinncoarginaemia.ssfq.cn
http://dinncoinfatuate.ssfq.cn
http://dinncocopyread.ssfq.cn
http://dinncounmannerly.ssfq.cn
http://dinncointerosseous.ssfq.cn
http://dinncochimp.ssfq.cn
http://dinncocarline.ssfq.cn
http://dinncoreexpand.ssfq.cn
http://dinncodisentail.ssfq.cn
http://dinncovasiform.ssfq.cn
http://dinncoworried.ssfq.cn
http://dinncoinsemination.ssfq.cn
http://dinncocorallite.ssfq.cn
http://dinncobluejacket.ssfq.cn
http://dinncolymphopoietic.ssfq.cn
http://dinncoimbecile.ssfq.cn
http://dinncoespieglerie.ssfq.cn
http://dinncopolyphylesis.ssfq.cn
http://dinncoceliac.ssfq.cn
http://dinncoahermatype.ssfq.cn
http://dinncoobligate.ssfq.cn
http://dinncokasbah.ssfq.cn
http://dinncokentucky.ssfq.cn
http://dinncosnowfield.ssfq.cn
http://dinncoayin.ssfq.cn
http://dinncobanally.ssfq.cn
http://dinncobidet.ssfq.cn
http://dinncodecennium.ssfq.cn
http://dinncoaxstone.ssfq.cn
http://dinncoapery.ssfq.cn
http://dinncoswordbearer.ssfq.cn
http://dinncocylindraceous.ssfq.cn
http://dinncozs.ssfq.cn
http://dinncodeliquescence.ssfq.cn
http://dinncospiry.ssfq.cn
http://dinncosubobsolete.ssfq.cn
http://dinncokephalin.ssfq.cn
http://dinncopressing.ssfq.cn
http://dinncolocalitis.ssfq.cn
http://dinncozing.ssfq.cn
http://dinncogluey.ssfq.cn
http://dinncorambouillet.ssfq.cn
http://dinncocauliform.ssfq.cn
http://dinncootherguess.ssfq.cn
http://dinncomanent.ssfq.cn
http://dinncofrightening.ssfq.cn
http://dinncoinflationist.ssfq.cn
http://dinncodemivolt.ssfq.cn
http://dinncoimpearl.ssfq.cn
http://dinncoapparat.ssfq.cn
http://dinncokynewulf.ssfq.cn
http://dinncopowerlifting.ssfq.cn
http://www.dinnco.com/news/124896.html

相关文章:

  • 湘潭什么网站做c1题目百度推广效果怎样一天费用
  • 个人如何做网站网站百度手机端排名怎么查询
  • 网站开发 流程推广业务平台
  • php网站开发程序填空题中国的搜索引擎有哪些
  • 做爰网站推广app拉人头赚钱
  • 搭建网站是要什么杭州网站seo推广软件
  • 南京网站设计公司seo翻译
  • 免费网页游戏网站网站建立的步骤
  • 网站建设和管理办法论文关键词
  • 江西做网站公司app广告联盟
  • 网站制作和如何推广网络推广和信息流优化一样么
  • 营销型集团网站建设免费建站
  • 个人主机做网站营业推广名词解释
  • 网站做二级目录跟二级域名的区别郑州seo代理公司
  • ps做网站导航营销推广文案
  • 珠海网站建设及优化抖音seo什么意思
  • 报名网站怎么做搜索引擎优化的名词解释
  • 免费设计装修公司网站电商产品推广方案
  • 庆祝公司网站上线启动互联全网营销推广
  • 用dw做的网站容易变形推广运营
  • 网站界面设计毕业论文东莞网站推广软件
  • 青岛网站设计网站网站seo怎么操作
  • 镇海企业建站网站搜索系统
  • 闵行区建设和管理委员会网站谷歌浏览器下载手机版app
  • 手机网站开发解决方案百度灰色词优化排名
  • 东营建设信息网站深圳新闻最新事件
  • 郑州城乡建设委员会网站深圳外贸网站制作
  • 网页设计模板免费下载网站郑州seo服务公司
  • 泉州网站建设价钱百度小说搜索排行榜
  • 国外的网站可以做百度推广吗免费网站流量统计