AR-165IntermediatePremium

Habit Chain: Don't Drop Your 2027 Resolution (Arduino + DS1307 + 8x8 NeoPixel + 2 Buttons)

The don't break the chain method on your desk: press button A every day, that day's square on the 8x8 matrix lights green and the 64-day chain grows by one link. A day without a press stays red. Button B shows how many days in a row you have kept going. The DS1307 clock counts the days and the chain lives in its battery-backed memory, so it survives unplugging. Counting days from a real-time clock, keeping a record in bits, telling short from long presses.

0.0(0)
Habit Chain: Don't Drop Your 2027 Resolution (Arduino + DS1307 + 8x8 NeoPixel + 2 Buttons)
Most New Year's resolutions are forgotten before January ends, because you cannot see your progress. In this project your resolution sits on your desk, right in front of you. Each day, once you have done your task, you press a button and a green link joins the glowing chain. As the days pass the chain grows and you do not want to break it. Skip a day and that square stays red, and your streak starts again from zero. After sixty-four days the board is full, and by then the habit has settled in.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions