


In the previous post I described how I prototyped my own GPS receiver. Since then I modified a small plastic enclosure to hold the LCD, GPS module and circuit board holding the PIC microcontroller and power circuit. I also added code (see link below) that checks for the state of a switch to determine if you wish to have the LCD's backlight on or off. I decided to add this feature after measuring the current draw of the receiver as a whole. With the backlight on, the receiver draws an average of 165mA; with the backlight off, the receiver draws an average of 125mA (that's about a 25% savings). Since the receiver runs off of a single 9 volt battery (alkaline - 600mAh typically), that power savings is equivalent to as much as 72 minutes of additional time the unit will now be able to run. With a lithium 9 volt (1200mAh - typically) it could add another 2 hours and 24 minutes.
The picture on the right shows the receiver as completed; I will be the first to say that it is not the most professional looking, but it works. The switch on the right is for power and the other switch is for the backlight. The center picture shows the 4 possible LCD states: searching with backlight off, searching with backlight on, receiving GPS data with backlight off, and receiving GPS data with backlight on. The last picture is the schematic for the receiver unit.
I did some research and here are some constants that show how useful this unit can be for many different functions.
- 1 Degree = 60 Nautical Miles (69 Miles)
- 1 Minute = 1 Nautical Mile (1.15 Miles)
- 1 Second = 101.2 Feet
- 0.1 Seconds = 10 Feet
With these relationships and some basic geometry, I can determine distances and directions to and from GPS way points.
This was a really satisfying project to do. With just a handful of parts and a couple of modules I have a fully functional and now portable GPS receiver.
Parts List:
- LCD with backlight (2 lines, 16 characters per line)
- Parallax GPS Module
- PIC16F84A
- 7805 (5 Volt Voltage Regulator)
- 4700 Ohm Resistor
- 4 MHz Crystal Oscillator
- 100uF Electrolytic Capacitor
- 0.1uF Ceramic Capacitor
- 9 Volt Battery
- SPST Switch (power)
- SPDT Switch (backlight)
Labels: Electronics, GPS, PIC