RSS

First steps with the Arduino UNO, NANO | Displaying Time, Date, Temperature and Humidity on a LCD2004 Display | Maker, MakerED, Maker Spaces, Coding

06 Jul
First steps with the Arduino UNO, NANO | Displaying Time, Date, Temperature and Humidity on a LCD2004 Display | Maker, MakerED, Maker Spaces, Coding

.

.


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.

.

Components soldered on a Stripboard

Components soldered on a Stripboard

.

Soldering cables on the DHT22 sensor and isolating pins with heatshrink tube

Soldering cables on the DHT22 sensor and isolating pins with heatshrink tube

.

Soldering cables on the I2C adapter of the LCD2004 and isolating pins with heatshrink tube

Soldering cables on the I2C adapter of the LCD2004 and isolating pins with heatshrink tube

.

Fixing the LCD2004 display on the frontpanel and the distance bolts

Fixing the LCD2004 display on the frontpanel and the distance bolts

.

Final assembling of the parts

Final assembling of the parts

.


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

 

RTC DS3231

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

LCD2004-I2C

Click image, please, to enlarge.

 

 Temperature/Humidity SensorsDHT11

.

 


L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


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) 😉

.

.

Advertisement
 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: