Skip to content

antodale/Digital_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Clock

An arduino based digital clock built inside the shell of an old diaphanoscope for dentists. With fun lamp options activated through the switches, a manual bright mode and automatic dimming for the night time and a color + brightness change in very bright environments thanks to a photoresistor. Necessary components are:

  • Arduino nano board,
  • RTC external component for Serial communication,
  • a configurable number of programmable multicolor leds,
  • 2 toggle swithces,
  • 5 10k resistors,
  • 1 photoresistor.
circuit

I strongly reccomend the use of an external power supply, and not to power the whole project thorough the arduino usb input (I used 40W one, even if it's a bit an overkill).

PXL_20260311_185833964

PXL_20260311_185816040

PXL_20260311_185841173

The clock has 4 different modes encoded through the position of the two switches:

  • Orange clock with automatic brightness adjustement
  • Bright clock
  • Lamp
  • Off In order to set the time, simply run the project SetTime that you find in the folder Utils. This snipet will communicate through the arduino serial with the rtc, setting the time in the rtc chip. The set time will be kept in memory even after uploading the clock-lamp code.

Freely inspired by : https://www.instructables.com/Ping-Pong-Ball-LED-Clock/

About

An arduino based digital clock with fun lamp options

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors