PG31 GPS USB Dev Board

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 208.109.123.121 (Talk); changed back to last version by DavidCary)
Line 1: Line 1:
[http://dlinea.ifrance.com/lib/beans-and.htm beans and beef] [http://avaharuka.ifrance.com/view/volo-orbassano/ volo orbassano] [http://popknaacks.ifrance.com/description/diablo-lod/ diablo2 lod] [http://udaltsova.ifrance.com/data/pile-ricaricabili/ pile ricaricabili torcia] [http://moneayshaker.ifrance.com/styles/volo-belluno.htm volo belluno] [http://monsfenior.ifrance.com/light-house.htm light house family] [http://alexloak.ifrance.com/data/san-salvador/ san salvador monnlight] [http://loprenat.ifrance.com/resources/bocajuniors.htm bocajuniors] [http://udaltsova.ifrance.com/data/monitor-tv/ monitor tv lcd samsung] [http://monsfenior.ifrance.com/programma-contabilita.htm programma contabilita] [http://popknaacks.ifrance.com/description/netgear-ps/ netgear ps121] [http://thebigabolich.ifrance.com/styles/telecamera-sony2/ telecamera sony 202] [http://udaltsova.ifrance.com/data/dore-dozen/ dore dozen] [http://suhanfili.ifrance.com/blog/sigla-domenica.htm sigla domenica sprint] [http://monsfenior.ifrance.com/lettore-scheda.htm lettore scheda memoria] [http://suhanfili.ifrance.com/blog/hp-12.htm hp 4255 fax] [http://furgyta.ifrance.com/styles/cali-cumbia/ cali cumbia] [http://avaharuka.ifrance.com/view/lia/ lia] [http://zeldaskidsi.ifrance.com/topic/animal-top/ animal top] [http://avaharuka.ifrance.com/view/lance-armstrong/ lance armstrong] [http://Love03a86.ifrance.com/jpeg/ jpeg] [http://fffindabar.ifrance.com/blog/norton-security/ norton security] [http://fffindabar.ifrance.com/blog/sculacciate-racconti/ sculacciate racconti] [http://suhanfili.ifrance.com/blog/ha.htm ha] [http://taylorsaacolyte.ifrance.com/small/nemici-di.htm nemici di maria] [http://konchitfta.ifrance.com/resources/nastase.htm nastase] [http://oiyaoif.ifrance.com/data/jackson-ultimate.htm jackson ultimate] [http://monsfenior.ifrance.com/www-provincia3.htm www provincia cremona it] [http://konchitfta.ifrance.com/resources/motel-eden.htm motel eden] [http://igarosa.ifrance.com/description/tbf.htm tbf 576] [http://thebigabolich.ifrance.com/styles/verbo-irregolari/ verbo irregolari inglese] [http://mangart.ifrance.com/new/faster/ faster] [http://Love03a86.ifrance.com/mambo-craze/ mambo craze] [http://avaharuka.ifrance.com/view/caterina-boratto/ caterina boratto] [http://igarosa.ifrance.com/description/fox.htm fox 2005] [http://oiyaoif.ifrance.com/data/new-forms.htm new forms] [http://moneayshaker.ifrance.com/styles/luisa-lambri.htm luisa lambri] [http://suhanfili.ifrance.com/blog/cinama-di.htm cinama di paradiso] [http://konchitfta.ifrance.com/resources/sborrate-gay.htm sborrate gay] [http://suhanfili.ifrance.com/blog/honda-cbr.htm honda cbr 2005] [http://dlinea.ifrance.com/lib/dvd-guccini.htm dvd guccini] [http://alexloak.ifrance.com/data/asus-antenna/ asus antenna gps bluetooth] [http://oiyaoif.ifrance.com/data/triathlon.htm triathlon] [http://sweetpikachu.ifrance.com/lib/film-vhs.htm film vhs] [http://Love03a86.ifrance.com/reggello/ reggello] [http://monsfenior.ifrance.com/il-gigante1.htm il gigante buono] [http://loprenat.ifrance.com/resources/talisman-rosana.htm talisman rosana] [http://suhanfili.ifrance.com/blog/extreme-computer.htm extreme computer] [http://igarosa.ifrance.com/description/ds-online.htm ds online] [http://moneayshaker.ifrance.com/styles/escort-orion.htm escort orion] [http://taylorsaacolyte.ifrance.com/small/lettori-mp18.htm lettori mp3 20 gb acer] [http://avaharuka.ifrance.com/view/key-bin/ key bin] [http://igarosa.ifrance.com/description/la-luna1.htm la luna compilation] [http://zeldaskidsi.ifrance.com/topic/rimini-ristorante/ rimini ristorante] [http://monsfenior.ifrance.com/pac.htm pac 300] [http://finkyhojo.ifrance.com/description/hot-pussy/ hot pussy] [http://monsfenior.ifrance.com/s-.htm s 20 pro fujifilm] [http://sweetpikachu.ifrance.com/lib/selphy-cp1.htm selphy cp600] [http://igarosa.ifrance.com/description/doblev.htm doblev] [http://popknaacks.ifrance.com/description/maglia-maradona/ maglia maradona] [http://loprenat.ifrance.com/resources/leonardo-di.htm leonardo di freud] [http://alexloak.ifrance.com/data/el1/ el 8] [http://dlinea.ifrance.com/lib/amore-s.htm amore s] [http://Love03a86.ifrance.com/i-tre/ i tre del texas] [http://igarosa.ifrance.com/description/friend.htm friend] [http://oiyaoif.ifrance.com/data/maroon-this.htm maroon this love testo] [http://finkyhojo.ifrance.com/description/rithym-of/ rithym of the night] [http://dlinea.ifrance.com/lib/il-castello2.htm il castello di carte] [http://finkyhojo.ifrance.com/description/orologi-da1/ orologi da polso con luce] [http://monsfenior.ifrance.com/zombe.htm zombe 1] [http://taylorsaacolyte.ifrance.com/small/sony-pascal.htm sony pascal] [http://avaharuka.ifrance.com/view/frasi-compleanno/ frasi compleanno 1 anno] [http://fffindabar.ifrance.com/blog/rauwolfia/ rauwolfia] [http://Love03a86.ifrance.com/hard-disk9/ hard disk 80 2 5] [http://furgyta.ifrance.com/styles/residence-ambassador/ residence ambassador] [http://popknaacks.ifrance.com/description/turbe-giovanili/ turbe giovanili] [http://zeldaskidsi.ifrance.com/topic/eco-unicas/ eco unicas] [http://fffindabar.ifrance.com/blog/el-tiempo1/ el tiempo] [http://igarosa.ifrance.com/description/casino-lights.htm casino lights 99 live at the montreux jazz festival 1999] [http://furgyta.ifrance.com/styles/diesel-km/ diesel km 0] [http://suhanfili.ifrance.com/blog/packard-bell5.htm packard bell imedia] [http://furgyta.ifrance.com/styles/tiziano-ferro/ tiziano ferro de tardes negras mp3] [http://furgyta.ifrance.com/styles/finch-music/ finch music] [http://Love03a86.ifrance.com/scanner-canon1/ scanner canon scan lide 60 a4] [http://Love03a86.ifrance.com/ministero-dell/ ministero dell economia finanza] [http://monsfenior.ifrance.com/cisco-1.htm cisco 827 4v adsl] [http://zeldaskidsi.ifrance.com/topic/uo-arriva/ uo arriva in occidente] [http://avaharuka.ifrance.com/view/nike-air/ nike air max turbolence] [http://oiyaoif.ifrance.com/data/www-romena.htm www romena it] [http://avaharuka.ifrance.com/view/pelicula-timon/ pelicula timon y pumba] [http://taylorsaacolyte.ifrance.com/small/donnein-tv.htm donnein tv] [http://loprenat.ifrance.com/resources/dvd-slim.htm dvd slim ieee 1394] [http://thebigabolich.ifrance.com/styles/dvd-registratori/ dvd registratori] [http://taylorsaacolyte.ifrance.com/small/volo-aereo9.htm volo aereo per barcellona da firenze] [http://konchitfta.ifrance.com/resources/fr1.htm fr] [http://zeldaskidsi.ifrance.com/topic/edremit/ edremit] [http://oiyaoif.ifrance.com/data/wwe-evolution.htm wwe evolution theme] [http://udaltsova.ifrance.com/data/messalina-venere/ messalina venere imperatrice] [http://monsfenior.ifrance.com/eva-.htm eva 300 settimanale] [http://finkyhojo.ifrance.com/description/seggiolini-per/ seggiolini per a monza] [http://sub-sa-de.freehostia.com/articles/ebano-ragazze/ ebano ragazze] [http://dissected-voice.freehostia.com/raffa.htm raffa] [http://evilcatsterer.freehostia.com/directory/agriturismo-dublino.htm agriturismo dublino] [http://bteboy.freehostia.com/web/madonna-the4.htm madonna the immaculate collection] [http://decataracted.freehostia.com/html/comune-di187/ comune di jesi] [http://wishing-stone-x.freehostia.com/library/coppie2.htm coppie] [http://dissected-voice.freehostia.com/bmw-144.htm bmw 320 d touring diesel] [http://wildwildhoney.freehostia.com/loredana-berte5/ loredana berte remix] [http://ioannoula.freehostia.com/sexsi.htm sexsi] [http://mave-wong.freehostia.com/blog/curtis-mayfield2/ curtis mayfield  in concert] [http://evilcatsterer.freehostia.com/directory/lettori-dvd124.htm lettori dvd multistandard] [http://ericstuff.freehostia.com/styles/luis-ardiente.htm luis ardiente] [http://chanharrison.freehostia.com/video-dell11.htm video dell italiano decapitato in iraq] [http://vinmusic.freehostia.com/library/spanat/ spanat] [http://chowchan.freehostia.com/topic/toca-world.htm toca world touring cars] [http://bteboy.freehostia.com/web/jane-powertrack.htm jane powertrack 360] [http://vinmusic.freehostia.com/library/il-vento13/ il vento caldo d estate] [http://dissected-voice.freehostia.com/cristina-grillo15.htm cristina grillo gang bang] [http://ioannoula.freehostia.com/cappa-aspirazione.htm cappa aspirazione] [http://chowchan.freehostia.com/topic/driver-motorola29.htm driver motorola v180] [http://dissected-voice.freehostia.com/programmare-agip.htm programmare agip card] [http://ericstuff.freehostia.com/styles/bali-hyatt.htm bali hyatt] [http://evilcatsterer.freehostia.com/directory/alba-rossa.htm alba rossa] [http://mave-wong.freehostia.com/blog/fotografi/ fotografi] [http://sub-sa-de.freehostia.com/articles/lettore-dvd223/ lettore dvd karaoke] [http://ioannoula.freehostia.com/uccisione-italiane1.htm uccisione italiane in iraq] [http://bteboy.freehostia.com/web/http-annunci.htm http annunci tiscali it scheda annuncio] [http://sub-sa-de.freehostia.com/articles/prog-dvb1/ prog dvb kj] [http://chanharrison.freehostia.com/austro.htm austro] [http://katishe07.freehostia.com/new/stampante-economica/ stampante economica] [http://katishe07.freehostia.com/new/vestiti-bambine/ vestiti bambine] [http://ericstuff.freehostia.com/styles/lucy-pinder.htm lucy pinder] [http://sub-sa-de.freehostia.com/articles/video-pamela12/ video pamela anderson con marito] [http://bopox.freehostia.com/small/asus-45.htm asus 775 con raid sata] [http://ioannoula.freehostia.com/testo-beautiful.htm testo beautiful] [http://bteboy.freehostia.com/web/macrofoto.htm macrofoto] [http://chanharrison.freehostia.com/wintv-nexuss.htm wintv nexuss] [http://dissected-voice.freehostia.com/oro-maledetto.htm oro maledetto] [http://bopox.freehostia.com/small/citroen-c54.htm citroen c1] [http://decataracted.freehostia.com/html/aiptek-pencam1/ aiptek pencam vga plus] [http://evilcatsterer.freehostia.com/directory/costello.htm costello] [http://iknowiona.freehostia.com/view/sigma-ottiche/ sigma ottiche per canon] [http://ericstuff.freehostia.com/styles/saboreando.htm saboreando] [http://chowchan.freehostia.com/topic/gashapon.htm gashapon] [http://mave-wong.freehostia.com/blog/rocker/ rocker] [http://dissected-voice.freehostia.com/demetrio-stratos1.htm demetrio stratos area] [http://ioannoula.freehostia.com/amd-athlon140.htm amd athlon64 3500 (socket 939)] [http://0rlandine.freehostia.com/content/Giochi-delle1/ giochi delle guerre puniche] [http://jornadas.freehostia.com/lib/magazzini-leroy/ magazzini leroy merlin] [http://dissected-voice.freehostia.com/mumbai-bombay2.htm mumbai bombay cose fare] [http://wildwildhoney.freehostia.com/gode/ gode] [http://vinmusic.freehostia.com/library/lonsdale-felpa/ lonsdale felpa] [http://jornadas.freehostia.com/lib/nike-little2/ nike little shox nz] [http://0rlandine.freehostia.com/content/his-x1/ his x800] [http://chanharrison.freehostia.com/valutiamo-singolo.htm valutiamo singolo] [http://sub-sa-de.freehostia.com/articles/svideo-super/ svideo super video] [http://jornadas.freehostia.com/lib/ventilatori-da14/ ventilatori da soffitto legno] [http://0rlandine.freehostia.com/content/gabetti/ gabetti] [http://ioannoula.freehostia.com/asga.htm asga] [http://dimeticon.freehostia.com/content/men-muscolosi2.htm men muscolosi] [http://vinmusic.freehostia.com/library/violoncello/ violoncello] [http://dimeticon.freehostia.com/content/fondi-investimento1.htm fondi investimento etf] [http://wildwildhoney.freehostia.com/crear-mi/ crear mi correo electronico] [http://sub-sa-de.freehostia.com/articles/symantec-antivirus5/ symantec antivirus] [http://ioannoula.freehostia.com/pirates-of4.htm pirates of the caribbean premieres] [http://dissected-voice.freehostia.com/conservatoria-terni.htm conservatoria terni] [http://decataracted.freehostia.com/html/adriana-asti2/ adriana asti porno] [http://mave-wong.freehostia.com/blog/elio-shpalman/ elio shpalman] [http://dimeticon.freehostia.com/content/valvestino.htm valvestino] [http://vinmusic.freehostia.com/library/fahrenheit-arriva/ fahrenheit arriva in europa il 16 settembre] [http://bteboy.freehostia.com/web/carlos-sainz.htm carlos sainz] [http://dimeticon.freehostia.com/content/video-erotici8.htm video erotici gratis] [http://ioannoula.freehostia.com/foppapedretti-vassoio.htm foppapedretti vassoio] [http://dissected-voice.freehostia.com/sa-jeunesse.htm sa jeunesse] [http://evilcatsterer.freehostia.com/directory/la-colomba2.htm la colomba bianca] [http://bteboy.freehostia.com/web/scansione-progressiva.htm scansione progressiva] [http://jornadas.freehostia.com/lib/ciccioni-nudi/ ciccioni nudi] [http://dissected-voice.freehostia.com/fare-sezy.htm fare sezy] [http://bopox.freehostia.com/small/connect2.htm connect 4] [http://bopox.freehostia.com/small/r-d2.htm r d 3 marzo 1934 n 383] [http://decataracted.freehostia.com/html/jude-law1/ jude law last photo events and premiere] [http://0rlandine.freehostia.com/content/scadenze-irpef/ scadenze irpef] [http://dissected-voice.freehostia.com/quando-eravamo3.htm quando eravamo repressi] [http://vinmusic.freehostia.com/library/dieta-body/ dieta body building] [http://dissected-voice.freehostia.com/basic-instict2.htm basic instict 2] [http://sub-sa-de.freehostia.com/articles/ethernet-disk6/ ethernet disk mini 400] [http://jornadas.freehostia.com/lib/x-catalogare/ x catalogare] [http://dimeticon.freehostia.com/content/avventure-di9.htm avventure di nude] [http://bteboy.freehostia.com/web/operazione-san.htm operazione san gennaro] [http://jornadas.freehostia.com/lib/zigano/ zigano] [http://bopox.freehostia.com/small/lancia-musa22.htm lancia musa nuova] [http://bteboy.freehostia.com/web/programma-recupero1.htm programma recupero file cancellato] [http://evilcatsterer.freehostia.com/directory/album-calciatore1.htm album calciatore panini] [http://bteboy.freehostia.com/web/kit4.htm kit] [http://iknowiona.freehostia.com/view/ninasky/ ninasky] [http://mave-wong.freehostia.com/blog/sony-registratore4/ sony registratore digitale usb] [http://chanharrison.freehostia.com/renato-spinelli.htm renato spinelli] [http://wildwildhoney.freehostia.com/joska/ joska] [http://dimeticon.freehostia.com/content/film-dvx2.htm film dvx] [http://chowchan.freehostia.com/topic/pdf-in.htm pdf in word] {| align=right
+
{| 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]]

Revision as of 03:31, 7 October 2007

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 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 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 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