Arduino Nano DHT22 LCD 16x2 I2C temp and humidity display

Desktop temp and humid sensor

Aug 26, 2021

6367 views

0 respects

Components and supplies

1

Arduino Nano R3

1

lcd 16x2 I2c module

1

DHT22 Temperature Sensor

Tools and machines

1

Soldering iron (generic)

1

Breadboard, 830 Tie Points

Apps and platforms

1

Arduino IDE

Project description

Code

Code

c_cpp

Most of the code is taken from https://create.arduino.cc/projecthub/adrakhmat/temperature-monitor-with-dht22-and-i2c-16x2-lcd-3ddd39 It needs the DHT, WIRE and I2C libraries This also display if F not C, replace line 63 with "temp" instead of "tempF" for C and change line 64

Code

c_cpp

Most of the code is taken from https://create.arduino.cc/projecthub/adrakhmat/temperature-monitor-with-dht22-and-i2c-16x2-lcd-3ddd39 It needs the DHT, WIRE and I2C libraries This also display if F not C, replace line 63 with "temp" instead of "tempF" for C and change line 64

Downloadable files

schematic

Arduino schematic Nano LCD I2c 5v VCC gnd gnd A4 SDA A5 SCL nano DHT22 3.3v + Data D4 (it says D2 in the schematic I couldnt change it) gnd -

schematic

Comments

Only logged in users can leave comments

squatchmc

0 Followers

0 Projects

Table of contents

Intro

0

0