Give Your Cat Twitter Powers by bpunkt
Featured
Give your cat a Twitter account and have her post updates automatically whenever she sits down on her bed or when she leaves her bed. In addition, capture pictures of your cat when she's on her bed and upload those as well so you can keep tabs on her antics while you're away from home.

In this instructable, I'll walk you through the process of
  • building a cat sensor out of a simple momentary switch, foam core and foam strips
  • reading the cat sensor on your Mac or PC using Arduino and Processing
  • automatically posting status updates to Twitter when your cat takes a nap or wakes back up
  • taking pictures of your cat on the bed with a webcam and uploading the pictures to a webserver

Want to see a twittering cat in action? Follow @zooooey on Twitter.

This instructable is inspired by Tom Igoe's Networked Cat Project in the book "Making Things Talk"
 
Remove these adsRemove these ads by Signing Up

Step 1: Theory / Overview

cat-diagram.jpg
The overall plan is as follows: We'll first build a cheap "cat sensor". To read that sensor from a PC, we'll use an Arduino board running Firmata firmware. To take pictures of your cat, we'll capture still images from a web cam stream. All the logic will be handled in Processing. We'll use existing libraries to send Twitter updates whenever your cat sits down or leaves the bed. When the cat is on the bed, we'll capture still shots and upload those to a web server using FTP. We'll then add links to the pictures to the Twitter messages.

Here's the shopping/scavenging list, from most to least expensive:
  • 1 old laptop or PC with internet connection. Mac or PC will both work fine; Linux will be trickier - you're on your own there with video capture support.
  • 1 webcam
  • 1 Arduino board + USB cable
  • 1 momentary switch
  • stranded wire (I like 24AWG)
  • 1 sheet of foamcore
  • some springy sheet material (e.g. Foamies sheets)

Tools: Just the basics
  • soldering iron
  • xacto knife
  • hot glue gun
simdude2u says: Feb 20, 2013. 10:23 PM
Like the real twitter birds
http://www.mediabistro.com/alltwitter/real-birds-tweet_b31976
venom1539 says: Mar 19, 2012. 3:49 PM
This instructable is AWESOME... only if I had a cat.
bumpus says: Apr 19, 2009. 5:59 PM
:3
disturbed_1 says: Apr 19, 2009. 9:29 PM
agreed :3
mason0190 says: Jan 2, 2010. 8:05 PM
i second that :3
M4industries says: May 1, 2010. 10:21 AM
thirded =3
firefliie says: Jun 13, 2010. 11:59 AM
fourth...ded :3
jackmcd007 says: Feb 9, 2011. 8:47 PM
fifth...ded :3
shnoofadoof says: Jul 8, 2010. 11:45 PM
sixth....ded :3
boom1234 says: May 22, 2011. 2:13 AM
seventh....ded :3
Jimmacle says: May 29, 2011. 3:35 PM
(removed by author or community request)
~Z~ says: Jun 7, 2011. 9:36 PM
Ninth...ded :3
Jimmacle says: Jun 8, 2011. 8:06 AM
OVAR 9000....ded :3
~Z~ says: Jun 8, 2011. 7:07 PM
Your supposed to go in order....ded :3
Jimmacle says: Jun 9, 2011. 7:39 AM
I know....ded :3
SirNoodlehe says: Jun 23, 2011. 11:03 AM
what he said ^ :3
Agentfern says: Feb 23, 2012. 5:57 PM
:3 .....ded
dontkillpenguins says: Jun 9, 2012. 10:13 AM
dead
Catch_22_ says: Aug 30, 2010. 2:32 PM
just letting other people know, the second image was made with Fritzing it's a great editor and has a lot of different uses
BassGeek says: Mar 18, 2010. 1:13 PM
Haha! i love it!
Sonic says: Feb 19, 2010. 7:17 PM
This is What I was looking for! thank you!!
...
 is there any way you could post the code in a txt file or something?
I find this really confusing!
AKNeal says: Dec 3, 2009. 6:29 AM
Ive never messed with Arduino baords before, let alone the software. Is it possible to have a sensor set up for sound or motion so you could place another one around the food dish, scratching post, or even the literbox. If you're going to give your house pet the ability to Twtter, why not let them Twitter about everything they do?
lunchboxslayer27 says: Jan 6, 2010. 2:38 PM
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Argon27 says: Oct 19, 2009. 8:15 AM
Way awesome!
awesome but fu**ing pointless but still mega cool :)
maxpower49 says: Sep 11, 2009. 6:21 PM
lol i wonder what if the new version of white and nerdy instead of making a webpage for his dog he made a twitter for his cat
qwertyman10 says: Aug 15, 2009. 1:36 PM
From the title,I almost thought it was a joke,but that is awesome. couldn't you even make a running web cam to see video? I don't have a cat, but this still sounds like fun.
whatevers says: Aug 4, 2009. 8:49 AM
kittys now twitters... cant wait for animal planet to catch on
LuminousObject says: May 30, 2009. 6:43 PM
I'm almost done doing this for my dogs. Thanks for teaching me this.
Pyrotechnic-Robot says: Jun 28, 2009. 5:15 PM
I am sure that ur dog will love his new powers!
RazorConcepts says: May 3, 2009. 9:33 PM
I get an error: "The constructor Twitter(String,String) is undefined" Any ideas? The jar file is in the code directory. Thanks!
get to da parakeet says: Apr 24, 2009. 9:45 AM
LOL NICE DESIGN
get to da parakeet says: Apr 24, 2009. 9:44 AM
this works with my dog odie too, wich is great cuz he is always on his be :P
SinAmos says: Apr 19, 2009. 11:19 PM
Twitter has died.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!