A shot of the underside of a "One Fast Cat" cat wheel with an installed ESP8266 and hall effect sensors attached to the base.

Spy On Your Cat To Make Sure It Gets Its Paws In

[Scott Cutler] has a young cat, [Cygnus], that loves to run on a cat wheel and [Scott] had some some important questions about [Cygnus]’s usage of the cat wheel like, how often it’s used, what direction is preferred and how fast does [Cygnus] go. To answer these questions, [Scott] put some telemetry sensors onto the cat wheel and analyzed the results.

An ESP8266 microcontroller and two 3144E hall effect modules were used to sense eight magnets glued onto the outer housing of a “One Fast Cat” cat wheel. [Scott] installed the ESP8266 and hall effect modules onto the base support for the wheels, using 3D printed brackets to secure them.

For the software side, the ESP8266 attaches an interrupt handler whenever a sensor passes by, recording a window of three previous measurements for valid sample determination and, if accepted, uses the time between samples to infer direction and speed. The ESP8266 connects to a pre-configured local WiFi network and has a telnet interface to extract stored log information, in the form of JSON data.

[Scott] has some nice graphs and other data visualizations on [Cygnus]’s usage, including a preference for running at 3 AM, achieving a maximum speed of 14 mph and an average of 4 seconds per run. The source is available on GitHub and the STL files are available embedded in [Scott]’s write-up. We’ve featured cat exercise trackers before with a giant hamster wheel outfitted with a Raspberry Pi and it’s nice to see some options that allow for a retrofit option in addition to a complete DIY solution.

Exercise Wheel Tracks Kitty’s Fitness Goals

A few weeks ago [Jasper Ruben] built his cats a jumbo size hamster exercise wheel. They seemed to like it, so he decided to up the ante and upgrade it. The wheel now features a Raspberry Pi which can track speed, calculate distance traveled, and determine the equivalent running speed of [Jasper’s] feline companions.

To calculate the speed of the wheel, [Jasper] is using a small coil sensor (similar to how bicycle speedometers work). Six nails in the wheel trigger the sensor. Once the data is on-board the Pi, some simple calculations allow [Jasper] to provide a few different metrics on how effective the cat exercise is. A webcam sends a live stream of the wheel online with a data overlay for your viewing pleasure.

The really cool part is that this setup lets [Jasper] track when (and if) the cats actually use the exercise wheel. So far it seems like they use it about six times a day, with an average of a minute per walk — typically early in the morning between 5 and 8AM. That’s better than some of our own exercise habits!

Continue reading “Exercise Wheel Tracks Kitty’s Fitness Goals”