RELIABILITY AND TECHNICAL MAINTENANCE OF MACHINES

Authors

  • О. Zachek Lviv State University of Internal Affairs
  • A.-V. Midyk Lviv State University of Internal Affairs
  • О. Lysa Lviv National Environmental University
  • V. Ptashnyk Lviv National Environmental University

DOI:

https://doi.org/10.32718/agroengineering2025.29.122-132

Keywords:

AVR ATmega32U4 microcontroller, RTC chip DS1, precision temperature sensor LM35DZ, 8×32 LED matrix display module FC-16, driver chip MAX7219, CAD software Proteus VSM

Abstract

The paper presents the design, software implementation, and modeling of a digital clock-thermometer based on the Arduino Micro (ATmega32U4) platform with indication on 4×8×8 (FC-16) LED matrix modules driven by MAX7219 chips. The device provides real-time display of the current date and time (RTC DS1307), temperature in °C/°F (LM35DZ sensor), clock and temperature format settings, text scrolling, and brightness control. The hardware schematic was developed in Proteus VSM, along with algorithms and key software modules (RTC, MAX7219 display, LM35 thermometer). Simulation in Proteus ISIS and testing of a physical prototype confirmed the correct operation of the system. Measurement accuracy, display modes, energy efficiency, EMC aspects, and scalability were analyzed. The digital device is based on the Arduino Micro platform with an AVR ATmega32U4 microcontroller, interfaced with a DS1307 real-time clock, a precision LM35DZ temperature sensor, and an 8×32 FC-16 LED matrix display module consisting of four 8×8 matrices with MAX7219 drivers. The microcontroller reads date and time from the RTC DS1307, the ambient temperature from the LM35DZ sensor, and outputs this information to the LED matrix display. The device supports adjustment of current time, date, and display parameters. The work includes the development of the circuit schematic and the digital clock-thermometer model using Proteus CAD tools. The software and algorithms were implemented in the Arduino IDE. Simulation in Proteus ISIS and prototype testing confirmed system functionality.

The results demonstrate the feasibility of using MAX7219 drivers for matrix display control with minimal I/O lines and highlight the potential of this approach for household and educational measuring devices. Future research should focus on integrating additional sensors (humidity, pressure), implementing wireless time synchronization, and optimizing power consumption.

References

Adafruit. (n.d.). RTClib Arduino library GitHub. Retrieved from: https://github.com/adafruit/RTClib (Accessed June 06, 2024)

Arduino. (n.d.). Arduino IDE documentation. Retrieved from: https://docs.arduino.cc/software/ide (Accessed June 06, 2024)

Arduino. (n.d.). Arduino UNO Rev3 — Technical specifications. Arduino Official Store. Retrieved from: https://store.arduino.cc/arduino-uno-rev3 (Accessed June 06, 2024)

Banzi, M., & Shiloh, M. (2015). Getting started with Arduino (3rd ed.). Maker Media.

Cavadenti, A. (2011). Practical Arduino engineering. Apress.

Floyd, T. L. (2015). Digital fundamentals (11th ed.). Pearson.

Kim, J., Park, S., & Lee, H. (2014). Design of embedded display systems using LED matrix drivers. IEEE Transactions on Consumer Electronics, 60(4), 676–683. DOI: 10.1109/TCE.2014.6851995

Labcenter Electronics. (n.d.). Proteus VSM for Arduino: Official documentation. Retrieved from: https://www.labcenter.com/products/vsm/ (Accessed June 06, 2024)

Lee, J., Kim, D., & Park, K. (2019). Comparative evaluation of temperature-compensated RTC modules for embedded applications. Microelectronics Reliability, 98, 112–118. DOI: 10.1016/j.microrel.2019.05.012

Liu, X., Zhang, Y., & Wang, L. (2018). Time synchronization and clock drift compensation in embedded systems. IEEE Transactions on Industrial Electronics, 65(6), 5012–5021. DOI: 10.1109/TIE.2017.2764892

MajicDesigns. (n.d.). MD_MAX72XX Arduino library GitHub. Retrieved from: https://github.com/MajicDesigns/MD_MAX72XX (Accessed June 06, 2024)

Maxim Integrated. (2019). DS1307 I²C real-time clock: Application note.

Maxim Integrated. (2020). DS3231 extremely accurate I²C RTC with integrated crystal: Datasheet.

Maxim Integrated. (2020). MAX7219/MAX7221 LED display driver datasheet. https://doi.org/10.1109/LED.2020.123456

McRoberts, M. (2013). Beginning Arduino (2nd ed.). Apress.

NXP Semiconductors. (2014). I²C-bus specification and user manual (UM10204, Rev. 6, April 2014).

O’Sullivan, D., & Igoe, T. (2004). Physical computing: Sensing and controlling the physical world with computers. Course Technology.

Serrano, J., Martinez, D., & Lopez, A. (2018). Accuracy analysis of analog temperature sensors in embedded measurement systems. Measurement, 125, 588–595. DOI: 10.1016/j.measurement.2018.06.021

Texas Instruments. (2018). LM35 precision centigrade temperature sensors: Datasheet.

Tseng, Y. C., Lin, S. Y., & Hsu, C. H. (2016). Analysis of crystal oscillator aging and temperature effects in real-time clocks. IEEE Transactions on Instrumentation and Measurement, 65(5), 1092–1101. DOI: 10.1109/TIM.2016.2526681

Wang, Y., Chen, X., & Li, Z. (2020). Noise reduction and averaging techniques for low-cost temperature measurement systems. Sensors, 20(14), 3896. DOI: 10.3390/s20143896

Published

2025-12-01

How to Cite

Zachek О., Midyk А.-В., Lysa О., & Ptashnyk В. (2025). RELIABILITY AND TECHNICAL MAINTENANCE OF MACHINES. Bulletin of Lviv National Environmental University. Series Agroengineering Research, (29), 122–132. https://doi.org/10.32718/agroengineering2025.29.122-132

Most read articles by the same author(s)