Thanyasit / DHT11_Temperature_and_Humidity_Sensor_with_LineNotification

This project uses the DHT11 temperature and humidity sensor to monitor the environment and sends notifications via Line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DHT11_Temperature_and_Humidity_Sensor_with_LineNotification

This project uses the DHT11 temperature and humidity sensor to monitor the environment and sends notifications via Line.
2022

Requirements

  • DHT11 temperature and humidity sensor
  • ESP32/ESP8266 or other compatible microcontroller
  • LINE account and LINE Notify token

Getting Started

1.Connect the DHT11 to your microcontroller.
2.Modify the SSID and LINE_TOKEN variables in the code to match your Wi-Fi SSID and LINE Notify token.
3.Flash the code to your microcontroller.
4.Power on your microcontroller.

How it Works

The microcontroller reads the temperature and humidity data from the DHT11 sensor, computes the heat index, and sends notifications via Line Notify. The notifications include the current temperature, humidity, and heat index.

Troubleshooting

  • If you're not receiving notifications, check your LINE Notify token and Wi-Fi connection.
  • If the DHT11 sensor fails to read, the program will return an error message in the serial monitor.

Example

License

This code is licensed under the MIT License. See the LICENSE file for details.

About

This project uses the DHT11 temperature and humidity sensor to monitor the environment and sends notifications via Line.

License:MIT License


Languages

Language:C++ 100.0%