Displaying Seconds Using Analog Meter in Digital Clock

Tags

Displaying Seconds Using Analog Meter in Digital Clock

Overview

This digital clock uses a standard time display format with a great feature of displaying seconds using an analog meter.

Details

To make the digital clock easily upgradeable and can be sync with tome over serial if necessary, it was built around an Arduino. There are 15° narrow beam LEDs used to provide some not so bright lights in the room along with 2.2K Ohm resistors. The stripboard used contains LEDs with 5 strips between them. They are used to take each LED down to the bottom to connect to the Arduino, added the circuitry for the switches to the top, and connected the grounds together.

A high precision RTC module was used along with a backup battery so that the time would be set very rarely. The internal crystal of the Arduino can also be used to provide the accuracy of the clock but it would drift and the time will require being set frequently. To communicate to the RTC, the Arduino uses I2C bus using analog pins 4 and 5. The second hand for the clock uses PWM to control the movement of the gauge with the proper alignment.


EmoticonEmoticon

Advertisement