//de
//QUESTION 1: Use the ESP32 embedded board and connect it to various functional modules to fulfill the requirements below?
//Use the ESP32 board as the main processing unit for the application. Connect the devices and sensors as described in the diagram below?
//a. Use the I2C protocol to connect the ESP32 board to the 20x4 LCD screen?
//b. Connect an LED to the ESP32 board?
//c. Connect the temperature-humidity sensor to the ESP32 board?
//QUESTION 2: Use C++ language and Arduino IDE to implement communication functions in the IoT application according to the requirements below?
// a. Install necessary libraries to communicate with LCD and MQTT Broker?
// b. Program the ESP32 board to connect to the WIFI network and MQTT Broker? Check the status of the Wi-Fi and MQTT Broker connections?
// c. Display the status of Wi-Fi and MQTT Broker on the LCD screen?
//QUESTION 3: Using the ESP32 embedded board and programmed embedded software,
//develop an IoT application that integration an LSTM model to predict sensor values based on the following requirements
//a. Embedded programming to read DHT sensor values, simulate values of 2 sensors, and use the MQTT protocol
//to send the received data to the server.
//b. Use Python and the LSTM model to predict sensor values for the next 3 days based on the values received from 4 sensors.
//c. Develop a web application that displays the real-time values of the 4 sensors and the prediction results
//from the LSTM model.
//CÂU HỎI 1: Sử dụng bo mạch nhúng ESP32 và kết nối nó với các mô-đun chức năng khác nhau để đáp ứng các yêu cầu dưới đây?
//Sử dụng bo mạch ESP32 làm bộ xử lý chính cho ứng dụng. Kết nối các thiết bị và cảm biến như mô tả trong sơ đồ bên dưới?
//a. Sử dụng giao thức I2C để kết nối bo mạch ESP32 với màn hình LCD 20x4?
//b. Kết nối một đèn LED với bảng ESP32?
//c. Kết nối cảm biến nhiệt độ-độ ẩm với bảng ESP32?
//CÂU HỎI 2: Sử dụng ngôn ngữ C++ và Arduino IDE để thực hiện các chức năng giao tiếp trong ứng dụng IoT theo yêu cầu dưới đây?
//a. Cài đặt các thư viện cần thiết để giao tiếp với LCD và MQTT Broker?
//b. Lập trình board ESP32 kết nối mạng WIFI và MQTT Broker? Kiểm tra trạng thái kết nối Wi-Fi và MQTT Broker?
//c. Hiển thị trạng thái Wi-Fi và MQTT Broker trên màn hình LCD?
//CÂU HỎI 3 : Sử dụng bo mạch nhúng ESP32 và phần mềm nhúng được lập trình, phát triển ứng dụng IoT tích hợp mô hình LSTM để dự đoán giá trị cảm biến dựa trên các yêu cầu sau
//a. Lập trình nhúng đọc giá trị cảm biến DHT, mô phỏng giá trị của 2 cảm biến và sử dụng giao thức MQTT để gửi dữ liệu nhận được về máy chủ.
//b. Sử dụng Python và mô hình LSTM để dự đoán giá trị cảm biến trong 3 ngày tới dựa trên giá trị nhận được từ 4 cảm biến.
//c. Phát triển ứng dụng web hiển thị giá trị thời gian thực của 4 cảm biến và kết quả dự đoán từ mô hình LSTM.
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}