The Web Server 13

4。 Socket。IO 13

5。 Node。js 14

6。 ZigBee 14

Chapter II: DESIGN and IMPLEMENTATION 16

7。 Greenhouse Design 16

7。1 Create a website 16

7。2 。js file 18

7。3 Arduino Code 18

7。3。1 Code for Light sensor 19

7。3。2 Code for Temperature & Humidity sensor (DHT11) 19

7。3。3 Code for Moisture sensor 19

7。3。4 CO2 sensor (MH-Z14A) 19

7。3。5 Self-control program 19

7。3。6 Serial Event 20

7。3。7 Serial TX/RX 21

8 Greenhouse Architecture 22

Chapter III: TEST and OPERATION 23

9。 Testing 23

9。1 Web page testing 23

9。2 Arduino program testing 23

9。3 ZigBee TX/RX 25

9。4 Intel Galileo testing 26

9。5 Final testing 29

Chapter IV: CONCLUSION 31

10。 Conclusion 31

References 32

Appendix 33

index2。html 33

nodeSerialserver。js 36

Greenhouse。ino 38

 

 

 

 

Table of figures

 

Figure 1: the relationship between HTML, CCS and JavaScript 5

Figure 2: greenhouse。jpeg 33

Figure 3。 1: The interaction with the web server component 13

Figure 7。 1: HTML code for "p-a" and "p-b" 16

Figure 7。 2: "p-a" and "p-b" in index。html 17

Figure 7。 3: buttons in index。html 17

Figure 7。 4: HTML code for buttons 17

Figure 7。 5: HTML code for function button1Press ( ) 18

Figure 7。 6: Greenhouse Architecture

上一篇:HEVC高效视频编码中的编码单元快速划分算法研究
下一篇:Asp.Net网站信息智能抓取与分析

IEEE802.15.4网络自适应策略研究

MATLAB基于流形学习与神经网络的预测建模

社交网络个性化推荐方法对比研究

jsp+mysql网络招标评审系统设计+源代码

基于安卓的真实无线立体声TWS实现

基于生物启发神经网络的AUV三维路径规划

SOM神经网络多机器人任务分配算法研究

浅论职工思想政治工作茬...

AES算法GPU协处理下分组加...

基于Joomla平台的计算机学院网站设计与开发

压疮高危人群的标准化中...

酵母菌发酵生产天然香料...

浅谈高校行政管理人员的...

上海居民的社会参与研究

从政策角度谈黑龙江對俄...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

提高教育质量,构建大學生...