Skip to content

nickmelk/temp_hum_device

Repository files navigation

Arduino temperature and humidity measuring device

A simple Arduino-based device that measures temperature and humidity using a DHT11 sensor and displays the data on a Nokia 5110 or 16x2 LCD, as well as in the Serial Monitor.

Features

  • Measures temperature and humidity using a DHT11 sensor
  • Displays data on a Nokia 5110 or 16x2 LCD, and in the Serial Monitor
  • Adjustable contrast when using the 16x2 LCD (set via the Contrast variable)

Components used

  • Arduino Uno
  • DHT 11 Humidity & Temperature Sensor Module
  • Nokia 5110 LCD or 16x2 LCD Module
  • Wires

Nokia 5110 LCD

Schematic

Schematic of the temperature and humidity measuring device using a Nokia 5110 LCD

Device

Temperature and humidity measuring device using a Nokia 5110 LCD

16x2 LCD

Schematic

Schematic of the temperature and humidity measuring device using a 16x2 LCD

Device

Temperature and humidity measuring device using a 16x2 LCD

How to use

  1. Install required libraries (Adafruit Unified Sensor, DHT sensor library).
  2. Connect your hardware components as shown in the schematic.
  3. Upload the code to your microcontroller:
    • If you use Arduino IDE, open the appropriate .ino file for your LCD type (temp_hum_device_16x2_lcd.ino or temp_hum_device_nokia_5110_lcd.ino) and upload it directly.
    • If you use VS Code with PlatformIO or another editor, use the single main code file (main.cpp), which contains code for both LCD types. By default, the Nokia 5110 code is commented out. Uncomment the section for your LCD and comment out the other before uploading.
  4. Watch the temperature and humidity data update on the screen and in the Serial Monitor.

About

Arduino temperature and humidity measuring device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages