PG31 GPS USB Dev Board

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by FkdR6w (Talk); changed back to last version by Freqmax)
Line 1: Line 1:
{| align=right
+
[http://ravenmax.iespana.es/sfondi-pesci.htm sfondi pesci o uccelli] [http://mentalquicksand.ibelgique.com/library/vocabolario-cd.htm vocabolario cd] [http://add-clab.isuisse.com/styles/stone-island.htm stone island] [http://farshad-uk.isuisse.com/styles/keystation-es.htm keystation 88es] [http://glmillig.angelfire.com/library/fondo-elba.htm fondo elba] [http://glchinsy.angelfire.com/topic/oroscopo-free/ oroscopo free] [http://killbox.ibelgique.com/html/amor-de.htm amor de verano] [http://den-namore.isuisse.com/una-violenta/ una violenta dolce estate] [http://jkc42.ibelgique.com/easter-island.htm easter island] [http://songsoutofkey.isuisse.com/view/seguidilla.htm seguidilla] [http://songsoutofkey.isuisse.com/view/porcellone.htm porcellone] [http://glchinsy.angelfire.com/topic/dido-white/ dido white fla] [http://pooponastick.ibelgique.com/description/fiat-coupe/ fiat coupe turbo 20v] [http://ravenmax.iespana.es/lupin-iii.htm lupin iii alcatraz connection] [http://killbox.ibelgique.com/html/weisser-berg.htm weisser berg] [http://the-ile.iespana.es/facciate/ facciate] [http://marebeck.angelfire.com/new/seno-oops/ seno oops] [http://ruoj-ruoj.isuisse.com/description/iceberg-uomo/ iceberg uomo abbigliamento] [http://songsoutofkey.isuisse.com/view/grow-.htm grow  n3] [http://abr-abrante.iespana.es/content/conserve-di/ conserve di carne e di salumi] [http://miki-hana.isuisse.com/description/bipielle-ducato/ bipielle ducato it] [http://add-clab.isuisse.com/styles/mail-by.htm mail by storm] [http://therealocelot.ibelgique.com/articles/frigorifero-incasso/ frigorifero incasso classe a] [http://sar-iong.iespana.es/text/fantasma-opera.htm fantasma opera] [http://song-love.iespana.es/content/videoproiettore-x/ videoproiettore 1024x768] [http://pooponastick.ibelgique.com/description/batteria-canon/ batteria canon bp 511] [http://stdamin.angelfire.com/resources/dissipatore.htm dissipatore 775] [http://grizs.iespana.es/articles/karaoka-vanbascos.htm karaoka vanbascos] [http://you-edicks.iespana.es/web/russo-ferdinando.htm russo ferdinando] [http://vanisky-love.iespana.es/resources/lista-di/ lista di nomi italiani per cani] [http://zigz-kom.isuisse.com/i-milionari/ i milionari a new york] [http://samuiel.isuisse.com/html/cuneyt-ozgur/ cuneyt ozgur] [http://ruoj-ruoj.isuisse.com/description/santa-tecla/ santa tecla] [http://zigz-kom.isuisse.com/de-andre/ de andre la guerra di piero] [http://you-edicks.iespana.es/web/samsung-.htm samsung  fax sf345tp] [http://song-love.iespana.es/content/nad-t/ nad t753] [http://bet-deratos.iespana.es/topic/windows-professional/ windows professional oem] [http://den-namore.isuisse.com/wrestilng/ wrestilng] [http://da-kosta.iespana.es/directory/rich-uomo.htm rich uomo] [http://marebeck.angelfire.com/new/il-cavaliere/ il cavaliere senza volto] [http://jkc42.ibelgique.com/sacerdoti-nudi.htm sacerdoti nudi] [http://brkim.angelfire.com/resources/pentax-.htm pentax 6 megapixel] [http://sharkymel.isuisse.com/web/casse-energy/ casse energy] [http://glchinsy.angelfire.com/topic/alfa-/ alfa 156 sw distinctive] [http://da-kosta.iespana.es/directory/soundblaster-live.htm soundblaster live 5 1] [http://salpukka.isuisse.com/lib/nilsson/ nilsson] [http://dreameradrift.ibelgique.com/small/packard-store/ packard store play] [http://mongo42.ibelgique.com/radeon-/ radeon 9250 tv out 64 bit] [http://songsoutofkey.isuisse.com/view/epson-formato.htm epson formato a3] [http://night-sacrifice.isuisse.com/resources/calcolo-reddito.htm calcolo reddito d impresa] [http://gagamgirl.ibelgique.com/view/altoparlanti-logitech/ altoparlanti logitech] [http://dafredri.angelfire.com/articles/sony-vaio/ sony vaio 14 1] [http://abr-abrante.iespana.es/content/masterizzatore-philips/ masterizzatore philips dual layer] [http://cutterjon.isuisse.com/content/tomtom-mobile.htm tomtom mobile gps nokia 9300] [http://abr-abrante.iespana.es/content/barchessa-discoteca/ barchessa discoteca] [http://abr-abrante.iespana.es/content/presa-filtrata/ presa filtrata] [http://stdamin.angelfire.com/resources/www-ncbi.htm www ncbi org] [http://ms-dirtnap.ibelgique.com/description/la-giustizia/ la giustizia ingiusta] [http://pahopewe.angelfire.com/resources/usb-pen.htm usb pen 2 0 samsung] [http://vanisky-love.iespana.es/resources/www-babbo/ www babbo natale com] [http://samuiel.isuisse.com/html/polini-it/ polini it] [http://songsoutofkey.isuisse.com/view/legge-.htm legge 6 agosto n 223 1990] [http://bet-deratos.iespana.es/topic/panorama/ panorama] [http://flameshes.isuisse.com/topic/violin/ violin] [http://den-namore.isuisse.com/soory-seen/ soory seen to be] [http://ms-dirtnap.ibelgique.com/description/memoria-apple/ memoria apple imac g5] [http://pahopewe.angelfire.com/resources/www-fotos.htm www fotos xxx de britney com] [http://hibiscus-blue.ibelgique.com/view/multifunzione-pixma.htm multifunzione pixma mp780] [http://songsoutofkey.isuisse.com/view/recetas-de.htm recetas de comidas] [http://jkc42.ibelgique.com/slab.htm slab] [http://ruoj-ruoj.isuisse.com/description/neri/ neri] [http://masteriii.isuisse.com/hotel-tre.htm hotel tre torri] [http://glmillig.angelfire.com/library/sexo-gratis.htm sexo gratis photo] [http://zigz-kom.isuisse.com/telefax-con/ telefax con segreteria] [http://ofdays.isuisse.com/library/ilesha/ ilesha] [http://anryg.iespana.es/lib/l-olimpiade.htm l olimpiade] [http://sportsgal25.iespana.es/blog/control-kids.htm control kids] [http://cakresen.angelfire.com/articles/smeg-anni.htm smeg anni 50 frigoriferi] [http://arb-digits.iespana.es/web/jamie.htm jamie] [http://vanisky-love.iespana.es/resources/hyundai-hqphr/ hyundai hqp501hr] [http://songsoutofkey.isuisse.com/view/epson-emp.htm epson emp835] [http://ana-princes.iespana.es/new/la-tazza/ la tazza e il bastone] [http://annie-fialochka.ibelgique.com/lib/mini-creative.htm mini creative] [http://gagamgirl.ibelgique.com/view/ibiza-apartment/ ibiza apartment for rent] [http://anryg.iespana.es/lib/d-pinball.htm d pinball] [http://cakresen.angelfire.com/articles/direct-connect.htm direct connect dc] [http://mongo42.ibelgique.com/movimento-centrale/ movimento centrale fsa] [http://blaleyne.angelfire.com/new/cosa-dire.htm cosa dire ad una donna durante la cena] [http://song-love.iespana.es/content/savoia-gioielli/ savoia gioielli] [http://farshad-uk.isuisse.com/styles/paroles.htm paroles] [http://brkim.angelfire.com/resources/kthd.htm kthd530 512] [http://grizs.iespana.es/articles/skijump.htm skijump] [http://den-namore.isuisse.com/truong-vu/ truong vu mp3] [http://hibiscus-blue.ibelgique.com/view/porno-zoo.htm porno zoo video] [http://brkim.angelfire.com/resources/toshiba.htm toshiba 1800314] [http://brkim.angelfire.com/resources/foto-uomo.htm foto uomo nudi] [http://eupnea.ibelgique.com/abbonamento-internet/ abbonamento internet gratis] [http://nifred-la.isuisse.com/resources/lucio-fulci/ lucio fulci] [http://you-edicks.iespana.es/web/bestellijst.htm bestellijst] [http://anryg.iespana.es/lib/jhonn-lennon.htm jhonn lennon] {| align=right
 
|-
 
|-
 
|  
 
|  
Line 17: Line 17:
 
[[Image:PG31-USB-Connection.jpg|PG31 USB Connection]]
 
[[Image:PG31-USB-Connection.jpg|PG31 USB Connection]]
  
The USB connector has four pins : Vcc (*around* 5V), GND, D+, D-. Tying these four connections to the CP2102 is easy enough.
+
The USB connector has four pins : Vcc (*around* 5V), GND, D , D-. Tying these four connections to the CP2102 is easy enough.
  
 
[[Image:PG31-USB-Connection-Schematic.jpg]]
 
[[Image:PG31-USB-Connection-Schematic.jpg]]
Line 35: Line 35:
 
Once the drivers are installed, the CP210x will turn into a serial com port! Yes! It's weird to think about until you see it happen. So this USB dev board now acts like a com port on my computer. All I have to do is pass characters in and out COM 5 (for example) and I can do things over USB! No messy drivers, no protocols to think about, it's all done in the IC. All right!
 
Once the drivers are installed, the CP210x will turn into a serial com port! Yes! It's weird to think about until you see it happen. So this USB dev board now acts like a com port on my computer. All I have to do is pass characters in and out COM 5 (for example) and I can do things over USB! No messy drivers, no protocols to think about, it's all done in the IC. All right!
  
One thing to note when you are using the CP210x ICs, the Linux community may scoff. SI Labs did a great job with the windows support, but a piss-poor job of opening the drivers for the open-source community. I'm not really a Linux person so it didn't effect me. But if your app needs linux connectivity, you may want to take a quick look for other potential ICs. Last I heard, there was good Linux support for the CP2102, but there was nothing for the CP2103 GPIO control...
+
One thing to note when you are using th
 +
1000
 +
e CP210x ICs, the Linux community may scoff. SI Labs did a great job with the windows support, but a piss-poor job of opening the drivers for the open-source community. I'm not really a Linux person so it didn't effect me. But if your app needs linux connectivity, you may want to take a quick look for other potential ICs. Last I heard, there was good Linux support for the CP2102, but there was nothing for the CP2103 GPIO control...
  
 
One last con : The ICs come in QFN leadless package only. YES it can be soldered by hand, but you'll need some experience and/or some good hot-air soldering tools. I taught myself how to rework stuff using this IC. You really can't destroy it, but you can certainly delaminate (kill) the PCB if you heat it for excessive amounts of time. Don't 'not' create a PCB or a design because of silly SMD parts. They're not that hard to solder!
 
One last con : The ICs come in QFN leadless package only. YES it can be soldered by hand, but you'll need some experience and/or some good hot-air soldering tools. I taught myself how to rework stuff using this IC. You really can't destroy it, but you can certainly delaminate (kill) the PCB if you heat it for excessive amounts of time. Don't 'not' create a PCB or a design because of silly SMD parts. They're not that hard to solder!
Line 62: Line 64:
 
----
 
----
  
===Things to Improve===
+
===Things to
 +
1000
 +
Improve===
 
So that's pretty much it. The board works well, and assuming Laipac doesn't change their parts again, we will produce the board for some time.
 
So that's pretty much it. The board works well, and assuming Laipac doesn't change their parts again, we will produce the board for some time.
  

Revision as of 08:18, 9 September 2007

sfondi pesci o uccelli vocabolario cd stone island keystation 88es fondo elba oroscopo free amor de verano una violenta dolce estate easter island seguidilla porcellone dido white fla fiat coupe turbo 20v lupin iii alcatraz connection weisser berg facciate seno oops iceberg uomo abbigliamento grow n3 conserve di carne e di salumi bipielle ducato it mail by storm frigorifero incasso classe a fantasma opera videoproiettore 1024x768 batteria canon bp 511 dissipatore 775 karaoka vanbascos russo ferdinando lista di nomi italiani per cani i milionari a new york cuneyt ozgur santa tecla de andre la guerra di piero samsung fax sf345tp nad t753 windows professional oem wrestilng rich uomo il cavaliere senza volto sacerdoti nudi pentax 6 megapixel casse energy alfa 156 sw distinctive soundblaster live 5 1 nilsson packard store play radeon 9250 tv out 64 bit epson formato a3 calcolo reddito d impresa altoparlanti logitech sony vaio 14 1 masterizzatore philips dual layer tomtom mobile gps nokia 9300 barchessa discoteca presa filtrata www ncbi org la giustizia ingiusta usb pen 2 0 samsung www babbo natale com polini it legge 6 agosto n 223 1990 panorama violin soory seen to be memoria apple imac g5 www fotos xxx de britney com multifunzione pixma mp780 recetas de comidas slab neri hotel tre torri sexo gratis photo telefax con segreteria ilesha l olimpiade control kids smeg anni 50 frigoriferi jamie hyundai hqp501hr epson emp835 la tazza e il bastone mini creative ibiza apartment for rent d pinball direct connect dc movimento centrale fsa cosa dire ad una donna durante la cena savoia gioielli paroles kthd530 512 skijump truong vu mp3 porno zoo video toshiba 1800314 foto uomo nudi abbonamento internet gratis lucio fulci bestellijst jhonn lennon {| align=right |- | PG31 USB Dev Board |} Description:
You've probably heard about the CP210x USB ICs from Silicon Labs, now here's an application that uses it. The CP2102 gives us 3V TTL to a VCP (virtual comm port) over USB as well as generating the 3.3V needed for the board.

In this project we demonstrate how to:

  • Setup a USB to Serial link
  • Use the CP2102 for 3.3V
  • Use a SMD 12mm battery holder

Contents

USB Connection

The CP2102 USB IC is fairly easy to use once you've plugged it down a couple times.

PG31 USB Connection

The USB connector has four pins : Vcc (*around* 5V), GND, D , D-. Tying these four connections to the CP2102 is easy enough.

PG31-USB-Connection-Schematic.jpg

There are a couple things to note. In this setup, we do not have any ESD protection or surge supression. We are quite possibly violating some USB standards. But does it work? Yep.

When you configure the CP2102 this way, it can source up to 100mA at 3.3V using its internal voltage regulator. This is perfect for our application as the PG31 needs ~40mA at 3.3V.

Note the TX pin on the CP2102 is an output and needs to be connected to the RX pin on the PG31. This screwed me up a few times.

The CP2102 has built-in cystal and eeprom. These means you need very few external components to get it working. You can even program in your own ID string so when you plug it onto your computer, it comes up with the name of your widget!

When the CP210x is attached to a computer (and it's soldered correctly) you will see windows hardware wizard request drivers. These drivers can be downloaded from SI Labs. You can also create your own signature drivers using some SI Labs software.

You can also program the internal EEPROM to reflect your own product ID and serial strings. This software is from SI Labs as well but I forget were - when someone finds it, post it here.

Once the drivers are installed, the CP210x will turn into a serial com port! Yes! It's weird to think about until you see it happen. So this USB dev board now acts like a com port on my computer. All I have to do is pass characters in and out COM 5 (for example) and I can do things over USB! No messy drivers, no protocols to think about, it's all done in the IC. All right!

One thing to note when you are using th 1000 e CP210x ICs, the Linux community may scoff. SI Labs did a great job with the windows support, but a piss-poor job of opening the drivers for the open-source community. I'm not really a Linux person so it didn't effect me. But if your app needs linux connectivity, you may want to take a quick look for other potential ICs. Last I heard, there was good Linux support for the CP2102, but there was nothing for the CP2103 GPIO control...

One last con : The ICs come in QFN leadless package only. YES it can be soldered by hand, but you'll need some experience and/or some good hot-air soldering tools. I taught myself how to rework stuff using this IC. You really can't destroy it, but you can certainly delaminate (kill) the PCB if you heat it for excessive amounts of time. Don't 'not' create a PCB or a design because of silly SMD parts. They're not that hard to solder!


Battery Backup

12mm coin cell holder

If you're playing with GPS, you've got to have a battery backup. The 12mm coin cell lithium allows the PG31 (and many other GPS receivers) to retain the alamanac data. This small battery provides just enough juice for 3-5 years. By having alamanac data at power on, the GPS receiver will be able to do a warm lock instead of a cold lock. Cold locks take 1-2 minutes, warm locks, as little as 30 seconds. The alamanac data, in effect, allows the GPS receiver to 'guess' where it is in the world ("Last time I was on I was in Ohio, therefor, I will assume I'm near there").

If you're unfamiliar with Lithium Coin Cells - they come in a couple different sizes. I prefer 12mm just cause it's small but beefy enough to do most of the BBR (battery backed ram) that we need to support. The battery itself has a postive top (noted by the plus) and a ground on the bottom. You normally create a pad on the PCB for the ground and the coin cell holder is positive. We've learned the hard way that the bottom part of the cell is sometimes concave. This means that when you slide the coin cell onto the board, the concave ground part of the cell may not contact the PCB pad very well. If you're using a paste stencil, just leave a cutout for this pad. The extra paste will add 5-10 mils of solder to the pad. If you're solder the thing by hand, add a little blob of solder to this ground pad to give it some height. When you insert the battery, it should ride nicely on top of the ground pad blob.


PG31 Footprint

PG31-Footprint.jpg

Now about the footprint for the PG31. Unless the manufacturer hands you a foorprint file or a simple, recommended FP in the datasheet, you're going to have to go it on your own. We took the PG31 and a pair of calipers and went at it. It can be extremely difficult the first time. This PG31 FP took me twice to get correct. Do the best you can and try to account for things like the antenna connector. The second rev FP, I forgot to account for the MMCX connector, I put the DB9 connector right up against the PG31, and Viola - useless PCB! a.k.a another coaster for my coffee cup. But once you've got the FP, you're good for all future projects using that device. Now you know when engs hate to change parts...


Final Layout

PG31-USB-Layout.jpg

You can see the PCB layout is pretty straight forward. The 'solder jumpers' are a feature that SFE came up with to minimize our manufacturing time while allowing end users to populate the physical jumpers if they needed the ability to connect/disconnect a feature often and quickly. Most users just plug the PG31 onto their computer for quick evaluation. At some point, the CP2102 IC may need to be disconnected from the circuit so that an external micro or embedded system could be attached. If this is done back and forth often, the end user can clear the solder jumper with a swipe of the soldering iron, install a 2-pin header and a black plastic jumper. This now allows them to jumper/dejumper quickly and keeps us from having to solder the 2-pin headers into a board that may not need them.


===Things to 1000

Improve===

So that's pretty much it. The board works well, and assuming Laipac doesn't change their parts again, we will produce the board for some time.

We may consider migrating to a different USB IC someday but the CP2102 continues to be a really simple to use USB to UART IC.


Documents

PG31 USB Schematic

PG31-USB Protel File

PG31-USB Gerber Files

Footprints:
SFE Footprint Library

FP Name: PG31

Supplier Info:
Spark Fun Electronics part # : Eval-PG31-USB
Single Piece Price : $29.95

Related Items:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox