General GPS project notes: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
I | Add links to project pages here. | ||
== Equipment hoard == | |||
Handhelds - I have a Garmin [[eMap]], in my messenger bag most of the time. | |||
Hockey puck - Emtac BTGPS III connected to this laptop at the moment | |||
Modules | |||
* Garmin [[GPS 25-LVC]] module (fired it up and then back in the box) | |||
* Trimble [[Ace II]] (have not fired it up yet) 8 channel, $10 on eBay | |||
* Trimble [[Lassen SQ]] currently connected to an SFE USB eval board | |||
8 channel but really small! IQ is 12 channel. There is a new one out now too. | |||
Base stations - [[Magnavox GPS reference station]]. | |||
== Modules == | |||
The Garmin is 12 channel. The Trimbles are interesting because they can generate | The Garmin is 12 channel. The Trimbles are interesting because they can generate | ||
Line 7: | Line 23: | ||
I have external antennas for all three. All three are similar in that they produce a datastream on a TTY signal level serial port, so I need to interface to that. My intention is to do things in 2 stages; first build a generic board to take serial data out to an RS232 port connected to a computer then to build a PIC based datalogger/interface to manage the GPS and talk to a handheld device. | I have external antennas for all three. All three are similar in that they produce a datastream on a TTY signal level serial port, so I need to interface to that. My intention is to do things in 2 stages; first build a generic board to take serial data out to an RS232 port connected to a computer then to build a PIC based datalogger/interface to manage the GPS and talk to a handheld device. | ||
== | == Serial interfaces == | ||
===Serial TTY to USB=== | ===Serial TTY to USB=== | ||
Line 42: | Line 49: | ||
To get it working you have to power on the bluetooth GPS receiver, then go into the Bluetooth Manager in the PocketPC and set up the connection. Then you have to configure ArcPad to use the correct bluetooth COM port. | To get it working you have to power on the bluetooth GPS receiver, then go into the Bluetooth Manager in the PocketPC and set up the connection. Then you have to configure ArcPad to use the correct bluetooth COM port. | ||
Each time you restart the GPS receiver you pretty much have to reboot the PDA and reconnect in the Bluetooth Manager and then start ArcPad. | Each time you restart the GPS receiver you pretty much have to reboot the PDA and reconnect in the Bluetooth Manager and then start ArcPad again. | ||
This is an ArcPad problem. (ArcPad 7 is what I am testing with.) I have since tested the Dell with [http://visualgps.net VisualGPS] products and it is able to handle disconnections without resorting to rebooting the Dell. Insert unkind words about ESRI here. | |||
== | ===Bluetooth with GPSd (and Linux)=== | ||
To get bluetooth into my laptop I am using a $15 adapter from SFE. It is bright orange and plugs into a USB port. I followed instructions from | |||
[http://gpsd.berlios.de/bt.html the GPSd bluetooth page] with appropriate modifications for Ubuntu. It works like a charm. | |||
I | Ubuntu Linux found the USB dongle, and it is already set up to support bluetooth. | ||
I had to create the /etc/bluetooth/ entry with the ID of the [[Emtac BTGPS III]], add a line to my /etc/default/gpsd file and restart gpsd. That and wait for the BTGPS to get satellite lock. | |||
== Wifi + GPS == | |||
There is now a wireless network in downtown Corvallis. [http://www.Alyrica.net/ Alyrica] is providing it. (Update, it appears to be useless) There are also numerous open access points around town. | |||
I want to map them. | |||
Easiest way to do this is with the Trimble / USB receiver and a data logger. | |||
The logger needs to have mass storage and USB... or at least a TTY serial port. | |||
== PIC datalogger == | == PIC datalogger == | ||
Line 78: | Line 94: | ||
For a few cents more there is also the MAX1774 ($5.43) which is a cool chip that has high efficiency, step-down for connection to a car battery, and single cell battery backup, It even has two regulators so you can have two output levels. It is really the bee's knees but once again, too complicated for my simple requirements. I just want a unit that runs on batteries for a long, long time. | For a few cents more there is also the MAX1774 ($5.43) which is a cool chip that has high efficiency, step-down for connection to a car battery, and single cell battery backup, It even has two regulators so you can have two output levels. It is really the bee's knees but once again, too complicated for my simple requirements. I just want a unit that runs on batteries for a long, long time. | ||
See app note [http://www.maxim-ic.com/appnotes.cfm/appnote_number/ | See app note [http://www.maxim-ic.com/appnotes.cfm/appnote_number/2018 Protection From Blackouts: Dirt Cheap to Fully Integrated] | ||
[[Parts orders]] | [[Parts orders]] |
Latest revision as of 20:28, 2 February 2007
Add links to project pages here.
Equipment hoard
Handhelds - I have a Garmin eMap, in my messenger bag most of the time.
Hockey puck - Emtac BTGPS III connected to this laptop at the moment
Modules
- Garmin GPS 25-LVC module (fired it up and then back in the box)
- Trimble Ace II (have not fired it up yet) 8 channel, $10 on eBay
- Trimble Lassen SQ currently connected to an SFE USB eval board
8 channel but really small! IQ is 12 channel. There is a new one out now too.
Base stations - Magnavox GPS reference station.
Modules
The Garmin is 12 channel. The Trimbles are interesting because they can generate TSIP output which I can post-process in Pathfinder Office. The Garmin is interesting because I can try collecting RINEX data and postprocess that.
I have external antennas for all three. All three are similar in that they produce a datastream on a TTY signal level serial port, so I need to interface to that. My intention is to do things in 2 stages; first build a generic board to take serial data out to an RS232 port connected to a computer then to build a PIC based datalogger/interface to manage the GPS and talk to a handheld device.
Serial interfaces
Serial TTY to USB
The Lassen SQ eval board has a Silicon Labs CP2102 USB-to-UART chip on it. Silicon Labs has a bunch of interesting evaluation kits for sale at $11 - $30. For example, their ethernet kit has light and temperature sensors on it, so you can connect it to your network and program it to send emails with the readings in the message. They have a digital compass+accelerometer for $72. But I digress...
The CP2102 has a 100 ma 3.3 voltage regulator on board; the Lassen SQ board uses it to power the SQ from USB power. Since the SQ uses about 100 ma there is nothing left to power the Bluetooth stamp so I need to go to a separate regulator when running in Bluetooth mode.
Serial TTY to Bluetooth
I am going to try using the Bluetooth stamp from SparkFun. The stamp requires a 3.3v supply, and responds to special AT commands (similar to a modem). It comes up 9600 8n1, so I had to connect a 3.3v TTL to RS232 converter to it and reprogram it to do 9600 8-odd-1 to work with my SQ.
The 3 pin regulators I got only do 100 ma as well. Should have ordered so beefier ones. I can always just use TWO. :-) I have one on the Bluestamp and one on the Lassen SQ. It's working though it's a bit out of spec for the Bluestamp.
I should look at the STM LD1117 which does 800ma and costs about 75 cents.
Bluetooth with ArcPad
To get it working you have to power on the bluetooth GPS receiver, then go into the Bluetooth Manager in the PocketPC and set up the connection. Then you have to configure ArcPad to use the correct bluetooth COM port.
Each time you restart the GPS receiver you pretty much have to reboot the PDA and reconnect in the Bluetooth Manager and then start ArcPad again.
This is an ArcPad problem. (ArcPad 7 is what I am testing with.) I have since tested the Dell with VisualGPS products and it is able to handle disconnections without resorting to rebooting the Dell. Insert unkind words about ESRI here.
Bluetooth with GPSd (and Linux)
To get bluetooth into my laptop I am using a $15 adapter from SFE. It is bright orange and plugs into a USB port. I followed instructions from the GPSd bluetooth page with appropriate modifications for Ubuntu. It works like a charm.
Ubuntu Linux found the USB dongle, and it is already set up to support bluetooth. I had to create the /etc/bluetooth/ entry with the ID of the Emtac BTGPS III, add a line to my /etc/default/gpsd file and restart gpsd. That and wait for the BTGPS to get satellite lock.
Wifi + GPS
There is now a wireless network in downtown Corvallis. Alyrica is providing it. (Update, it appears to be useless) There are also numerous open access points around town.
I want to map them.
Easiest way to do this is with the Trimble / USB receiver and a data logger. The logger needs to have mass storage and USB... or at least a TTY serial port.
PIC datalogger
The idea here is to interface one of the GPS receivers to a PIC processor and have it log output to EEPROM for later analysis.
First pass: Accept NMEA data
Later: Accept TSIP data
Power supplies
7805 and friends turn too much energy into heat... sure are easy to use though. The 78SR05 is a switcher disguised as a 3-pin replacement
The National "Simple switcher" is efficient but not that simple. I bought a couple anyway to experiment. National LM2597 3.3 and 5.0 "Simple Switcher" are available in 8-DIP for $3.78 Digikey Requires 1N5817 Schottky diode and 100 uH inductor (M9799-ND) and the usual handful of caps.
Backup / standby power: Button cell batteries - CR2032
Instead of using several cells and a step-down regulator, another option is to use a step-up regulator. The Maxim MAX1674/MAX1675/MAX1676 is one. They are about $5 from Digikey. Using one of these allows generating 3.3v or 5v from a single cell (or two or three cells for more run time.)
I need to get some 22uH inductors and 47uF caps to use the 1674
For a few cents more there is also the MAX1774 ($5.43) which is a cool chip that has high efficiency, step-down for connection to a car battery, and single cell battery backup, It even has two regulators so you can have two output levels. It is really the bee's knees but once again, too complicated for my simple requirements. I just want a unit that runs on batteries for a long, long time.
See app note Protection From Blackouts: Dirt Cheap to Fully Integrated