
.
.
Displaying Time, Date, Temperature and Humidity on a LCD2004 Display
We were already playing around with a LCD2004 display in a previous tutorial where we displayed the temperature and the humidity <===> First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Coding | I2C LCD Temp./Humidity displaying, now we will add as well Time and Date with a DS3231 module.
We will use the tutorial from <===> Arduino datalogger with SD card, DS3231 and DHT22 sensor, where we will NOT use the datalogger for our project to make it as easy as possible; courageous ones, once the project is working for them, may add the datalogger 😉 In that tutorial you will find also the code…
Please check video tutorial below:
.
.
Check also the blog below, please:
.
Check the schematic above please to know how to wire it; first we will do it on a breadboard and later we could solder it… Do the wiring as shown, without the Datalogger-SDCard-Module. See PIC below, please.
.
.
In the above image you will see an DHT11 Sensor (blue case) as at the time I didn’t have it yet (was ordered…) a DHT22 Sensor (white case) as shown on the finished project. As the project works we can now solder everything together on a strip-board, choosing a case; I used a cardboard box with the dimensions of 140 mm X 130 mm X 60 mmm, fixing the LCD2004 and the DHT22-Sensor on the front of the cardboard box.
.
.
.
.
.
.
The finished project
.
.
As you can see in above image, I added some text with a Dymo tape, looks better 😉
The Sketch (Code) for the project
One thing missing, the sketch (code). Please find it below and open it , copy it and paste it to the Arduino IDE:
Read the comments in the sketch to understand the changes which I made to the original, it’s actual easy…
.
Prices and where to order
Click image, please, to enlarge. |
|
|
![]() Click image, please, to enlarge.
|
Temperature/Humidity Sensors![]() |
|
![]() The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure). . |
.
Stay tuned for next blog post(s) 😉
.
.