Skip to content

Want to know what your hamsters get up to while you are sleeping? Then make this project! (Will work for other nocturnal pets too!)

License

Notifications You must be signed in to change notification settings

mascondante/hamster-party-cam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hamster Party Cam

Hamsters are nocturnal, which means that they sleep in the daytime and come out at night. This means that when you are sleeping, your hamsters are up and about and when you are up and about, your hamsters are sleeping!

~ Violet

We need to find some way of being able to see what the hamsters are up to during the night. I suspect they are partying.

In this project, we are going to use a Raspberry Pi camera and a Pibrella with a Raspberry Pi to take pictures and video of the hamsters, triggered by their movement.

Requirements

As well as a Raspberry Pi with an SD card loaded with Raspbian, you'll also need:

Hardware

Software

  • python3-picamera
  • python3-pibrella

See more information on checking you have these packages installed, and how to install them, on the software installation page.

Extras

  • 1 x hamster cage with hamster wheel
  • 1 x hamster

Steps

  1. Setting up your Raspberry Pi, Pi Camera and Pibrella
  2. Create a trigger switch
  3. Create a Python program to take pictures of the hamsters
  4. Get the party started with lights!
  5. Hamsters need music to dance!

Worksheet & included files

  • The worksheet
  • (Optional) Final version of Python code hamster-party.py
    • Download to your Pi with wget http://goo.gl/2d67Wo -O hamster-party.py --no-check-certificate

Disclaimer

Adding lights and music to the party is fun but it could keep you awake at night, and may become a little annoying to adults, so you might not want to keep your speaker turned on every night.

It may also scare hamsters of a shy disposition, and as a hamster owner you have a duty to care for the wellbeing of your hamster. Check out the RSPCA Hamster Guide to learn more!

Community

Based on an idea submitted for the Raspberry Pi Poster Competition in December 2013 by Violet. It's been a pleasure to make this Raspberry Pi poster project idea a reality.

Licence

Unless otherwise specified, everything in this repository is covered by the following licence:

Creative Commons Attribution 4.0 International Licence

Hamster Party Cam by the Raspberry Pi Foundation is licensed under a Creative Commons Attribution 4.0 International Licence.

Based on a work at https://github.com/raspberrypilearning/hamster-party-cam

About

Want to know what your hamsters get up to while you are sleeping? Then make this project! (Will work for other nocturnal pets too!)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published