Catcierge: Image recognition and RFID chip reader for automated cat door
joakimsoderberg.github.io
joakimsoderberg.github.io
https://github.com/JoakimSoderberg/catcierge
That cat house has better documentation, unit tests and code coverage than many commercial projects I've worked on.
Another challenge is scaring the cat out of the christmas tree. This will be coming up soon so I may have to finish this thing after all. Training the cat to stay off the table has gone well, since we keep interesting stuff off it when we're not there. The tree however is full of interesting stuff.
EDIT: to clarify, I never completed the table project, in part because it's not a problem any more.
I have an easier solution - weigh the cat on a pressure pad just before the flap - allow for variances of a few ounces but not much more.
But the cat door is also a safety thing for my cats when they are feeling unsafe or being chased - I wouldn't want them to have to wait to get inside.
ps. cats bring you dead things as food because they think you are too feable to hunt and triggering a nursing instinct
The chase thing has happened, but since the door to get in is very small other cats don't tend to follow.
Since it's really cold here in the winter I also chose to design it so that the default mode is for the door to be open. So if there's a power outage it will always be open.
Regarding the weight thing. I don't think it's feasible unless your cat always brings in rabbits or something, the weight difference is so tiny. Too many variables come into play as well, temperature differences being one, a wet cat compared to a dry one and so on. Might work, might not :)
Probably "Flo Control"[0]. There was a system to get a silhouette of the cat's head to identify whether it was carrying anything.
0. https://web.archive.org/web/20081014091109/http://www.quantu...
None of the implementation has anything to do with that project however.
A mouse weighs around 20 grams, or 0.7 ounces. That's about 0.5% of the weight of a cat.
Turns out the antenna that comes with it is way too small for anything other than manually brushing it against the cats neck knowing exactly where the chip is.
However I got some mails from another guy that built a cat feeder thingie. He ended up doing his own, much bigger antenna so that the cats head fit through it (he made a structure in cardboard wrapping the coil around that).
Anyway, he had some contact with the company, and they recommend using the RS232 version instead of the USB one for such applications... They had some better spec in some way.
EDIT: I looked up the mail, and to summarize he used 0.6mm enamled copper wire and a 120mm computer fan (minus the fan in the middle, that he wrapped the coil around. The reader then outputs the MOF value so you can know what frequency you're getting.
I've bought some copper wire myself and I'm planning to make a better antenna myself, but haven't yet.
But I wonder... is it common to let a cat walk freely outside, unsupervised? In my perception, author's either putting his pet to danger, has a good fencing or must be living in awesomely nice neighborhood.
Here are some real images (including hard cases): https://github.com/JoakimSoderberg/catcierge-examples/tree/m...
I got lots more, just haven't uploaded them
1. Drop the prey in front of door.
2. Door detects no prey.
3. Door opens.
4. Higgs props door open.
5. Higgs retrieve prey FTW!
Another thing she has done is to learn to back out of the corridor as the door locks, and then wait a while, and try going back in all while having the prey in her mouth.
EDIT: So all small things like that has led me to tweak the algorithms, and add some extra settings to be tweaked. I mean the backing out move she did several times like 6 times in a row... Some of those times she managed to get in.
So to remedy that I added some settings for extra timeouts so she cannot try again as quickly and so on :)