I am submitting this instructable to the Arduino challenge. Please remember to vote!

My neighbor had a little problem with his cat. It want's to go out and back inside too frequently. Usually he opens just his kitchen window and let's the cat in/out. Usually the cat stays only short periods outside and want's soon to come back inside. And then again out and back in. Okay, he could just let the window open, but here in Finland it can be easily -30 C (-22 F) in winter, so this is not a good solution.

We decided to build a microcontroller to the window to open and close the window automatically. Arduino controls a strong servo motor, which moves the window. It has three proximity sensors to sense where the is cat is.

Step 1: Parts list

Main parts:
1 pc suitable power adaptor to juice the Arduino (input voltage 7-12V dc)
1 pc Arduino microcontroller (or equivalent *duino)
1 pc strong servo motor to move the window. I used Towerpro MG995 Metal Servo with Gears (10kg Torque).
3 pc Pololu 1134 carrier board with Sharp GP2Y0D810Z0F Digital distance sensor 10 cm 
1 pc "Third hand" to hold the sensors
1 pc cat (operator)

Misc. parts:
some wire
suitable casing
small window hinge
some metal parts to fix the servo to the window frame, screws, etc

Tools etc:
Solder & soldering iron
Computer & usb cable to program the Arduino

<p>congrats! how did you do the servo arm?</p><p>thank you!<br>marC:)</p>
<p>Servo arm was made from brass rod. The window side was drilled and thread made with threading tool. The other end was sawn and attached to servo plastic arm with a pin. This configuration has been working now for 3 years. Only one mains transformed was lost in a thunderstorm, no other problems. The window has run many thousands of opening and closing cycles.</p>
nice! <br> <br>can you post a video working?
One little thing, how does the sensor distinguish between the housecat and other small animals? <br>What happens when a varmit shows up at the window? I guess they don't have raccoons or possums in Finland, but what about neighbor cats &amp; magpies? <br>
Yes, there is no way how a simple IR detector could distiguish varmit and a cat. However, the alternative of having the window open all the time this is definitely better. A wild animal has also even steeper learning curve to use automatic window. The windows sudden movement is sure to scare wild animal away at least for some time.<br><br>If needed, it could be arranged that the cat cas a RFID tag and then the window opens only when right RFID is around. In our case this was not an issue. Good point, though.
Whisker recognition software.......
Outstanding! I will not let our cats see this, lest they increase their demands. Supervisor Cat Her Majesty Holly is also a black tuxedo kitty.
Very nice project :)<br><br>A video would be great !
Sorry for a dumb question, but do you really always need the arduino board to be able to construct prototypes? or can the software be used to program a custom circuit?<br><br>I'm new with this arduino thing.
Exellent question: of course you can make custom circuit. The easiest way to program the microprocessor though is to program it in developement board &quot;Arduino&quot;. You can even take the controller away after the programming to your circuit and buy a new microcontroller into your developement board. Look the link below for ideas.<br><br>http://www.instructables.com/id/DIY-Arduino-or-The-DIY-Duino/
Very clean installation. Great project.
LOL I misread that &amp; read it as &quot;arduino controlled cat&quot; LOL.
Lol! Not yet so advancved! It would be totally new approach to the problem!
LOL I could never do that to my cat master.
Your cat is like my Heidi!<br><br>Awesome project!
Greetings to Heidi! Thanks!
Nice instructables!

About This Instructable


64 favorites


Bio: I am pharmacist and I continuously get quoted that I should be in some other profession because my interests are so wide. Personally, I think ... More »
More by saastamo: Garmin GPSmap 60(CSx) Battery Power Fix = More rugged GPS Repairing and improving of the legs of a chair: increased footprint Hanging retro cassette led lamp
Add instructable to: