A clock created as part of a school project, featuring various functions programmed on an Arduino Nano.
Donations
Pressing the connected buzzer adds one Euro to the displayed donation total.
Time
The built-in quartz module allows the Donation Clock to calculate and display the current time.
Timer
An integrated timer shows the duration of the ongoing donation activity.
Buzzer
The buzzer, which can optionally be connected via a 3.5mm jack plug, makes the timer and donation functions much more pleasant to use. The buzzer can start, stop and reset the timer. In addition, you increase the account balance by 1 € if you press the buzzer.

code sample
Bit mask for the 7 segment displays