Introduction: RunningHam Palace - Online Hamsters

This is my hamster, Ham. He loves running around at his place, the RunningHam Palace.
Few months ago, while I was visiting the MIT Media Lab, a friend of mine told me about Sushi, the online hamster; a fun project by Gershon Dublon in which a RaspberryPi counted the spins of the wheel through a sensor and served a website with the "running stats".

I live by myself, so I though it would be good for me having a pet... and even better to do something fun with it, so I adopted Ham and started the RunningHam project (@RunnerHam on twitter because RunningHam was taken :( )

Do you have a Hamster? do you want to track his running stats? here is what you need to do:

Step 1: Get the Obvious Stuff

  • A hamster. just fall in love with one and adopt it, they are all awesome!
  • A nice place for him or her with a spinning wheel.
  • An internet connection via WiFi close to your hamster.

Step 2: Make the Electronics

  • Build the circuit board: Here you have my own schematics, feel free to use them. I usually make my own boards, so if you need help with that, let me know and I'll try to make you one... I know this might get a little crazy, but I'd love to see more connected hamsters in the world!
  • Arduino: that board is for an Arduino Nano, I know it is a little too much, but they are cheap and I have a lot of them.
  • ESP8266-01: This is the wifi module that will help you connecting to your network. It is actually possible to make this whole thing without the Arduino and just writing the code on the ESP8266, but the SDK wasn't available when I made this project.
  • AMS1117: The 3.3V regulator to power the ESP8266. Do not try to use the 3.3V on the arduino, it will just die on you because it doesn't supply enough current.
  • A3144: A hall sensor that will help you counting complete spins on the wheel
  • Magnet: You will need to put the magnet on the wheel and place the hall sensor about 1cm away on the wall.
  • KF2510 (1x5p, 1x4p, 1x3p, 1x2p): Typical molex connectors.
  • 3 LEDs: Make them any color you like.
  • 10K and 220Ohm resistors.

Step 3: Get the Software

  • Create a ThingSpeak account and make a new channel with, at least three fields:
    • Current Speed
    • Total Distance
    • Maximum Speed
  • Download the ESP8266 Arduino library and place it in the Arduino folder on your computer
  • Open the Arduino sketch and edit the lines with the comment //EDIT...
  • Upload the code to your new board and just wait for your hamster to start running!

Step 4: Make One and Let's Race!

Let me know if you have any question or in case you want to compete on an virtual hamster race!

You can check Ham's latest workouts and news on his twitter account (@RunnerHam) and his full running stats on his ThingSpeak channel

Enjoy!

@mifulapirus

Comments

author
BrunoN28 made it! (author)2016-11-10

Awesome!

How can I open these brd and sch files?

Can I use this board with 12 V PSU only? Should I plug it to USB charger?

author
Yo seba made it! (author)2016-05-22

Aquí tenéis mi nueva guía:

There you have a new guide:

https://www.instructables.com/id/Running-Ham-Palace...

1500x500.jpgChmIDP4WEAA3F_F.jpg
author
PelaM made it! (author)2016-02-09

Enhorabuena!!!
Me gustaria implementarlo en la rueda de mi "Chispa" que ahora está con un ordenador de bici el cual marca 10-12kms durante 3-4horas cada noche!!!.

Pero me surgen algunos problemas...

- Imposible abrir los archivos .BRD .SCH con Eagle 6.2 (una imagen .JPG podría ayudar)

- Revisar conexiones y resistencia 10K del sensor Hall A3144 segun datasheet e imagen adjunta.

- Seria interesante añadir en el codigo arduino el sensor DHT11 / DHT22 que se observa previsto en la placa.

Un saludo y MILGRACIES!!!

sensor-efecto-hall-a3144-detector-campo-magnetico-nubbeo-475411-MLA20551210698_012016-O.jpg
author
Yo seba made it! (author)Yo seba2016-02-19

Estoy preparando una nueva versión con algunos cambios, en breve publicaré todo :)

author
GO chispa GO made it! (author)GO chispa GO2016-02-19

OK... ya hay rival !!!!

GOchispaGO.blogspot.com

author
J-Five made it! (author)2015-05-02

"I keep on running but I'm not getting anywhere, but why?"

author
marcin.stecki.1 made it! (author)2015-04-19

hello and congratulations. "The internet of animals" is coming, thanks to you ;)

My daughter has the small hedgehog (http://en.wikipedia.org/wiki/African_pygmy_hedgeho... living in the luxurious big plastic box apartment, with gym. His spinning wheel was squeezing all nights long, so we were interested about his running distance. I installed the cheap bike computer with many functions. Fortunately this little device supports spinning wheel diameter (5 in).

Unbelievable , but he runs 8-10 km every night, with the average speed 4,5 km/h.

author
Mifulapirus made it! (author)Mifulapirus2015-04-19

Wow! That is a lot of exercise!
It would be awesome if you could upload that data so we could start building an actual Internet of Animals... I loved the name :)
Ham says hello to your Hedgeho!

DSC_0215.JPG
author
ashleyjlong made it! (author)2015-04-17

Congrats on your new pet! I'm a big supporter of adopting and so many people just dump little guys like this when they get bored of them. Very impressive to see such a small animal running over 5k!

author
Mifulapirus made it! (author)Mifulapirus2015-04-18

He actually exercises way more than I do ¬¬

HAHAHA

author
Kozmicblues69 made it! (author)2015-04-18

This is so cool! It's very surprising to know how many kilometers make a hamster. I had one hamster and he was always on his wheel I always wander how much he ran. Now I can make an estimated guess. I'll keep your tutorial at hand in case I get another hamster. Thanks for sharing this!

author
Mifulapirus made it! (author)Mifulapirus2015-04-18

I was not expecting him to run so much! Ham needs other hamsters to compete with, so go for it!

author
Kiteman made it! (author)2015-04-18

Does the code take the diameter of the wheel into account, or are there numbers you have to change yourself?

author
Kiteman made it! (author)Kiteman2015-04-18

(Oh, and check your Inbox.)

author
Mifulapirus made it! (author)Mifulapirus2015-04-18

Cool!

author
Mifulapirus made it! (author)Mifulapirus2015-04-18

Yes, It does! mine is 43cm.

It is another line with the //Edit comment on it... it just didnt fit in the picture, I'll add it to the image in a moment.

About This Instructable

7,901views

46favorites

License:

More by Mifulapirus:RunningHam Palace - Online Hamsters
Add instructable to: