IOT project in gPBL with Shibaura Institute of Technology
This is IOT project for controlling room temperature with ESP32 board and mobile app.
Great thanks SIT assistant Katsuya in helping us deploy and config on ESP32 and ESP8266 boards.
TL,DR: Our final result of project is webapp_email/webapp_email.ino
- Components
- Install Hardware Info
- Libraries
- Tools
- Setup SMTP Server
- Code Explain
- Setup Mobile App
- Contribution
In this project, we have 2 options for microcomputer:
These 2 boards are Japan-version of ESP32 and ESP8266 module which may be more familiar in other countries. Both share the same traits which can connect WiFi, bluetooth, HTTP GET & POST.
Another component is: DHT11 Temperature Humidity Sensor
We develop most of our project in Arduino IDE and Visual Studio Code (with Arduino extension).
Because these are not by default Arduino board so we must install board information to deploy code from computer to devices.
- Open Arduino IDE
- Open Preferences
- Add external board manager: "https://dl.espressif.com/dl/package_esp32_index.json"
- Reload Arduino IDE
- Open Tools => Board Manager
- Enter esp32 in search form
- Install esp32 by Espressif Systems
- Select Board manager ESP32 Dev Module
- Open Arduino IDE
- Open Preferences
- Add external board manager: "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
- Reload Arduino IDE
- Open Tools => Board Manager
- Enter esp32 in search form
- Install esp8266 by ESP8266 Community
- Select Board manager Generic ESP8266 Module
Because of connect to local host and get info from sensor, so we need install some libraries:
- DHT
- Adafruit_Sensor
- ESPAsyncTCP
- ESPAsyncWebServer
In final version, we need to control signal from remote that means ESPr must able to receive info. That why you should copy tools/ESP32FS to tools folder in Arduino IDE.
Group member:
- Haoran Wang
- Pham Trong Nhan
- Yuya Urushibata
- Huynh Ngoc Thien
- Kouhei Ogawa
- Nguyen Nguyen Phuong
- Riko Suzuki