RFID cat door

RFID cat door
This is a cat door/flap that can only be opened by the animal that wears the appropriate RFID tag. Arduino controls the process. It features a custom made antenna large enough to function as a gate, which makes it easy for the animal to activate and quite reliable. Some methods and techniques are borrowed from my previous project, the RFID cat feeder. Whereas the feeder controls access to a food bowl, the door controls access to an entire room. The latest code can also distinguish between tags to allow the system to behave differently for different individuals.  


How it works:
1. In the beginning the door is locked, cat is outside
2. Cat walks up to the gate, RF tag gets read within about 4 inches
3. Door unlocks and a light comes on. 
4. Timer ensures that door stays unlocked long enough to give cat a chance to respond
5. Cat pushes open the flap and enters
6. Flap falls back, activates Hall effect sensor, and the door locks
7. Going from the inside out, an infrared proximity sensor detects the presence of an animal if within about 10 inches and unlocks the door.

Most animals will quickly learn to push the flap in response to the click (lock) and the light. Make sure that the edges of the door and the doorway are padded with soft material for when the tail gets caught! A few painful experiences may be enough to make the cat never want to go in there again. 

 The electronics are shown without enclosure, but it is advised to put an enclosure around the electronic parts once you're done. It is not further discussed in this Instructable however.  


 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts list

Parts list
- Arduino Duemilanove
- 5V RF reader module (Seeed Studio 125Khz UART or equivalent. Most readers come with a small antenna. To use the custom made antenna discussed here, you need a reader that allows connecting an external antenna)
- RF tag (I used these 35mm disc shaped ones)
- About 86 feet of 24 gauge magnet wire (longer than the piece shown in the photograph)
- Sharp GP2D12 infrared proximity sensor
- Two 12V electronic cabinet locks (Nordson electronic). Solenoids, basically.
- One 12V DC power supply
- Two TIP120 Darlington transistors
- One Hall-effect sensor
- One or more magnets to activate Hall-effect sensor over a range of about 2cm
- One 100 Ohm resistor
- Four 2 KOhm resistors
- Two pushbuttons
- One LED
- One hinge (one that moves easily but without much lateral movement, for precision)
- One 6" x 9" piece of 1/8" thick Plexiglas and perhaps another piece of about 6" x 3"  to mount the locks
- Hookup wire, including about 27" extra thin (26 AWG or thinner)
- Nuts, bolts and serrated washers
- Rubber isolation strip or other soft material for padding the edges of the door and door post

The system comprises several 'modules' (solenoids, RF reader, and so on). One of the pictures here shows the basic plan with the modules connected to the Arduino (the electronics). In the next steps the mechanical parts and each of the modules will be discussed in detail. 
 
« Previous StepDownload PDFView All StepsNext Step »
25 comments
Dec 8, 2011. 6:18 AMts3forum says:
Hi ! We are just making a cat door for a school project and we have problems : we can't read the RFID code to programm the Arduino Uno and we can't read the pde that you share.
Dec 8, 2011. 12:37 PMts3forum says:
There aren't any error messages, the arduino receive the programm i did but I think there is a mistake, I don't know why it doesn't work.
I tried to download the reader programme you shared but when I want to open it, I have a lot of errors, like java not found, it's a red text under the place where you can write your arduino code .
Sorry for the grammatical mistakes, I'm French ;-)
Thanks to answer us, it's kind of you.
Dec 11, 2011. 6:51 AMts3forum says:
I think a mistake happens with the school computer, i have just one error last, Newsoftserial isn't recognized but i downloaded it, how can i do?
Capture.PNG
Dec 11, 2011. 4:58 AMTHEORANGESNOWFROG says:
Amazing instructable!
Sep 24, 2011. 8:52 PMazzytee says:
Thanks for this, I've been using this instructable to build a similar rfid dog door. One of my final steps is building a bigger antenna, but I can't get it to read anything. Is there a specific number of turns or size of antenna that has to be built?
Sep 25, 2011. 11:14 AMazzytee says:
Thanks, I also found more details from your pet feeder project. I've made a working antenna now but it's range is still pitiful. One more question, does it have to be a perfect spiral or can the wire overlap itself?
Jan 24, 2011. 4:08 PMaka_bigred says:
Awesome! - Anyone know how to read the standard implanted pet RFID tags? It would be even better to do this and not need an external RFID tag if your cat was already chipped with an internal implanted RFID tag.
Jun 28, 2011. 8:55 PMlegless says:
Those implanted chips are really tiny. When the vet reads the chip with a purpose made handheld reader, it has to virtually be pressed up against the cat's skin/fur. The signal created when excited by the reader just wouldn't be strong enough to be useful.
May 16, 2011. 12:17 PMjanw says:
really great project! would it be possible to extend the detecting range of the rfid reader to 20 inch?
Jun 28, 2011. 12:31 PMbudabob07 says:
To get more range, you could use an 'active' RFID tag instead of a 'passive' one. Active RFID tags require a battery though and are larger, but can be read from greater distances.
Jun 24, 2011. 7:36 AMpembo210 says:
very cool!
Jun 2, 2011. 1:37 PMfuzzydale says:
This can be used to control entry on a Cat or Dog Door"

NOTE: There may be some changes and improvements coming.
However this circuit does work and you can build it as shown.


The PCB Shown below is Available from me, or make it yourself.
It Measures 2.75" by 1.1"

This circuit uses one tuned coil for on the door and just a single wire loop
on the animals collar.

When the two coils come close together, it produces a signal that can cause
a an LED to light and also trips a solenoid to unlock the door so it can open.
Since all these doors are somewhat different, I leave The Solenoid and Mechanical
Parts of this design for you to figure out.

The Main Advantage of this unit is it does Not Require any Battery on the
animal, as is the case with most store bought devices for this purpose.

--------------------------------------------------------------------------------

The Single turn coil can be joined with plugs so it can be removed easly.
But if the plug comes apart or has a poor connection, the door won't open.
So Better yet, make it Just Barely big enough to slip over the animals head,
and Solder it to make a solid loop, than tape it to the animals collar.
And the Larger the diameter of this coil, the Greater the Sensivity will be.

Also Important, the Cat or Dog door and the surroundings "Can't contain any
large pieces of metal".
(This circuit is also a Metal Detector and This detector see's the Single Loop
of wire as a solid piece of metal.)

Additionally, the coil on the door needs to be mounted in such a way that the coil
on the animal can actually get almost inside the coil on the door.
Possibly a Round or Rectangular Extension, outward from the door will be
needed to accomplish this.

Either way, the coil on the door will probably need to be mounted a few
inches from the door.

Ideally the coil on the door will have an inductance of about 150 uH.
My Inductance calculator can determine this for a Round Coil.

Jan 25, 2011. 5:52 AMaka_bigred says:
How did you attach the 35mm RFID tag to the cat's collar? To the top, or hanging down? With epoxy, glue, etc? Can you post a pick of the finished RFID-ready collar by chance?

One of our cat chews on, and destroys the little jingle bell on his collar aprox every 2 months, which means careful placement of the tag is required to keep it out of his bite radius.
Jan 24, 2011. 4:00 PMrimar2000 says:
This is that I need! I have a beautiful she cat, I can't use a "normal" cat door because her "friends" are very cheeky and eat her food. But I have not faith in my knowledge of electronics for daring to tackle a project like this.
Jan 25, 2011. 4:48 AMrimar2000 says:
Thanks, but I live in Argentina. Besides, I don't want to pay that money.
Jan 23, 2011. 12:54 PMCrLz says:
Impressive!

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!
8
Followers
2
Author:landmanr