Ash is my Russian Blue cat, and loves his neighbourhood adventures. Regularly off for hours on end, he could end up in who knows what garden, possibly halfway down the street. After endless such adventures, I figured it was time to find out where he really was going.
GPS is of course the way to go, so I looked around for a tracker I could attach to him. Turns out that all the ones commercially available are far too large. A common one available on ebay is about the size of a matchbox - too large for a cat. All other pet trackers are made for dogs, it seems.
So it was time to roll my own.
A tracker has pretty much only one way to attach to a cat - on the collar. That means small and light is essential - Ash needs to be able to ignore the collar and its attachments. So I needed to find the smallest stuff I could get.
Next, the signal from the GPS needs to be sent somewhere. Live transmission was out of the question - there arent any GSM modules small enough, and no other radio would have the range I needed, even at that size. So local logging was the way to go. After thinking up a few ideas about small microcontrollers and flash chips, I discovered the Openlog. At under 2cm long, and 1.5cm wide, this tiny module consists of not much more than an AVR and a micro sd slot. It works by simply logging whatever serial data is fed to it onto files on the SD card.
Of course the modules also need power, which must be capable of attaching to the collar. AA's and AAA's were out - way too big. A while back I picked up one of those tiny LCD photo keychains, for something like $7. And inside had exactly what I needed, a small Lithium Polymer battery that was a bit smaller than the GPS module, and gave 3.7 volts.
And that's all it took.
He's not a particularly fussy cat, and he lets me attach the collar to him without a struggle, and it doesn't seem to bother him at all. So far it's also been immune to scratching and other abuse you'd expect. It's not waterproof though, I'll only attach it on a dry day.
Once he comes back, all I have is a load of NMEA data on the SD card. It's not very human parseable, and I'm not good at converting lat/long data into actual houses around here.
So it's Python to the rescue! A quick script converts NMEA data into KML, suitable for Google earth/maps, and up pops a full track of where he is. A link to the (awfully coded) script.
I'm actually quite surprised how far he roams. Rather than just the houses on either side or right across the street, he ends up quite a few houses away, and almost to the next street across. That probably explains why he often won't come when called, he's just too far away. At least he enjoys a wide territory to roam...

Very cool, almost makes me want to get a cat.
ReplyDeleteThe traverse of the swimming pool (lower left) is interesting (I know...connecting two points etc. etc. but the visual of Ash swimming furiously just to mess with you is a good one).
ReplyDeleteIt's not the transversion that interests me, but it's the one datapoint that is inside the pool in the lower left corner :)
ReplyDeleteNeeds a camera or video next.
ReplyDeleteThis sounds perfect for keeping track of family members..... Trick now to get this under there skin or attached to them somehow... this could almost be the next step in some massive corporations global scheme for world domination. Illumiati style...
ReplyDeletetell me who do you work for, oh wait I already know! 0_o
Post some more maps, does your cat walk the same path every day? :)
ReplyDeleteI immediately remembered this:
ReplyDeletehttp://en.wikipedia.org/wiki/L%C3%A9vy_flight
Your cat is not only walking around, he's moving in a fractal trajectory ,)
Very cool. I've often wondered where all my cat visits on her outings.
ReplyDeletePretty clever and determined way of finding out you have developed there!
I wanted to do something like this with my dogs for a while now.
ReplyDeleteWould you be willing to provide a link to your Python script that converts NMEA data to KML?
I've now included a link to the python script. It's pretty awful, but works. By default, integrates 10 samples to 1, and ignores samples where < 5 satellites are visible. Edit if you want to change.
ReplyDeleteI was wondering, is there any decent alternative to that GPS module ?! i would really like to build similar device for my cat..
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThat's definitely cool. I would love to have one of those GPS and put it in my car. It'll be a good addition to its features.
ReplyDeletegps tracking
@Dennis Ray Nestor Jr.
ReplyDeleteHere you have 720p camera recorder, which is perfect for that:
http://www.hobbyking.com/hobbyking/store/__17200__HD_Wing_Camera_1280x720p_30fps_5MP_CMOS.html
GPS tracking devices are very common nowadays. They can be used to track a person, a pet or a car. I have installed a GPS tracking device to my newly bought used lincoln mkx car. It's leading me the right direction. That's what I love about GPS.
ReplyDeleteI also have a GPS tracker installed in my car. I put this in the car which I just bought from advantage toyota recently. It's a cool device by Garmin. GPS is a useful device to track the right location of a place or a thing.
ReplyDeleteI bought a car from an audi dealer who gave me a better and very great deal. I was also convinced to put a GPS device for additional safety.
ReplyDeleteWhen I bought a car from one of the Toyota Dealers NY, I also decided to put extra accessories and equipment to maximize its functionality. I installed car camera and gps. They made my car more compelling and highly functional.
ReplyDeletecan you link me to the GPS you're talking about? I cant find it on sparkfun
ReplyDeleteSame for me, and i have two cats!!!
ReplyDeleteI am also very interested in your gps!! Could you give me some more information please?? My cat is been hijaked for 9 times now!! I need to follow him in order to find the offender!
ReplyDeleteKeep your cat inside!
DeleteHave been looking for something like this for a while now,love your design. Is there any chance for the less techno savvy people you could include some detailed instructions/photos for people to recreate your great device. I would appreciate it.
ReplyDeleteFor the even less technological, you wouldn't consider making one would you? Happy to pay, as like you haven't been able to find anything to buy that I think our cats would tolerate for more than a few seconds! Many thanks, Kirsty
ReplyDeleteContacted Sparkfun for another solution and they suggest another GPS receiver, the GP2106 the same lipo battery and open log data recorder . but i have to include a gps evaluation chip to bypass the voltage downfall from 3.7volt to 1.8volt. They all should fit on "Belle" small cat collar. I'm building one right now and ill be back soon to show photos.
ReplyDeleteJP
Great, this is very funy and nice. Do you mind to provide rference product and shema?
ReplyDeleteGood work
Cheers
Hi :)
ReplyDeletePlease, can someone create a list of components necessary to build this collar?
Excuse me but I am not an expert and I am in difficulties.
Thank You very much
This comment has been removed by the author.
ReplyDeleteAccording to Desmond Morris in "Catwatching", the average tom roams 175 acres. The average female, 12.5. So your boy is normal. But that street!
ReplyDeleteIt’s great to link the technology with the animals featuring the crystal path while showing the remarkable tale. The world has become a very small place to live in while the rest are busy in inventing the new technology at every moment. GPS positioning is a boon to show simply the evidences and nothing else…A lot of results dragged out may or may not be a positive output for every individual.
ReplyDeleteFootPrint Security
I think GPSBabel would do the NMEA to KML conversion too. One of the cool options I saw when I was working on a previous project, was that you could set the 'height' of the line to be the speed. So it's easy to see how quickly to see how fast you (or your cat in this case) was moving at the time.
ReplyDeleteI'd love to make one of these for me cat too, but it seems like the GPS modules have moved on since. I'd love to be able to transmit the NMEA data instead of storing it, so that I can find my cat too :-)
Hello,
ReplyDeleteGreate, nice and funy tuto. Could you list us the part you used for your project? I am particularely thinking about the GPS.
Cheers
The GPS module was from Sparkfun, but is not sold any more. You will need to find an alternative. The SD logger is the openlog, plenty of info online for it.
Deleteit was called the minimod: sparkfun dot com/products/8416 an alternative could be this: sparkfun dot com/products/11058
Delete