基本信息
源码名称:IoT-ESP32_DHT11温湿度实例_2017P40.pdf
源码大小:1.93M
文件格式:.pdf
开发语言:C/C++
更新时间:2020-10-25
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
Part 2: The 35 euro IoT project 3 Inhoudsopgave 1 Preface......................................................................................................................................... 2 2 The concept................................................................................................................................. 5 2.1 Accountability.......................................................................................................................... 5 2.2 Prescience................................................................................................................................ 6 2.3 Reading guide.......................................................................................................................... 6 2.4 Abbreviations .......................................................................................................................... 6 2.5 Version management.............................................................................................................. 6 3 Hardware..................................................................................................................................... 7 3.1 Inleiding ................................................................................................................................... 7 3.2 ESP32....................................................................................................................................... 7 3.3 Hardware................................................................................................................................. 8 3.3.1 Used hardware ................................................................................................................ 8 3.3.2 Hardware schema............................................................................................................ 8 3.3.3 DHT22 and level shifter................................................................................................... 9 3.3.4 Geekcreit® ESP32 Development Board ......................................................................... 10 4 Software .................................................................................................................................... 11 4.1 Introduction........................................................................................................................... 11 4.2 Installatie van GIT.................................................................................................................. 11 4.3 Installatation of the ESP32 Core............................................................................................ 17 4.4 Installation of the Xtensa and ESP32 Tools........................................................................... 17 4.5 Python ................................................................................................................................... 18 4.5.1 Install Python................................................................................................................. 18 4.5.2 Installation of pySerial and EspTool .............................................................................. 21 4.6 Test the software installation................................................................................................ 22 5 The ESP32 IoT project................................................................................................................ 27 5.1 Introduction........................................................................................................................... 27 5.1.1 WiFi connection............................................................................................................. 27 5.1.2 Setup date and time ...................................................................................................... 27 5.1.3 MQTT connection.......................................................................................................... 27 5.1.4 Determining temperature and humidity....................................................................... 27 5.2 IOT_ESP32_Project source .................................................................................................... 28 6 Test............................................................................................................................................ 35 6.1 Introduction........................................................................................................................... 35 Part 2: The 35 euro IoT project 4 6.2 ESP32, NodeJS, MongoDB en Mosca..................................................................................... 35 6.2.1 Start MongoDB.............................................................................................................. 35 6.2.2 Start NodeJS Express serve and Mosca broker ............................................................. 36 6.2.3 Start the ESP32 .............................................................................................................. 36 6.2.4 Start an Chrome browser.............................................................................................. 39 7 Index .......................................................................................................................................... 40