基于MODBUS协议的智能家居控制系统

基于MODBUS协议的智能家居控制系统

基于MODBUS协议的智能家居控制系统

  • 适用:本科,大专,自考
  • 更新时间2024年
  • 原价: ¥303
  • 活动价: ¥200 (活动截止日期:2024-04-22)
  • (到期后自动恢复原价)
基于MODBUS协议的智能家居控制系统

基于MODBUS协议的智能家居控制系统

摘要:智能家居毫无疑问是近几年的热门基础科学研究对象,各种协议的新版本持续不断矫正和提高的不足,诱使目前没有名副其实的标志着的国际定型的智能家居,智能照明网络通信协议, 本文首先介绍了各种解决方案的准则、技术特点和优缺点, 比较了智能家居市场、智能家居控制系统的基于协议中, 我们首先对全面理解的优缺点做了透彻的了解: 现在大多数仪器和设备都可以根据需要使用计算机软件, 所以调试方便, 易于操作上, 它涉及到通信过程, 在单片机系统中, 比较常用的方法是直接调用串口发送一个字节的数据函数, 这种方法要求处理器参与发送的缺点整个过程中, 其优点是, 要发送的数据可以立即出现在通信线上, 可以立即接收接收器, 另一种方法是使用中断传递的方法, 所有数据需要发送到缓冲区, 发送数据缓冲区, 使用发送中断, 它有小的处理器资源的优势, 但也可能需要发送无法立即发送的数据, 但延迟是相当小的, 为单芯片51系列,更倾向于使用直接传输的方式,利用中断方式发送内存资源消耗比较,直接传输没有太多的优势。家用自动化是指利用微加工电子技术, 集成或控制家居电气和控制系统, 如: 家庭中的一些冰箱、音响、日常使用的灯具、平时接触的电话等等, 家庭自动化系统主要从中央微处理器接收关于电子和电气产品的信息,以便将适当的信息发送到其它电子产品。中央微处理器必须通过各种接口控制家用电器。而其中的形式更是多种多样的,比如语音控制、手势控制等等。

关键字:智能家居;协议;控制系统

Intelligent home control system based on modbus protocol

Abstract: There is no doubt that smart home is the hot basic science research object in recent years, the new editions of various protocols have been continuously corrected and improved, and the international stereotyped smart home, intelligent lighting network protocol, and the principles and technical characteristics of various schemes are introduced in this paper., more common methods are A function that directly calls a serial port to send a byte data. This method requires the processor to participate in the whole process. The advantage is that the data to be sent can appear immediately on the communication line, and the receiving end will be received immediately. The other method is to use the interrupt transmission method and all the data need to be sent. Send a buffer, send the data buffer, use the transmission interrupt, it has the advantage of small processor resources, but may also need to send not to send data immediately, but the delay is quite small. For the 51 series of singlechip, it is more inclined to use the direct transmission formula and use the interrupt mode to send the memory resource elimination. Compared to the consumption, direct transmission has not much advantage.

Home automation refers to the use of micromachining electronics to integrate or control home electrical and electronic products or systems, such as some refrigerators, audio, daily lamps, daily contact phones, etc. in the family, and the home automation system mainly receives information about electronic and electrical products from the central microprocessor. If the appropriate information is sent to other electronic products, the central microprocessor must control the household appliances through a variety of interfaces, in which the form is more varied, such as voice control, gesture control, and so on.

Keywords:  Smart home; Agreement; Control system

目录

第一章 绪论 4

1.1 背景 4

1.2国内外研究现状 4

第二章 基于MODBUS协议的智能家居控制系统的总体设计 5

2.1 项目总体方案设计 5

2.2 协议选择 5

2.3 MCU的选择 8

2.4 MODBUS控制命令介绍 9

第三章 基于MODBUS协议的智能家居控制系统设计及调试 10

3.1  Arduino uno单片机 10

3.2  温湿度传感器DHT11电路设计 11

3.4 I2C接口的LCD1602模块连线 13

3.5 电源设计 14

3.6 显示模块选择LCD1602和I2C接口模块 16

3.7 wifi模块esp8266 17

3.8. RS485继电器 17

第四章 基于MODBUS协议的智能家居控制系统的软件设计 21

4.1 Arduino IDE介绍 21

4.2 程序设计思路 22

4.3 wifi数据读取和阈值设定程序设计 22

4.4 DHT11、光敏传感器 24

4.5 DHT11程序设计 24

4.6 IC2接口的LCD1602显示程序设计 24

4.7 延时部分设计 25

4.8 手机端APP界面设计 26

4.9 RS85继电器软件设计 28

第五章 总结与展望 29

小结与致谢 30

参考文献 31

毕业设计附录 32

第一章 绪论

1.1 背景

智能家居无疑是近年来研究的热点,各种协议的不断更新的最新版本,并不断改善不足,导致智能家居的一个真正的国际标准通信协议的智能照明不足,本文主要研究各种解决方案的原理、技术特点、优点和缺点的比较,和智能家居市场的前景进行了展望。

1.2国内外研究现状

Modbus/TCP协议是现场总线和工业以太网慢慢结合的突出代表,最具有发展前景。本文致力于解决Modbus串行总线和Modbus/TCP工业以太网之间的互连、互通问题,设计了一款基于Modbus/TCP协议的工业以太网通信适配器。在信息化与工业化相结合的“两化融合”背景下,智能化、网络化、信息化是工业自动化系统的发展趋势。现场总线成为了工业自动化领域的研究热点,现场总线协议标准主要有Modbus、CAN、PROFIBUS、DeviceNet等,其中Modbus现场总线是早期用于Modicon品牌PLC通信应用,由于具有灵活、方便、开放、免费等特点,Modbus现场总线得到了广泛应用和发展。

参考文献

[1] [澳]John BOXALL著 翁恺 译 .动手玩转Arduino .北京 :人民邮电出版社 ,2014年1月 :204-210 . 

[2] 陈吕洲 .Arduino程序设计基础 :北京航天航空出版社 ,2014 :5-6 

[3] 程晨,Arduino开发实战指南,机械工业出版社,2012

[4] 蔡卓凡.基于Arduino和Android教室移动巡检系统设计[J].电子科技,2014,27(5):1-4

[5] 陶玲.在开放式系统环境下的趣味交互装置研究设计[D].无锡:江南大学,2008

[6] 张建民 《传感器与检测技术》,机械工业出版社,2002

[7] 杨继志,郭敬,《Arduino 的互动产品平台创新设计》,《单片机与嵌入式系统应用》,2012年第4期

[8] 孙俊荣,吴明展,卢聪永.《Arduino 一试就上手》,北京:科学出版社,2011

[9] 陈吕洲 《Arduino程序设计基础》,北京航空航天大学出版社,2015年2月

[10] 《无线电》编辑部,《超炫的35个Arduino制作项目》,人民邮电出版社,2014年6月

[11]  nkit Kumar1, Amit Kr. Chanchal2, Abhinav Kumar1,Dhreendra Kumar Verma1, Faisal Mansoori11U.G. Scholars, 2Assistant Professor, ARDUINO UNO BASED AUTOMATIC PLANT WATERING SYSTEM, 2013: 487-492

[12]  Rana Biswas, Romit Beed, Ankita Bhaumik, Shamik Chakrabarty & Raghav Toshniwal, ISSN No: 2309-4893,January 2015.

[13]  Vani K.S. Shrinidhi P.C. Automatic Tap Control System in the Smart Home using Android and Arduino, October 2015.

[14] Dr.D.V.PUSHPA LATHA*, Dr.SWATI DEVABHAKTUNI Soil Moisture and Temperature sensor based intelligent irrigation water pump controlling system using Arduino, January,2014.

[15] Professor, Dept of EEC, SKR College of Engineering & Technology, JNTU Anantapur, AP, India. Automatic Irrigation System using Arduino Controller, April-2016.

[16] 吴明生.《服务器电源智能管理系统的研究》[D]. 山东大学, 2009.

[17] 丁男菊.《斩波补偿式交流稳压器的设计》[D]. 南京理工大学, 2011.

[18] 林春坤.智能网络滴灌控制系统的设计与实现[J]. 电脑知识与技术, 2013(23):144-146.

[19] 廖延初仇国华.  基于nRF905的无线水塔信息监测系统的设计[J]. 福建师大福清分校学报, 2013(5):47-52.

[20] 张星.  小型农业机器人试验平台设计与试验[D]. 西北农林科技大学, 2015.


  • 关键词 MODBUS 协议 智能家居 控制系统
  • 上一篇:太湖水务数据中心规划与实施-服务器集群管理与实施
  • 下一篇:基于RFID射频技术智能化感知停车系统的设计
  • 暂无购买记录

    暂时没有评论

    真实

    多重认证,精挑细选的优质资源 优质老师。

    安全

    诚实交易,诚信为本。

    保密

    所有交易信息,都为您保密。

    专业

    10年专业经验,10年来帮助无数学子。