7segment LED bedside clock

I needed a clock i could read in the dark, so i put this together from things i had lying around and a 7seg LED i got today from Adafruit

Similar projects worth following
Using a Arduino Duemilanova, said 7segment LED Display with backpack from Adafruit, and four buttons i took from an old project i put this together. Might make a nicer enclosure some day.

Using the outer buttons you can scroll through the following "screens": "HH:MM", "MM:ss", "", "YYYY" and finally one screen with all LEDs turned off.
Using the inner two buttons you can select either the left or the right digit group. Then you can use the outer buttons to increment/decrement the digit group which is then highlighted using the decimal dots.

I was lazy and used 30 days for incrementing the month value which makes setting the date kinda awkward.

Also the buttons use the internal pull up resistors of the arduino.

Want to add a screen displaying swatch beats and another displaying the time in hexadecimal format by dividing the day in 16 hexhours which are equivalent to 1,5 hours, and these into 16 hexminutes which are equivalent to 5,625 minutes, etc.

  • 4 × push buttons had them lying around
  • 1 × arduino duemilanove had it lying around
  • 1 × Adafruit 0.56" 4-Digit 7-Segment Display w/I2C Backpack - Red

  • added bears and hex screen

    mlatu02/08/2015 at 12:18 0 comments

    So i added a screen for beats and another for my idea of a hex time. Problem with the hextime is that the time libraries for the arduino return now as seconds since epoch. pythons time.time() returns it with milliseconds. Fiddling around with millis() brought me flickering hexseconds... probably need to change now() to return the time including milliseconds.

  • ​Well, that was fun so far.

    mlatu02/07/2015 at 23:35 0 comments

    And it looks nice.

    I will need to add a brightness setting screen sooner or later.

View all 2 project logs

Enjoy this project?



Avamander wrote 02/11/2015 at 21:01 point

Needs a nicer enclosure and better display. Although quite normal.

  Are you sure? yes | no

mlatu wrote 02/11/2015 at 21:30 point

The display is perfect for my needs and i also like these 7segment displays, but i agree on the enclosure.

Maybe you dont like the display because it looks like it's lacking contrast, but the picture is just real bad.. i'll make another when i find the time to add the brightness settings screen.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates