Built to order

LED Matrix Clock with Thermometer using Arduino Pro Mini and MAX7219

This project builds an LED matrix clock that shows the time, the date and the room temperature on four chained MAX7219 8x8 LED matrix modules, with the time kept by a DS1307 real-time clock and the whole build run by an Arduino Pro Mini. The 32x8 red LED display cycles automatically between time, date and temperature, and a button steps through the modes by hand. Suitable for B.E./B.Tech final-year projects in Electronics, E&TC and Electrical.

Chat on WhatsApp — get a quotation

Electronics / E&TC Arduino IDE · C++ firmwareArduino Pro Mini ATmega168DS1307 RTC module software I2CMAX7219 LED matrix 32x8 pixelsTemperature sensor thermistorCustom MAX7219 driver5 V power supplyJumper wiring base boardHardware
LED Matrix Clock with Thermometer using Arduino Pro Mini and MAX7219 — project thumbnail preview
More project photos (2)

Watch it work

Watch on YouTube

The problem

A wall clock shows the time and a room thermometer shows the temperature, so checking both means consulting two devices, and most hobby clocks lose their time at the first power cut because they count time inside the microcontroller itself. This project builds a single bench-top device that shows the time, the date and the room temperature in rotation on four 8x8 LED matrix modules driven by MAX7219 chips, with the time kept by a dedicated DS1307 real-time clock module and the whole build run by an Arduino Pro Mini. The display is a 32x8 red LED matrix, large enough to read across a room, and the firmware cycles automatically between the time, the date and the temperature, with a button to step through the modes by hand. A clock that also reads the room temperature is a small daily-use device that teaches three distinct embedded skills in one build: real-time clock interfacing, chained LED-matrix driving over SPI, and sensor reading on a shared display.

Feature Ordinary wall clock This LED matrix clock
Time display Hours and minutes only Hours, minutes and seconds, ticking live
Date Not shown Day, month and year on the same matrix
Temperature Needs a separate thermometer Room temperature on the same display
Timekeeping Counts in the microcontroller, resets on power cut Dedicated DS1307 real-time clock chip
Display Fixed digits 32x8 LED matrix, four chained MAX7219 modules
Mode control None Automatic cycling plus manual mode button

Builder note: the display is driven by a custom MAX7219 driver written for this build, and the DS1307 is read over software I2C, so the whole firmware — driver, clock routines, eight display fonts from 3x5 to 6x8 pixels, and the mode manager — fits in the 16 KB flash of the ATmega168-based Arduino Pro Mini. The most useful detail in the demo is the mode cycle itself: the matrix shows the time ticking second by second, then the temperature, then the date, and a button press steps to the next view immediately, which is what makes the device demonstrable in a review room without waiting for the automatic cycle.

How it works

The DS1307 counts time continuously and holds the date, and the Arduino Pro Mini reads it over software I2C once per second. The temperature is taken from the ATmega internal sensor or an external thermistor, as the firmware is configured. The Pro Mini then formats the current view — time as hours, minutes and seconds, date as day, month and year, or temperature in degrees Celsius with a Fahrenheit option — into a 32x8 pixel frame using the built-in fonts, and the custom MAX7219 driver shifts that frame to the four chained matrix modules over the SPI bus. The mode manager holds each view for a few seconds and then steps to the next one automatically, and a press of the mode button steps to the next view immediately, so the display can also be driven by hand during a demonstration.

  1. At power-up the Pro Mini initialises the chained MAX7219 modules and reads the current time and date from the DS1307 over software I2C.
  2. The DS1307 counts time continuously on its own chip, so the Pro Mini only reads it once per second instead of counting time itself.
  3. The temperature is read from the ATmega internal sensor or an external thermistor, depending on the firmware configuration.
  4. The Pro Mini formats the current view into a 32x8 pixel frame using the built-in fonts, which range from 3x5 to 6x8 pixels.
  5. The custom MAX7219 driver shifts the frame to the four chained matrix modules over the SPI bus, lighting the red LEDs for the current view.
  6. The mode manager holds each view for a few seconds, then steps automatically to the next view in the cycle: time, temperature, date.
  7. A press of the mode button steps to the next view immediately, and the manual modes also include the Fahrenheit temperature view shown in the demo.

Tech stack:

  • Arduino Pro Mini · ATmega168
  • DS1307 RTC module · software I2C
  • MAX7219 LED matrix · 32x8 pixels
  • Temperature sensor · thermistor
  • Custom MAX7219 driver
  • 5 V power supply
  • Arduino IDE · C++ firmware
  • Jumper wiring · base board
Parameter Value
Controller Arduino Pro Mini · ATmega168
Real-time clock DS1307 module · software I2C
Display 4x MAX7219 8x8 modules · 32x8 pixels
Display colour Red LED
Display views Time (hh:mm:ss) · date (dd.mm.yyyy) · temperature in °C · Fahrenheit in manual modes
Temperature source ATmega internal sensor or external thermistor (firmware configuration)
Fonts 8 fonts · 3x5 to 6x8 pixels
Firmware size Fits 16 KB flash of ATmega168
Mode control Automatic cycling · manual mode button
Main supply 5 V DC
Builder note The demo shows the time ticking, the 22 °C temperature reading, the date and the manual mode change; power-cut behaviour is not demonstrated in the video

Project features

This LED matrix clock is built around four capabilities: battery-backed timekeeping from a dedicated clock chip, a large chained LED-matrix display, temperature on the same display, and automatic plus manual mode control. The DS1307 real-time clock is the heart of the timekeeping — it counts seconds, minutes, hours, day, date, month and year on its own chip, so the Pro Mini only has to read it. The chained MAX7219 display is the second capability: four 8x8 modules form a 32x8 matrix driven over a three-wire SPI bus, so a large readable display costs almost no microcontroller pins. The third capability is the temperature reading, taken from the ATmega internal sensor or an external thermistor and shown on the same matrix, with a Fahrenheit view available in the manual modes. The fourth is the mode manager: the display cycles automatically between time, date and temperature, and the button steps modes by hand for demonstration.

  • [Battery-backed DS1307 timekeeping] The DS1307 keeps seconds, minutes, hours, day, date, month and year on its own chip, read over software I2C, so the clock shows the correct time as soon as it is powered.
  • [32x8 LED matrix display] Four chained MAX7219 8x8 modules form a 32-pixel-wide red LED display, driven by a custom driver over three SPI wires, so the digits are readable across a room.
  • [Temperature on the same display] The room temperature is shown on the matrix in degrees Celsius, with a Fahrenheit view in the manual modes, so no second thermometer is needed.
  • [Automatic mode cycling] The display steps automatically between time, date and temperature, holding each view for a few seconds, so all three readings are visible in rotation.
  • [Manual mode button] A button steps to the next display mode immediately, which is useful during a demonstration when the reviewer wants a specific view without waiting.
  • [Eight display fonts] Fonts from 3x5 to 6x8 pixels cover digits, the degree symbol and the date separators, so time, date and temperature each render clearly on the 32-pixel-wide display.
  • [Compact Pro Mini build] The whole firmware fits the 16 KB flash of an ATmega168-based Arduino Pro Mini, so the build stays small, cheap and easy to carry into a demonstration room.

What is included

  • Working LED matrix clock prototype on a base board
  • Complete firmware source code with comments (Arduino IDE)
  • Circuit and wiring documentation (MAX7219 chaining, DS1307 software I2C wiring, temperature input)
  • Component list with module names
  • Project report PDF (background, working, specifications, limitations)
  • Project abstract PDF
  • PPT presentation for final review
  • Viva Q&A preparation document (RTC, I2C, MAX7219 driving, SPI, display fonts)
  • Demonstration guidance for showing the mode cycle and the manual mode change

Limitations & prerequisites

  • The DS1307 keeps time on its own chip, but the display stops during a power cut; power-cut behaviour is not demonstrated in the video.
  • The temperature reading comes from the microcontroller sensor or a thermistor, so it is a room indication, not a calibrated laboratory measurement.
  • The display shows one view at a time, so time, date and temperature are never all visible simultaneously.
  • The clock has no network time sync, no alarm and no remote control in the base build.
  • The four matrix modules are chained in a fixed 32x8 layout; a wider display needs more modules and firmware changes.
  • This is an academic prototype, not a certified timekeeping or environmental monitoring instrument.

Timeline

  • Week 1: circuit design, component sourcing, and MAX7219 chaining and DS1307 wiring.
  • Week 2: board assembly, firmware, and custom MAX7219 driver development.
  • Week 3: mode-cycle testing, temperature comparison, and display font tuning.
  • Week 4: report, abstract, PPT, and mode-cycle demonstration preparation.

Support

  • Build guidance, circuit explanation, and firmware help are included with the order.
  • Customization such as an alarm with buzzer, automatic brightness control, or a larger chained display can be developed on request.

Frequently Asked Questions

What does the clock show, and when?

The display cycles automatically between the time, the temperature and the date, showing hours, minutes and seconds first, then the temperature in degrees Celsius, then the date as day, month and year. Each view is held for a few seconds before the display steps to the next one, so all three readings are visible in rotation, and the mode button steps to the next view immediately.

How do four LED matrices run on so few pins?

The MAX7219 chips are chained: display data is shifted from one chip to the next over a three-wire SPI bus, so four 8x8 modules form a 32x8 display while using only three microcontroller pins for the whole display. A custom driver written for this build handles the shifting and the per-module addressing.

How does the clock keep time?

A DS1307 real-time clock module counts the time on its own chip, and the Arduino Pro Mini reads it over software I2C once per second. The Pro Mini never counts time itself, so the displayed time comes from the dedicated clock chip rather than from the microcontroller's own timing.

Where does the temperature reading come from?

The temperature is taken from the ATmega internal sensor or an external thermistor, depending on the firmware configuration. The demo shows 22 °C on the matrix, and the manual modes include a Fahrenheit view. It is a room indication, not a calibrated laboratory measurement.

Can the display be made bigger or the modes changed?

Yes — more MAX7219 modules can be chained for a wider display, and the mode order, hold times and fonts are firmware settings. An alarm with a buzzer, automatic brightness control, or Wi-Fi time synchronisation can be added as customization.

Who is this project suitable for?

B.E. and B.Tech students in Electronics, E&TC and Electrical programs, because it combines real-time clock interfacing, SPI display driving, sensor reading and font rendering in one demonstrable prototype that can be carried into a review room and explained from the circuit up.

Components & software requirements
  • Arduino Pro Mini · ATmega168
  • DS1307 RTC module · software I2C
  • MAX7219 LED matrix · 32x8 pixels
  • Temperature sensor · thermistor
  • Custom MAX7219 driver
  • 5 V power supply
  • Arduino IDE · C++ firmware
  • Jumper wiring · base board
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation