We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Colour-changing LEDs remind you to clean out your cat’s litter tray

Do you have cats who use a litter tray and do you sometimes forget to empty that litter tray? If so, you might be interested in Manuel Bernhardt’s Raspberry Pi-powered project, which uses Rust to create a cat litter box reminder with LEDs.

The image showcases a small electronic setup with a series of green LEDs that are illuminated. These LEDs are connected to a circuit board, which in turn is linked to a breadboard via red and black jumper wires. The focal point is a strip of green LEDs, brightly lit. It is attached to a small circuit board containing visible components and connectors. Two jumper wires—one red and one black—connect the circuit board to a white breadboard. The breadboard itself doesn’t have any other visible components. In the background, there’s a curtain with white and brown abstract patterns.

Traffic light system

The idea is pretty simple: an LED strip changes colour depending on how long it has been since the last time you cleaned the litter box. It starts with light green when everything is still nice and fresh, then dark green when things start to get a bit stale, then orange, and finally red — by which time you really should have noticed the smell. But we pet lovers are nose-blind to so many things.

When the Raspberry Pi gets really concerned at the state of your litter tray, it’ll make the LED start blinking in red to annoy you. The indignity of being house-shamed by a tiny green computer should hopefully spark a burst of cleaning, leaving your kitty with a squeaky-clean place to pee.

The image you provided shows a black circuit board with eight white LED lights mounted in a row. Each LED is encased in a square, white plastic housing. The circuit board has silver soldering points and connections visible. Numbers from 0 to 7 are printed on the board below each LED to indicate their positions. Unfortunately, the text and symbols at the left end of the circuit board are not clearly visible in the image. Overall, it appears to be a setup for controlling LED lights using a Raspberry Pi or similar hardware.
The custom LED strip in a state of rest

Hardware

  • Raspberry Pi (any model should work, but Manuel used a Pi 3 Model B+ that he had to hand)
  • WS281X LED strip (he used a custom one which connects directly to Raspberry Pi’s GPIO)
  • A push button
  • A 230Ω resistor

The code is divided into three parts: detecting the button press, changing the LED colours, and implementing the logic for the reminder. To reset the litter tray reminder, you just need to press a button.

LED Stack in Acrylic Casing:
The image showcases a stack of electronic boards encased in a clear acrylic frame.
Each board features multiple green LEDs that emit a bright green glow.
Black wires are visible at the base of the structure.
The overall mood is modern and technological due to the illuminated LEDs and electronic components.
Missing Information:
Unfortunately, the OCR (optical character recognition) did not capture any specific text from the image.
Contextual Interpretation:
The stacked LED boards appear to be part of a project or device, possibly related to Raspberry Pi or other embedded systems.
The purpose of this LED stack remains unclear without additional context.
Manuel’s upgraded stack of Raspberry Pi reminders ready for deployment around the house

All that code is available on GitHub, and you can find a longer explanation of each part of the build on Manuel’s website. He also detailed a recent upgrade to the project in which he expanded the cat-litter-reminder Raspberry Pis to a whole network. This has allowed him to spread them all over the house so that forgetting about his daily doody duty is now almost impossible.

1 comment

Jim avatar

Interesting. I built an enclosed litter box that was in the garage with a tunnel from the house, illuminated with a 4 watt night light. This was 16 years ago, but today, I would use a distance sensor to detect, and count, changes in the distance to the litter box, alerting after a number of “visits”. I’d have a web app to input how “full” the box is and map that to the count, and learn how many visits to have before alerting via email/text message.

Comments are closed