Yes, I managed to squeeze the receiver into a
regular car remote key fob. The receiver module is hidden,
sitting underneath my printed circuit board. You can see the PIC
microcontroller with ceramic resonator, the voltage regulator with
capacitor, the LED and the push button all powered by a 12V lighter
battery. What you also can't see is a flat piezo-electric
transducer right at the bottom of the key fob. I programmed the
microcontroller to send a square wave to it so that it would act as the
alarm sounder. It wasn't very loud but it was something I already
had in stock.
The ceramic resonators for the PIC microcontrollers actually have three
leads because they have capacitors built into them as well.
They're a little more expensive than the regular ceramic resonators but
they save on board space since you don't need additional capacitors.
The transmitter and receiver modules have a theoretical range of
70m. That's much further than I'd like my laptop to get away from
me (incidentally I don't actually own a laptop!) before being notified,
so the lack of room for a proper receiving aerial is actually an
advantage in this case since it reduces the range.
Now I talked about keeping the power requirements low and I did do some
measurements of the breadboard transmitter and receiver prototypes in
action.
First up, the receiver with a supply voltage of 9V using a 7805
regulator:
Scanning for ID code
9.5mA
Alarm beeping
10mA
LED on
25mA
Sleeping
5.5mA
Now the receiver with a supply voltage of 5V without the regulator:
Scanning for ID code
3.5mA
Alarm beeping
4mA
LED on
18mA
Sleeping
Too low to measure
Now the transmitter with a supply voltage of 9V using a 7805 regulator:
Sending ID code
7mA
Sleeping
4mA
Now the transmitter with a supply voltage of 5V without the regulator:
Sending ID code
2.5mA
Sleeping
Too low to
measure
The 12V lighter battery in the key fob prototype was rated at 33mAh @
20kOhms for 66h to 6V. So for a receiver scanning at a current of
somewhere between 3.5mA and 9.5mA, you would probably get a pretty good
battery life. It would be nice to investigate a rechargeable
option but that would probably need a larger case more along the lines
of a pager clipped to your waistband.
Yes, this project did work but I failed to interest my company in
developing it further. I suggested to them that this system could
be used to monitor laptops that didn't leave the factory too by hooking
a computer up to a receiver module (with a proper aerial) and keeping a
track of all the unique ID codes coming in. If one is
transmitting and then vanishes then it may be leaving the premises!
Alas, I failed to get either idea developed any further.
I like to think I was a little ahead of my time with project. A
couple of years after I designed this project, a new PIC
microcontroller was released with a built-in radio transmitter
module! This was well before RFID was readily available
too. These days, if you look around, you can get a Bluetooth
version of this project idea. Bluetooth being ideal since it was
only ever designed for short range use.
One day I'm going to go back and revisit the code to improve it with
the knowledge and experience I have acquired since so I'm not going to
share my current code at this time. Maybe this project will
inspire you to come up with something similar but different.
<Back>