DIY Hamster Pedometer

unfortunatalie

New member
Member
Messages
1
Reaction score
4
Points
3
Hi all! Last night was the first test run of my DIY hamster wheel pedometer. It uses a Raspberry Pi Pico W (tiny little computer board with Wi-Fi) and a magnet sensor (KY-003). Oh and the most important ingredient is my hamster Marcel, who I believe @theblondemo introduced here a couple days ago.

WhatsApp Image 2024-04-09 at 14.25.46.jpegWhatsApp Image 2024-04-09 at 14.25.41.jpeg

Here's the janky duct-taped setup 😆
That's a Petsathome ~29cm wheel (28.5cm inside diameter), which has plenty of olive oil in the bearing because it was making a racket... anyway

I thought I'd build up suspense for the test results from the first night..

1712669413137.png
22.85km!! That's like 14.2 miles! The Wikipedia page for robo's says 6 miles (with a citation that doesn't really go anywhere so that's dodgy) so I'm very proud of my little athlete.

All the code is open-source over at https://github.com/possibly-not/hamptometer if you happen to be a computer science nerd like me 😆
Currently working on making it look nicer plus adding more statistics (i.e speed, and times active). I've already added a spinning robo image.
 
Wow this is really interesting! Can you explain a bit more? I know what a Raspberry Pi is but do you programme it to read the cycles? (Presumably?). I think 15 miles sounds about right for a Robo!

If you're good at this type of thing I'd like to see the next stage - ie get it working with alexa to turn the lights on :ROFLMAO: Or even better, to power a light bulb? I do remember someone on youtube many years ago did something like that I think.
 
It is isn’t it! What’s the latest distance your Robo has run @unfortunatalie ?
 
she texted me his movement hehe, he's so fast! we're coparents of the little man :3 also bear in mind he has two wheels so the distance is likely even higher!
 

Attachments

  • IMG-20240414-WA0010.jpg
    IMG-20240414-WA0010.jpg
    46.9 KB · Views: 6
  • Love
Reactions: Maz
I would love one for my little dwarfie, but couldn't even begin to understand how to make one!! Very clever indeed. Such an interesting topic how many miles they cover, incredible.
Cheapest I've seen new are £16-17
 
  • Like
Reactions: Maz
Back
Top