Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
m (Reverted edits by 194.176.176.82 (Talk); changed back to last version by 193.51.215.2)
 
(37 intermediate revisions by 23 users not shown)
Line 1: Line 1:
[http://istra78.110mb.com/finepix2/ finepix 350] [http://wannachange.110mb.com/intimo-uomo6/ intimo uomo] [http://farrell.110mb.com/articles/monica-somma/ monica somma] [http://istra78.110mb.com/follicolare/ follicolare] [http://savyono.110mb.com/herdy-gerdy.htm herdy gerdy] [http://wannachange.110mb.com/anja-rupel/ anja rupel] [http://anwud.110mb.com/resources/k-sw.htm k sw] [http://savyono.110mb.com/banking-mercant.htm banking mercant on line] [http://starfish11.110mb.com/directory/la-dodicesima1.htm la dodicesima notte] [http://freeperson.110mb.com/description/www-univirtual/ www univirtual it] [http://goatee-guy.110mb.com/topic/matagalpa/ matagalpa] [http://freeperson.110mb.com/description/metastasi-del/ metastasi del melanoma] [http://boarderboi8.110mb.com/data/wintvnovas-pci/ wintvnovas pci] [http://yuri7751.110mb.com/styles/film-drammatico.htm film drammatico] [http://savyono.110mb.com/michael-jackson14.htm michael jackson the ultimate collection] [http://jene-7777777.110mb.com/archos3/ archos 20] [http://freeperson.110mb.com/description/ronse/ ronse] [http://kiritch.110mb.com/view/panasonic-mobile.htm panasonic mobile phone] [http://farrell.110mb.com/articles/nozze-d1/ nozze d argento franco amendola] [http://laser-radiation.110mb.com/web/jump-gate/ jump gate in demo] [http://starfish11.110mb.com/directory/left-outside16.htm left outside] [http://kiritch.110mb.com/view/panini-calciatore.htm panini calciatore] [http://rianablackrose.110mb.com/library/midgits.htm midgits] [http://jene-7777777.110mb.com/eamon-testi1/ eamon testi e traduzioni] [http://istra78.110mb.com/prezzo-motorola1/ prezzo motorola] [http://kiritch.110mb.com/view/Cellulare-sony1.htm cellulare sony] [http://savyono.110mb.com/in-the25.htm in the disko] [http://freeperson.110mb.com/description/nokia-194/ nokia 6630 umts titanium grey] [http://kiritch.110mb.com/view/www-cantv.htm www cantv net] [http://freeperson.110mb.com/description/train-on/ train on a track] [http://istra78.110mb.com/camera-dei1/ camera dei comuni] [http://farrell.110mb.com/articles/il-giardino12/ il giardino fiorato] [http://istra78.110mb.com/scouting-casting/ scouting casting] [http://digitalblisss.110mb.com/new/farina-biologica/ farina biologica] [http://rianablackrose.110mb.com/library/i-ragazzi15.htm i ragazzi del 99] [http://farrell.110mb.com/articles/letto-pieghevole/ letto pieghevole] [http://tap-step.110mb.com/description/feste-coppie.htm feste coppie scambiste] [http://anwud.110mb.com/resources/rosam.htm rosam] [http://boarderboi8.110mb.com/data/dope-wars/ dope wars] [http://boarderboi8.110mb.com/data/vania-trans/ vania trans] [http://boarderboi8.110mb.com/data/lavoro-loano/ lavoro loano] [http://anwud.110mb.com/resources/appuntamento-con2.htm appuntamento con loro] [http://wannachange.110mb.com/stampanti-colori2/ stampanti colori a sublimazione] [http://goatee-guy.110mb.com/topic/frigorifero-combinato12/ frigorifero combinato candy] [http://wannachange.110mb.com/italian-girl/ italian girl] [http://farrell.110mb.com/articles/annuncio-verona/ annuncio verona] [http://lady-shock.110mb.com/fiere-in/ fiere in italia] [http://boarderboi8.110mb.com/data/stampanti-computer/ stampanti computer] [http://farrell.110mb.com/articles/scope-elettriche6/ scope elettriche senza filo] [http://geekstinkbreath.110mb.com/content/voli-cesenatico/ voli cesenatico] [http://istra78.110mb.com/las-noches/ las noches] [http://laser-radiation.110mb.com/web/hotel-alba1/ hotel alba d amore lampedusa] [http://wannachange.110mb.com/yildiztilbe/ yildiztilbe] [http://jene-7777777.110mb.com/feste-in/ feste in provincia di modena] [http://vasileeek.110mb.com/ilary-blasi3.htm ilary blasi e francesco totti] [http://jene-7777777.110mb.com/saffico-eros/ saffico eros] [http://bgkent.110mb.com/lib/suore-nude.htm suore nude] [http://goatee-guy.110mb.com/topic/stivali-donna9/ stivali donna marrone] [http://goatee-guy.110mb.com/topic/www-tickton/ www tickton it] [http://anwud.110mb.com/resources/attak.htm attak] [http://vulpesfulvus.110mb.com/new/tastiera-nokia6/ tastiera nokia 3510] [http://vulpesfulvus.110mb.com/new/www-teatro/ www teatro la scala iy] [http://vulpesfulvus.110mb.com/new/pronto-moda3/ pronto moda srl bigiotteria] [http://istra78.110mb.com/tubo-acciaio1/ tubo acciaio] [http://farrell.110mb.com/articles/scheda-video67/ scheda video geforce 6600] [http://kiritch.110mb.com/view/parental-secrets.htm parental secrets] [http://bgkent.110mb.com/lib/vie-biliari.htm vie biliari] [http://freeperson.110mb.com/description/giochi-su6/ giochi su babbo natale] [http://digitalblisss.110mb.com/new/tighina/ tighina] [http://laser-radiation.110mb.com/web/endless-love1/ endless love] [http://vasileeek.110mb.com/pasta-mais.htm pasta mais] [http://vulpesfulvus.110mb.com/new/faramita-lambru/ faramita lambru music] [http://istra78.110mb.com/vendita-vino/ vendita vino rossi] [http://anwud.110mb.com/resources/nokia-224.htm nokia 6630 dual] [http://boarderboi8.110mb.com/data/occhiali-da31/ occhiali da sole uomo] [http://geekstinkbreath.110mb.com/content/finnair/ finnair] [http://goatee-guy.110mb.com/topic/francja/ francja] [http://farrell.110mb.com/articles/geforce-fx2/ geforce fx 5500 256mb] [http://goatee-guy.110mb.com/topic/processore2/ processore 775] [http://kiritch.110mb.com/view/luomo-solitario.htm luomo solitario] [http://goatee-guy.110mb.com/topic/ice-castels/ ice castels] [http://istra78.110mb.com/hbh-2/ hbh 600 sony] [http://geekstinkbreath.110mb.com/content/asus-extreme10/ asus extreme ax300se 128mb] [http://tap-step.110mb.com/description/comune-di116.htm comune di buonconvento] [http://geekstinkbreath.110mb.com/content/lettori-dvx4/ lettori dvx prezzi] [http://boarderboi8.110mb.com/data/campi-elisi/ campi elisi] [http://wannachange.110mb.com/final-fantasy17/ final fantasy x porno] [http://jene-7777777.110mb.com/foto-manuela/ foto manuela leggeri] [http://digitalblisss.110mb.com/new/duma-etnologia/ duma (etnologia)] [http://jene-7777777.110mb.com/canzoni-di18/ canzoni di yamaha] [http://bgkent.110mb.com/lib/emiro.htm emiro] [http://goatee-guy.110mb.com/topic/video-l/ video l americano decapitato in diretta] [http://farrell.110mb.com/articles/il-principe4/ il principe folle] [http://boarderboi8.110mb.com/data/double-ball/ double ball] [http://digitalblisss.110mb.com/new/concorsi-per8/ concorsi per milano] [http://vulpesfulvus.110mb.com/new/fierro/ fierro] [http://digitalblisss.110mb.com/new/www-suzuki/ www suzuki] [http://digitalblisss.110mb.com/new/bachata-style/ bachata style] [http://kiritch.110mb.com/view/mitsubishi-climatizzatori.htm mitsubishi climatizzatori] [http://laser-radiation.110mb.com/web/www-pornodivi/ www pornodivi it] [http://diamond9697.freewebportal.com/content/view/seagate-serial.htm seagate serial ata] [http://rulemaker.150m.com/topic/bamboleio.htm bamboleio] [http://chrystia.150m.com/img/styles/nickolas-burg/ nickolas burg] [http://diamond9697.freewebportal.com/content/view/voli-orio.htm voli orio al serio] [http://lovereceiver.freewebportal.com/resources/articles/beverly-.htm beverly 200 a napoli] [http://sibille.greatnow.com/text/directory/yhoo/ yhoo] [http://sibille.greatnow.com/text/directory/www-affari/ www affari] [http://bladespark.freecities.com/topic/tgm-tgmonline/ tgm tgmonline gioco pc download recensione] [http://masiatina.freecities.com/topic/shame-shame/ shame shame] [http://kramarskiy.greatnow.com/description/lib/specchietto-retrovisore/ specchietto retrovisore per auto] [http://masiatina.freecities.com/topic/lacoste/ lacoste 5] [http://slavfond.freewebportal.com/web/loghi-sexy.htm loghi sexy] [http://tearjerky.freecities.com/text/directory/www-migente.htm www migente] [http://lil-girl-lost.freewebportal.com/description/lib/franco-trentalance/ franco trentalance] [http://the-twitch.freewebportal.com/view/new/l.htm l] [http://trouble166.freewebportal.com/data/canzone-audio.htm canzone audio barbie girl] [http://kramarskiy.150m.com/topic/ricevitore-gps.htm ricevitore gps bt77] [http://beyonddreamingx.freewebportal.com/html/erotic-videos.htm erotic videos] [http://chrystia.150m.com/img/styles/lcd-hp/ lcd hp vs19] [http://untricker.150m.com/images/small/isola-dei/ isola dei famosi rai due] [http://honey-n-almonds.150m.com/library/html/valex.htm valex] [http://trouble166.freewebportal.com/data/bouble-bobble.htm bouble bobble] [http://oizo-little.freecities.com/web/canon-mvxi.htm canon mvx3i] [http://yonosoyyo.freewebportal.com/text/directory/manhattan-baby/ manhattan baby] [http://kramarskiy.greatnow.com/description/lib/nopti-fara/ nopti fara somn o zone] [http://vlano.freewebportal.com/web/www-fitri/ www fitri it] [http://gathering-amity.freecities.com/library/html/simboli-gotici/ simboli gotici] [http://bladespark.freecities.com/topic/mitsubishi-usato/ mitsubishi usato] [http://vandeia.freewebportal.com/resources/articles/hearns/ hearns] [http://tearjerky.freecities.com/text/directory/un-ande.htm un ande dans le ciel] [http://the-twitch.freewebportal.com/view/new/tour-max.htm tour max pezzali estate 2004] [http://dzhigitka.150m.com/resources/articles/file-hex/ file hex ultra blue] [http://vlano.freewebportal.com/web/maranta/ maranta] [http://untricker.greatnow.com/data/film-con/ film con ben affleck] [http://vlano.freewebportal.com/web/nikkor-dx/ nikkor dx 1224mm ifed] [http://yonosoyyo.freewebportal.com/text/directory/shiseido-tanning/ shiseido tanning] [http://masiatina.freecities.com/topic/dect-/ dect 311 duo] [http://oizo-little.freecities.com/web/opel-zafira.htm opel zafira benzina] [http://slavfond.freewebportal.com/web/soldado-decapitado.htm soldado decapitado] [http://obsrvr.freewebportal.com/images/small/uvet-salerno/ uvet salerno] [http://masiatina.freecities.com/topic/memory-card/ memory card hard disk samsung] [http://trouble166.freewebportal.com/data/bekham.htm bekham] [http://xblisterxfacex.freecities.com/library/html/polka-clarinetto/ polka clarinetto] [http://the-twitch.freewebportal.com/view/new/black-hawk.htm black hawk abbattuto] [http://kramarskiy.greatnow.com/description/lib/kill-harry/ kill harry] [http://dzhigitka.150m.com/resources/articles/tempeste-sotto/ tempeste sotto i mari] [http://wing-of-fon.150m.com/lib/mega/ mega] [http://juliasark.freecities.com/data/sisal-it.htm sisal it] [http://rulemaker.150m.com/topic/naxos-beach.htm naxos beach hotel sicilia] [http://yourstarfish.freewebportal.com/images/small/maquillate-mecano/ maquillate mecano] [http://slavfond.freewebportal.com/web/lacopia.htm lacopia] [http://untricker.150m.com/images/small/driver-mouse/ driver mouse joystick etc] [http://oizo-little.freecities.com/web/napule-e.htm napule e] [http://lightbird.freewebportal.com/description/lib/euro.htm euro 20004] [http://sandydiamond.freecities.com/library/html/resinite/ resinite] [http://untricker.greatnow.com/data/vieni-da/ vieni da me mp3] [http://lil-girl-lost.freewebportal.com/description/lib/il-delitto/ il delitto del secolo] [http://gathering-amity.freecities.com/library/html/maxtor-touch/ maxtor touch] [http://sandydiamond.freecities.com/library/html/sellerio-ultime/ sellerio ultime pubblicazioni] [http://masiatina.freecities.com/topic/nokia-/ nokia 2600 grey] [http://sibille.greatnow.com/text/directory/java-per/ java per samsung s300] [http://vaskoff.150m.com/lib/roc-cellulite.htm roc cellulite] [http://diamond9697.freewebportal.com/content/view/buono-brutto.htm buono brutto e cattivo] [http://vlano.freewebportal.com/web/alfa-romeo/ alfa romeo 147 2001] [http://slavfond.freewebportal.com/web/la-vita.htm la vita salva violet] [http://trouble166.freewebportal.com/data/rack-u.htm rack 2u] [http://yourstarfish.freewebportal.com/images/small/cerco-trav/ cerco trav] [http://dzhigitka.150m.com/resources/articles/balla-concetta/ balla concetta] [http://vandeia.freewebportal.com/resources/articles/imothep/ imothep] [http://vandeia.freewebportal.com/resources/articles/arthur-kennedy/ arthur kennedy] [http://gathering-amity.freecities.com/library/html/city-of/ city of blood] [http://sibille.greatnow.com/text/directory/philips-tv/ philips tv 42pf9946] [http://rulemaker.150m.com/topic/necronomicon-game.htm necronomicon game manual] [http://wing-of-fon.150m.com/lib/qtec-hub/ qtec hub 4 port usb 2 0] [http://untricker.greatnow.com/data/elicotteri-elettrici/ elicotteri elettrici] [http://masiatina.freecities.com/topic/toyota-yaris/ toyota yaris torino] [http://wing-of-fon.150m.com/lib/la-panzanella/ la panzanella testo] [http://dzhigitka.150m.com/resources/articles/noleggio-auto/ noleggio auto fiumicino] [http://chrystia.150m.com/img/styles/img-and/ img and indonesian and commerce guestbook] [http://diamond9697.freewebportal.com/content/view/under-my.htm under my skin avril] [http://lethal.freecities.com/img/styles/virtual-skipper.htm virtual skipper3] [http://slavfond.freewebportal.com/web/asco.htm asco] [http://yonosoyyo.freewebportal.com/text/directory/dale-dick/ dale dick and his del tones misirlou] [http://babydollvamp.greatnow.com/web/paroles-des/ paroles des chanson] [http://oizo-little.freecities.com/web/p-celeron.htm p4 celeron] [http://trouble166.freewebportal.com/data/time-is.htm time is running out muse mp3] [http://kramarskiy.150m.com/topic/hi-fi.htm hi fi mini philips] [http://bladespark.freecities.com/topic/frasi-sull/ frasi sull amicizia] [http://emaya.150m.com/data/donne-nere/ donne nere] [http://interpretator.freecities.com/description/lib/citta-di.htm citta di monza] [http://kramarskiy.150m.com/topic/hp-h.htm hp h1930] [http://untricker.greatnow.com/data/tastiere-microsoft/ tastiere microsoft] [http://yourstarfish.freewebportal.com/images/small/maureen-dor/ maureen dor] [http://untricker.greatnow.com/data/cd-adriano/ cd adriano celentano 1965] [http://babydollvamp.greatnow.com/web/darklight-conflict/ darklight conflict] [http://lethal.freecities.com/img/styles/hard-disk.htm hard disk esterno lacie 250] [http://diamond9697.freewebportal.com/content/view/lavatrici-super.htm lavatrici super silent] [http://lovereceiver.freewebportal.com/resources/articles/prove-d.htm prove d esame 2002] [http://vandeia.freewebportal.com/resources/articles/amore-per/ amore per appuntamento] [http://charisse-anne.freewebportal.com/img/styles/angel-di.htm angel di buffy] {| 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]]
Line 67: Line 67:
 
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.
 
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===
+
==Documents==
 
[[Media:PG31 USB Schematic.pdf|PG31 USB Schematic]]
 
[[Media:PG31 USB Schematic.pdf|PG31 USB Schematic]]
  

Latest revision as of 11:55, 16 December 2008

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

USB Connection[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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: