How To: Making a Raspberry Pi Christmas Countdown Ornament

The Hardware

The Software

The Code

  • Connect to the LCD
  • Get a date value for Christmas (12am because who can wait ‘till morning)
  • Calculate the difference between now and Christmas
  • Turn that into pretty string values for the number of days, hours, minutes, and seconds.
  • Output to the LCD
  • Wait 200 milliseconds to loop again

Putting it all together

I’m happy to answer any questions or hear feedback about how this is all wrong :) I’m on Twitter @adamfeil

--

--

Educational Psychology Ph.D., business analytics nerd, computer scientist, President @MakeStickers

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Feil

Adam Feil

Educational Psychology Ph.D., business analytics nerd, computer scientist, President @MakeStickers