Main Content

A nice looking clock and thermometer on a large 128x64 LCD screen.

On arduinoecia web page is presented Arduino clock with 128x64 LCD graphic display, a potentiometer for adjusting the display contrast, the DS3231 RTC module and a push button. The RTC module is connected to the Arduino on the A4 (SDA) and A5 (SCL) pins. The button is connected to digital pin 3, with the Arduino’s internal pull-up resistor enabled via software.The program uses some libraries that you will have to install before compiling. Unzip the libraries and place them inside the LIBRARIES folder of the Arduino IDE.

Program have two screens: the first one ( screen_1 ), shows the analog clock, the digital clock, as well as the current date and temperature.

The second screen ( screen_2 ) shows the digital clock, day of the week, date and current temperature information, minimum temperature and maximum temperature. The screens are selected by pressing the push button, connected to the digital pin 3.

To set the date and time of the RTC DS3231 module, use the serial monitor and enter the information in year, month, day, hour, minute, second format.

If you typed the information correctly, the message ” ” will be displayed.”

Link to article