Project Floofball: An Iot Hamster Wheel

Made by 8BitsAndAByte

About the project

An IoT Hamsterwheel made using a Raspberry Pi and a magnetic door sensor, to see how far my hamster runs.

Project info


Estimated time:

1 week


11th September 2018

Items used in this project

Hardware components

Standard LCD 16x2 white on blue x 1
Magnetic Contact Switch x 1
Raspberry Pi 3 Model B x 1

Software app and online services

ThingSpeak API

Hand tools and fabrication machines

Laser cutter (generic) x 1


The final project is an IoT hamster wheel made with a Raspberry Pi, that tracks my hamster's runs in his wheel.

Full project video below:

Full project video.

I used a magnetic door sensor to track the turning of the hamster wheel, not only because it's very easy, but it also wouldn't hurt or kill my hamster.

Magnetic door sensor

A first working test version, attached to an old hamster wheel.

A first working test version, attached to an old hamster-wheel.

All attached to the real hamster wheel in Harold's cage, ready for a test run!

Test setup.

Harold testing his IoT wheel, he seems to like it :)

A lasercut box in progress, to hide all the wires and hold the LCD screen.

A summary of all the data collected so far. As you can see, it's not always very accurate, the sensor got stuck a number of times, creating records of +40km a day, but overall it's pretty neat!

The data collected by the IoT hamsterwheel.


All the project files are available here.



Hi, we're two makers that create stuff, which we happily share with you! Our channel:

Leave your feedback...