Posts 0 comments on tl;dr complete build summary

tl;dr complete build summary

There are a lot of posts to trawl through in this blog if you’ve not followed it from the beginning. Hopefully this summary makes everything a bit clearer…

The first thing I did was to have a look at other cat tracking products on the market.  I found that they all have a big flaw… battery life.  I wanted GPS level accuracy and a battery life measured in months.  Nothing on the market offered that, so it was down to me to design it!

Continue Reading “tl;dr complete build summary”

Posts 0 comments on What’s CatTrack?

What’s CatTrack?

Unsatisfied with the GPS trackers available on the market, I decided to design my own.  This site follows my component-level design and build of an ultra-low-power wireless cat tracker.

A few years ago we got some cats – Buttons and Turnip!  Buttons is the big tabby cat and that’s Turnip, below.

I would imagine that every cat-owning Engineer has at one point or another wondered about either buying or making a tracker for their cat so they can see what he or she gets up to after they jump over the garden wall.

Turnip isn’t like most cats.  There’s no need to make or buy a tracker for her because she hasn’t left the garden in 3 years.  Well, she did end up in next door’s garden once, but I got the impression from the noises she was making that it was incompetence that caused her to end up there, rather than a desire to be more than 10 feet away from her bed.

Buttons however, would benefit from a tracker.  Although he doesn’t disappear for days at a time like some cats, he is often nowhere to be seen, only to turn up a few hours later covered in cobwebs or some other kind of grime.

As you can read in my About Me page, I’ve got a fair bit of experience with electronic design.   It’s been my job for the last 10 years.  None of the cat trackers on the market fitted my needs (as I’ll explain in a separate post) so I decided to design and build one that’s much better than anything you can buy! (hopefully…)

I’ll be doing a component-level design, from schematics, through PCB design and ultimately casing it all up in a case appropriate for Buttons to carry around with him.  I’m sure there will be second revision too, to mop up all my cock-ups from the first revision!

This blog is partly a way to force myself to finish the project.  I wouldn’t want the 3 people reading this to be disappointed would I!

Posts 1 comment on Long Range Communications with the CC1125

Long Range Communications with the CC1125

I’ve now written enough code for the PIC on the CatTrack base station such that I can begin to test it!

I’ve already tested comms with the CatTrack collar, using a development board instead of the base station.  Read about that here.

Unfortunately, when testing my base station I found that it was nowhere near as sensitive as the development board – the base station was getting CRC errors whilst the development board was still receiving the signal fine.  After a small bit of investigation I found out why.  The problem is all down to the fact that I want to use the CC1125 at the lowest baud rate (300 bps), and consequently a very narrow receive bandwidth (3.8 kHz).

Continue Reading “Long Range Communications with the CC1125”

PCBs, Posts 0 comments on Base station PCBs have arrived – time to solder!

Base station PCBs have arrived – time to solder!

Well, the boards actually arrived several weeks ago, but I’ve only just got round to doing the soldering.  As ever, I’ve ordered all my components from Farnell in the UK.

All of the passive components I’ve used are 0402 sized (0.5mm by 1.0mm).  The advantage of components this small is that you can squeeze a lot into the RF sections of the board, most notably at the output of the CC1125.  This decreases board size and improves the RF performance.  You can go much smaller than 0402 – 0201 is the next size down, followed by 01005 – only 0.2mm by 0.4mm!  Getting decent performance out of an inductor or capacitor that small will be difficult, so it’s a tradeoff between size and performance.

Continue Reading “Base station PCBs have arrived – time to solder!”

Posts, Schematics 1 comment on CatTrack Base Station Schematic

CatTrack Base Station Schematic

Now that the CatTrack collar is working, I’ve been designing the schematic for the base station.  The base station is the handheld unit I’m going to use to communicate with the collar to work out where the cat is.  Currently I’m using a CC1125 development board.  More about that here.

The idea is that the base station will mostly live at home, perhaps in my loft (to get decent range) and I’ll be able to communicate with it from my living room via Bluetooth from my laptop.  It should also be portable because if Buttons goes miles I want to be able to take the base station out and about to track him remotely.

Continue Reading “CatTrack Base Station Schematic”

Posts 2 comments on Comparing compilers: CCS C and Microchip XC8

Comparing compilers: CCS C and Microchip XC8

Now that I’ve got CatTrack working, I’ve been having a look at refining the code.  As I previously mentioned, I am using the CCS C compiler, basically because the ‘paid for’ version of their compiler is significantly cheaper than Microchip’s XC8 ‘paid-for’ version.  I did begin to wonder though, just how much bigger would my code be, and how much slower would it run if I used the free version of Microchip’s XC8 compiler?

This is what the Memory usage currently looks like in the PIC16LF18345, compiled with CCS C:

Continue Reading “Comparing compilers: CCS C and Microchip XC8”

Posts 3 comments on PCBs have arrived! Soldering and matching the antenna…

PCBs have arrived! Soldering and matching the antenna…

The PCBs have arrived from OSH Park!  As expected, they look good and the quality is excellent.  As an added bonus, they even fit in the case I designed them for.  Result!

Over the last couple of weeks I have also been ordering all the components from a combination of Farnell and tme.  Everything’s arrived and it’s all ready to solder into place.  I’ve also got the firmware into a state such that something should work too.

Now it’s time to get soldering!

Continue Reading “PCBs have arrived! Soldering and matching the antenna…”