前回は、ESP32とSCD40でCO2を測定して、その結果をスマホに表示しました。スマホとの通信はWi-Fiを使って、コードの中にSSIDとパスワードを記述していました。 次に、ブラウザ画面を表示してWi-FiのSSIDとパスワードを入力できるようにします。 それをFlashに ...
前回は、複数の部屋のCO2を測定する装置を作成しました。今回はそのソースコードを紹介します。 SCD40で測定したデータを親機にHTTP通信のPOSTメソッドで送信します。 #include <SensirionI2cScd4x.h> // SCDセンサー #include <Wire.h> // I2C通信 #include <WiFi.h> // Wi-Fi #include ...
This project demonstrates how to send temperature and humidity data from an Arduino equipped with an Ethernet Shield to a MySQL database hosted on a public server. We utilize PlatformIO in VS Code for ...
This project reads temperature and humidity data from a DHT11 sensor using an Arduino and displays the values in the Serial Monitor. The DHT11 is a basic, low-cost digital temperature and humidity ...
The Qsen-07 multi-sensor board is an ESP32 wireless development board that combines several useful sensors into one device, making it easier to control, monitor, and enhance your home environment. It ...