3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Give Your Cat Twitter Powers

Give Your Cat Twitter Powers
«
  • twitter_cat_traced.jpg
  • 3454984028_bee20d4232.jpg
  • twitter-screencap.jpg
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 1Theory / Overview

Theory / Overview
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
« Previous StepDownload PDFView All StepsNext Step »
32 comments
Mar 19, 2012. 3:49 PMvenom1539 says:
This instructable is AWESOME... only if I had a cat.
Apr 19, 2009. 5:59 PMbumpus says:
:3
Apr 19, 2009. 9:29 PMdisturbed_1 says:
agreed :3
Jan 2, 2010. 8:05 PMmason0190 says:
i second that :3
May 1, 2010. 10:21 AMM4industries says:
thirded =3
Jun 13, 2010. 11:59 AMfirefliie says:
fourth...ded :3
Feb 9, 2011. 8:47 PMjackmcd007 says:
fifth...ded :3
Jul 8, 2010. 11:45 PMshnoofadoof says:
sixth....ded :3
May 22, 2011. 2:13 AMboom1234 says:
seventh....ded :3
May 29, 2011. 3:35 PMJimmacle says:
(removed by author or community request)
Jun 7, 2011. 9:36 PM~Z~ says:
Ninth...ded :3
Jun 8, 2011. 8:06 AMJimmacle says:
OVAR 9000....ded :3
Jun 8, 2011. 7:07 PM~Z~ says:
Your supposed to go in order....ded :3
Jun 9, 2011. 7:39 AMJimmacle says:
I know....ded :3
Jun 23, 2011. 11:03 AMSirNoodlehe says:
what he said ^ :3
Feb 23, 2012. 5:57 PMAgentfern says:
:3 .....ded
Aug 30, 2010. 2:32 PMCatch_22_ says:
just letting other people know, the second image was made with Fritzing it's a great editor and has a lot of different uses
Mar 18, 2010. 1:13 PMBassGeek says:
Haha! i love it!
Feb 19, 2010. 7:17 PMSonic says:
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!
Dec 3, 2009. 6:29 AMAKNeal says:
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?
Jan 6, 2010. 2:38 PMlunchboxslayer27 says:
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Oct 19, 2009. 8:15 AMArgon27 says:
Way awesome!
Sep 25, 2009. 1:22 AMI died with my head in a washing machine says:
awesome but fu**ing pointless but still mega cool :)
Sep 11, 2009. 6:21 PMmaxpower49 says:
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
Aug 15, 2009. 1:36 PMqwertyman10 says:
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.
Aug 4, 2009. 8:49 AMwhatevers says:
kittys now twitters... cant wait for animal planet to catch on
May 30, 2009. 6:43 PMLuminousObject says:
I'm almost done doing this for my dogs. Thanks for teaching me this.
Jun 28, 2009. 5:15 PMPyrotechnic-Robot says:
I am sure that ur dog will love his new powers!
May 3, 2009. 9:33 PMRazorConcepts says:
I get an error: "The constructor Twitter(String,String) is undefined" Any ideas? The jar file is in the code directory. Thanks!
Apr 24, 2009. 9:45 AMget to da parakeet says:
LOL NICE DESIGN
Apr 24, 2009. 9:44 AMget to da parakeet says:
this works with my dog odie too, wich is great cuz he is always on his be :P
Apr 19, 2009. 11:19 PMSinAmos says:
Twitter has died.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
6
Followers
2
Author:bpunkt