摘 要随着互联网的发展,慢慢的人们开始意识到不应该局限于互联网上,应该把实际的物品也与互联网联系在一起,所以物联网这个概念孕育而生,关于物联网的很多应用也开始研发上市,一系列的软件都是基于物联网的,本设计针对环境的监测设计也基于物联网的系统。 77367
通过数据库来使得线上和线下能保持通信,然后通过服务器来关联线上和线下,包括如下功能:传感器来进行数据采集,无线模块来实现数据传输,服务器设计,数据图表展示等功能。利用C#封装好的类,ADO。NET的SQLHelper来实现对数据的访问。线上页面通过AJAX来把数据写入数据库中,在服务器定时从数据库取数据,然后通过TCP/IP协议把数据从线下提取出来,完成一个环境的检测系统。
经过长时间测试后,发现本次设计基本完成了环境监测的功能。以后会不断在这个基础上改进。
该论文有图11幅,表1个,参考文献8篇。
毕业论文关键字:物联网 C# TCP/IP SQL
The Environmental Monitor System Based on Things
Abstract With the development of the Internet, people are slowly beginning to realize that we should not be limited to the Internet,the actual items should be also linked to theInternet, so the concept of things born out, many applications on the Internet of things also began to come into the market, the software is based on a series of things, thedesign for the monitoring of environmental is also based on this systems。
Through the database to make online and offline be maintained, then the next server associate online and offline through the server, including the following features:sensors to data acquisition, wireless data transmission modules, server design, data chart display and other functions。 With using the Package of C # class, ADO。NET SQLHelper to achieve the access to the data 。Online page via AJAX to write the data to the database on the server, fetching data from the database timing, and then through the TCP / IP protocol to extract data from the line, to complete environment detection system。
After a long test, we found that this design has basically completed its environmental monitoring function。 The future will continue to improve on this basis。
Key words:Things C# TCP/IP SQL
目录
摘要-Ⅰ
Abstract--Ⅱ
目录--Ⅲ
图清单--Ⅴ
表清单--Ⅴ
1绪论 1
1。1研究背景和意义 1
1。2主要工作内容 1
2系统开发的相关技术与工具 3
2。1 C#简述 3
2。2 Microsoft Visual Studio 2013 4
2。3。NET Framework框架 4
2。4ASP。NET MVC 5
2。5Microsoft Sql Server简述 5
3系统需求及设计方案 7
3。1数据库设计方案 7
3。2整体设计方案 7
4系统的硬件设计 9
4。1微控制器MCU 9
4。2微控制器KL25的最小系统 9
4。3 DHT11温湿度传感器 11
4。4 ESP8266无线模块 12
4。5 LCD显示 13
5 上位机服务器设计