Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Windows IoT
Published © MIT

Cat Door with Pet Recognition

Use object detection to let your cat in and out of the house with a motion-activated pet door.

IntermediateFull instructions provided10 hours45,290
Cat Door with Pet Recognition

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
We use a Raspberry Pi, but you can also use a Minnowboard (linked below)! Just replace "ARM" with "x86" in the instructions
×1
MinnowBoard MAX
MinnowBoard MAX
You can use a Raspberry Pi 3 instead, just replace "x86" with "ARM" in the instructions.
×1
Microsoft LifeCam 3000
Any USB camera will do!
×1
PIR Motion Sensor (generic)
PIR Motion Sensor (generic)
×2
Servo Plate A
×2
HS-485HB Servo
×2
LED (generic)
LED (generic)
×2
Pet Door
This is the pet door we'll be using, but feel free to try the project with your own if you're up for it!
×1
Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface - PCA9685
Used to control your PWM servos over I2C
×1

Software apps and online services

Windows 10 IoT Core
Microsoft Windows 10 IoT Core
OpenCV
OpenCV
You'll need to build this separately. See the instructions for more details.
Microsoft Visual Studio 2017

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Saw (generic)
You'll need to cut the servo plates to allow the pet door to open completely.
Drill (generic)

Story

Read more

Custom parts and enclosures

Servo Connector

Print out two of these and attach them to your servos on the side of the door opposite the existing stoppers. This allows your servos to control the door's opening and closing.

MinnowBoard Max half case

Use this half case to mount your MinnowBoard to your door

Schematics

Wiring Diagram

Fritzing diagram for the pet door

Wiring Diagram image

The Fritzing diagram as a JPG

Code

Pet Door GitHub repository

Clone this and open the VS2017 project file on your local machine, then link the OpenCV binaries and deploy it

Credits

Windows IoT
38 projects • 2539 followers
We want to transform lives by connecting people, processes and objects. Build what matters most to you. Create the Internet of Your Things.

Comments