YAY Tracker

Published: Sep 12, 2020 by K. E. Claytor

So I’ve been mostly enjoying pandemic work-from-home. The one thing I don’t like though is the easy access to snacks. So to try to reduce my snacking consumption, I thought I would try to replace the instant gratification of a snack with something else.

Thus was born the “YAY Tracker” - instead of going for a snack, I can click “YAY” (A button) and get some motivational support! If I can’t refuse temptation and end up getting the snack, I can click the “NAY” (C button) and get some support for next time. The total counts of “YAY”s (snack avoided) and “NAY”S (whoops snacked) are logged throughout the day and can be accessed (B button).

Here’s what it looks like:

YAY Tracker in action

This project also appears at:

This project costs $43 and is easy:

  • Hardware: Easy
  • Software: Easy
  • Assembly: Easy

Hardware

The electronics parts list consist of:

  • Feather M0
  • Featherwing OLED 128x32
  • Lithium Ion Battery 400 mAh

Wiring & Assembly

Solider on some short headers or stacking headers to the feather, snap on the LCD featherwing, sandwiching in the battery, upload the code, and you’re good to go.

Code

The full source is on Github, I re-used the button code from the multipad project.

There’s nothing too fancy about it - pull a random message from a list, increment a counter, keep track of display levels. Regarding the dispaly, the Adafruit displayio has an excellent tutorial.

Conclusion

This was a fun introduction to the adafruit drawing library, but ultimately it did not help me in my snacking goals. Some improvements would be longer battery life to where it could go the whole day on a charge, and storage of the yay/nay counts so they don’t reset when power is lost.

programming, electronics, kids projects, circuitpython, micropython, python, project, easy, diy, improvement, time tracking

Share

Latest Posts

House Temperature Logging

I was interested in temperature, humidity monitoring around the house to see if there were any trends, or if the basement was getting too humid. In particular, looking for a low-effort way to get data into a dashboard, I was eager to try out the AdafruitIO framework. They limit you to two managed whippersnapper devices (but you can have more using your IO key), and 10 feeds (this is the real limiter, with each stream of data being one feed).

Netrunner Laser-Cut Identities (Smoke & Outfit)

After the success of the last Netrunner laser-cut ID’s I thought I would do another set for East Coast Nationals 2023. This was right before Smoke (one of my favorite runners) was going to rotate, and The Outfit was doing super strong, so I had an easy time deciding what to do.

Netrunner Laser-Cut Identities

I’ve been using the laser cutter/engraver to generate some Netrunner identities for some time, and finally got some that look really good.