Counts up time in various units since a set date
Switch branches/tags
Nothing to show
Clone or download
jerwil Made cursor flash when adjusting time or date
Also restricted day entry based on month, and fixed bug that would allow
months or days of value 0.
Latest commit 4540d2c Feb 25, 2016

Count Up Box

This is a project I created as a Valentine's day gift to my girlfriend. It counts up the amount of time we have been together as a couple in various units.

![] ( "Front View") ![] ( "Back View")


  • Displays amount of time since our first date in various units of time.
  • Uses a rotary encoder to determine direction knob is turned.
  • Backlight can be toggled using rotary encoder's built in momentary button.

How to Use

  • Press the button to turn on/off the backlight.
  • Turn the knob to change the units being displayed or the current time and date.
  • When displaying current time or date, hold down the button for 3 seconds to edit. Hold down again to switch between hours and minutes.

Blog Post

Check out the associated blog post here: Count up Box - A Valentine's Day Gift

Demo Video

Demo Video



I used the LiquidCrystal_I2C library, which you can obtain here: LiquidCrystal I2C


  • Arduino Nano (or equivalent)
  • DS1307 RTC (Real time clock)
  • 32.768 kHz crystal oscillator
  • 220Ω resistor
  • 4 10kΩ resistors (2 for rotary encoder, 2 for RTC)
  • 1602 LCD Screen with HD44780 controller
  • IIC/I2C Serial Interface Adapter Module (To communicate to screen via I2C)
  • Rotary encoder
  • Battery holder
  • Body/housing (lasercut design included in repository)

![] ( "Circuit board picture") ![] ( "View inside box")


![] ( "Circuit Board Layout") ![] ( "Rotary Encoder Board")

See the included Fritzing diagram (.fzz file) for details.


Creative Commons License
Count up box by Jeremy Wilson is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.