In this video we are building an Arduino Real Time clock and temperature monitor with a big 3.2″ Color TFT display. We are using a DS3231 Real Time clock module to get the time, the date and the temperature. The heart of the project is the powerful Arduino Due board, which can drive the display and update it without any visible flickering at all! Impressive. Let’s start!
A few weeks ago, I tested this 3.2” color TFT display for Arduino with both Arduino Mega and Due. The display works fine and I built a simple project with it. It is a temperature monitor and a real time clock. As you can see at the top, we can see the current date and time, we can see the temperature right now, and at the bottom the Arduino records the minimum and the maximum temperature that it has measured. I also tried to design a basic user interface just with simple shapes. As you can see everything works fine, and it is a very easy and useful project to build. Let’s see how to do it!
The parts needed in order to build this project are these:
• An Arduino Due or a Mega
• A 3.2” Color TFT display
• A DS3231 RTC module
• Male headers
The cost of the project is around 24$. You need around 14$ for the Arduino Due, 8$ for the display and about 2$ for the RTC module. You can find links for all the parts in the description of the video.
WHERE TO BUY
1. Arduino Due: http://bit.ly/ArduinoDUE
2. Arduino Mega: http://bit.ly/ArduinoMega
3. 3.2″ Color TFT: http://bit.ly/32COLORTFT
4. DS3231 module: http://bit.ly/Ds3231
5. Header Pins: http://bit.ly/HeaderPinsB
6. Female Wires: http://bit.ly/FemaleWires
I am going to use the Arduino Due to build this project, although I could use the slightly cheaper but slower Arduino Mega. Arduino Due is much faster than the Arduino Mega and it has a lot of memory, that’s why I prefer it for this project.
At first we have to connect all the parts together. I am going to use these male headers in order to connect the RTC module to the Arduino DUE. We need four header pins. Two for power and two for the I2C interface. We bend them like this and we connect one to 3.3V pin of the Arduino Due board, the other to GND, and the other two to SDA and SCL pin of the board. With some female wires we connect the module to the board. That’s it. Now we can attach the display to the board. You don’t have to connect these two pins to the Arduino board so I will leave them floating. Now we are ready to power up the project. As you can see, it works fine!
Display library: https://github.com/Bodmer/TFT_HX8357_Due
DS3231 Library: https://github.com/SodaqMoja/Sodaq_DS3231
CODE OF THE PROJECT
SUBSCRIBE ON YOUTUBE
Never miss a video: Subscribe to educ8s.tv