All packs

Health

Reminder mug

A sleeve for your mug that counts every sip and reminds you to drink when you have gone too long without one.

  • Medium
  • about 50 min
  • ESP32-C3
  • 8 parts
  • 8 wires
  • 67 lines of code

ESP32 packs are built on real parts: the simulator runs Arduino Uno circuits only.

Idea

It cannot see water. It notices the mug being tipped, which is nearly always a sip. Choosing a cheap clue that is good enough is half of sensor design.

Before you start

Take the sleeve off before washing the mug, and keep the electronics away from spills.

What you learn

Counting events from a switch, and measuring how long since the last one.

How it works

  1. input

    Tilt switch

  2. decides

    ESP32-C3

  3. output

    OLED 0.96 in

    Buzzer

Powered with 5 V through the board's USB-C port.

A reference design. The sketch is compiled with the real ESP32 toolchain, and its pins are checked against the wiring table automatically. It has not yet been built and tested on real parts by us, so wire it on the bench and run the checks before you build it into a case. Real modules vary: follow the labels printed on yours, not their position in the picture.