Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(→‎USB Connection: restore "D+")
m
Line 1: Line 1:
{| align=right
+
[http://nobinters.org/affittacamere-lucca.htm affittacamere lucca] [http://ustall.org/web/lacafetera.htm lacafetera] [http://ustall.org/web/larva.htm larva] [http://kinunia.cn/gatitas.htm gatitas] [http://kinunia.cn/annunci-ragazze.htm annunci ragazze vogliose] [http://nobinters.org/fujifilm-finepix.htm fujifilm finepix f610] [http://nobinters.org/lupen-fisarmonica.htm lupen fisarmonica] [http://kinunia.cn/il-teatro.htm il teatro di john keats] [http://ashythro.info/library/html/celeron-d/ celeron d 336] [http://amohseni.info/img/styles/loewe-spheros/ loewe spheros 37 hd] [http://nobinters.org/www-finanze.htm www finanze] [http://ashythro.info/library/html/mitsubishi-condizionatori/ mitsubishi condizionatori trial] [http://ashythro.info/library/html/cavo-surround/ cavo surround] [http://helmed.info/topic/qvr-casio/ qv-r52 casio] [http://ustall.org/web/confort-trio.htm confort trio] [http://davte.info/library/html/firenze-zurigo.htm firenze zurigo biglietti aerei] [http://bloprofeldi.info/lib/centri-urbani.htm centri urbani] [http://psisemiya.com/images/small/de-bary/ de bary, heinrich anton] [http://davte.info/library/html/banconota-italiane.htm banconota italiane] [http://ashythro.info/library/html/nike-solas/ nike solas air] [http://davte.info/library/html/www-caravanbacci.htm www caravanbacci it] [http://chaba.info/foto-annunci/ foto annunci singole donne amanti anal] [http://amohseni.info/img/styles/amapola-com/ amapola com] [http://saibso.org/lettore-cd.htm lettore cd radio] [http://chaba.info/calcolo-indennita/ calcolo indennita occupazione] [http://nobinters.org/hyundai-p.htm hyundai 201p] [http://psisemiya.com/images/small/hard-disk/ hard disk portatile lettore memory card] [http://chaba.info/scuola-per/ scuola per estetista] [http://saibso.org/f.htm f410] [http://chaba.info/ever-/ ever 2005 q] [http://kinunia.cn/cd-britney.htm cd britney spears] [http://amohseni.info/img/styles/le-bouton/ le bouton d or] [http://helmed.info/topic/panasonic-lumix/ panasonic lumix 30] [http://saibso.org/virgilio-mail.htm virgilio mail] [http://chaba.info/ghost-norton/ ghost norton] [http://amohseni.info/img/styles/www-comune/ www comune di ardea it] [http://chaba.info/www-alpitur/ www alpitur com] [http://nobinters.org/cdv.htm cdv] [http://psisemiya.com/images/small/adattatori-prese/ adattatori prese corrente] [http://nobinters.org/uso-degli.htm uso degli automi cellulari] [http://davte.info/library/html/c-.htm c 50 zoom] [http://chaba.info/suzuki-ignis/ suzuki ignis] [http://helmed.info/topic/video-parishilton/ video parishilton] [http://saibso.org/dolls-kitano.htm dolls kitano] [http://saibso.org/www-impero.htm www impero romano it] [http://kinunia.cn/proietti-cavaliere.htm proietti cavaliere nero] [http://psisemiya.com/images/small/video-hard/ video hard gratuiti di oggi] [http://bloprofeldi.info/lib/ferrero-it.htm ferrero it] [http://bloprofeldi.info/lib/pentax-reflex.htm pentax reflex digitali] [http://nobinters.org/creare-libri.htm creare libri] [http://saibso.org/le-key.htm le key de tps france] [http://amohseni.info/img/styles/sorpassometro/ sorpassometro] [http://amohseni.info/img/styles/sony-sdm/ sony sdm 19] [http://amohseni.info/img/styles/de-pinguino/ de pinguino] [http://saibso.org/yacht-casio.htm yacht casio orologi] [http://kinunia.cn/lampade-al.htm lampade al neon] [http://ustall.org/web/gribingui.htm gribingui] [http://psisemiya.com/images/small/funkey/ funkey 256] [http://davte.info/library/html/dvd-a.htm dvd a hanging rock] [http://ustall.org/web/stampanti-inkjet.htm stampanti ink-jet a3 di rete] [http://ashythro.info/library/html/audio-esterna/ audio esterna accessori video] [http://ustall.org/web/shoshan-net.htm shoshan net] [http://nobinters.org/gp-player.htm gp player] [http://chaba.info/gadget-pubblicitari/ gadget pubblicitari] [http://saibso.org/pagine-personali.htm pagine personali travestiti] [http://davte.info/library/html/amd-athlon.htm amd athlon 64 desktop computer] [http://kinunia.cn/viet-michelle.htm viet michelle] [http://davte.info/library/html/batterie-sony.htm batterie sony np] [http://nobinters.org/case-esterno.htm case esterno hard disk 2 5] [http://davte.info/library/html/chill-out.htm chill out] [http://amohseni.info/img/styles/super-boby/ super boby world] [http://davte.info/library/html/decorazione-vetro.htm decorazione vetro sabbiatura] [http://davte.info/library/html/aiuta-babbo.htm aiuta babbo natale a] [http://saibso.org/danza-macabra.htm danza macabra] [http://psisemiya.com/images/small/micro-hifi/ micro hifi teac] [http://davte.info/library/html/meteo-web.htm meteo web] [http://davte.info/library/html/www-herbier.htm www herbier] [http://davte.info/library/html/ercis.htm ercis] [http://ustall.org/web/gioco-automobili.htm gioco automobili] [http://psisemiya.com/images/small/hotel-como/ hotel como ita] [http://psisemiya.com/images/small/black-eyed/ black eyed let] [http://psisemiya.com/images/small/bicchieri-pvc/ bicchieri pvc] [http://ustall.org/web/tre-passi.htm tre passi sulla terra] [http://chaba.info/joypad-playstation/ joypad playstation 2] [http://ustall.org/web/provini-veline.htm provini veline] [http://amohseni.info/img/styles/eleonora/ eleonora 86] [http://chaba.info/eizo-l/ eizo l550] [http://nobinters.org/platone-protagora.htm platone protagora] [http://helmed.info/topic/www-poltronesofa/ www poltronesofa it] [http://amohseni.info/img/styles/igor-sibaldi/ igor sibaldi] [http://bloprofeldi.info/lib/olympus.htm olympus 360] [http://saibso.org/televisore-plasma.htm televisore plasma lg 60] [http://chaba.info/bc-/ bc 20 canon] [http://bloprofeldi.info/lib/ragazze-in.htm ragazze in cam] [http://chaba.info/creare-e/ creare e stampare biglietti auguri] [http://bloprofeldi.info/lib/motorizazione-firenze.htm motorizazione firenze] [http://kinunia.cn/il-ratto.htm il ratto del serraglio] [http://saibso.org/porno-racconto.htm porno racconto] [http://bloprofeldi.info/lib/editto-di.htm editto di rotari] [http://chaba.info/dtt-/ dtt 4100 humax] [http://nobinters.org/gioca-jouer.htm gioca jouer midi] [http://bloprofeldi.info/lib/palmare-gps.htm palmare gps asus palmari] [http://saibso.org/immagini-o.htm immagini o foto del kamasutra] [http://bloprofeldi.info/lib/bruxelles-expo.htm bruxelles expo alberghi e hotel] [http://psisemiya.com/images/small/mini-moto/ mini moto cross] [http://saibso.org/kit-woofer.htm kit woofer] [http://ashythro.info/library/html/dvd-h/ dvd 2014h] [http://helmed.info/topic/mitchel-viet/ mitchel viet sex video] [http://saibso.org/ddr-sdram.htm ddr sdram 512] [http://davte.info/library/html/pc-spento.htm pc spento modem] [http://bloprofeldi.info/lib/sandra-the.htm sandra. the complete history] [http://chaba.info/origenes-del/ origenes del espiritismo] [http://chaba.info/juegos-manga/ juegos manga] [http://chaba.info/epson-a/ epson a3 ink] [http://bloprofeldi.info/lib/pane-e.htm pane e sale] [http://nobinters.org/voli-lamezia.htm voli lamezia terme] [http://davte.info/library/html/japanesegirls-com.htm japanesegirls com] [http://davte.info/library/html/profeti.htm profeti] [http://nobinters.org/i-need.htm i need your lovin] [http://psisemiya.com/images/small/gulasch/ gulasch] [http://davte.info/library/html/film-di.htm film di woody allen] [http://psisemiya.com/images/small/twista-overnight/ twista overnight celebrity] [http://psisemiya.com/images/small/pc-packard/ pc packard bell] [http://davte.info/library/html/stati-depressivi.htm stati depressivi nel bambino] [http://helmed.info/topic/batterie-nikon/ batterie nikon coolpix 5900] [http://psisemiya.com/images/small/nokia-/ nokia 8800 prezzo] [http://bloprofeldi.info/lib/acer-.htm acer - travelmate 630] [http://kinunia.cn/hotel-costa.htm hotel costa del sol] [http://bloprofeldi.info/lib/retribuzione-sufficiente.htm retribuzione sufficiente e condizioni locali] [http://kinunia.cn/rattan-arredo.htm rattan arredo giardino] [http://chaba.info/vecchio-renato/ vecchio renato zero] [http://nobinters.org/nina-badric.htm nina badric] [http://kinunia.cn/housekeeping.htm housekeeping] [http://ashythro.info/library/html/prete-fai/ prete, fai un miracolo] [http://chaba.info/no-me/ no me llames lola] [http://davte.info/library/html/racconti-.htm racconti  sculacciate] [http://psisemiya.com/images/small/finanziamento-potenza/ finanziamento potenza] [http://saibso.org/ufficio-friuli.htm ufficio friuli venezia giulia] [http://amohseni.info/img/styles/lavatrice-rex/ lavatrice rex incasso] [http://kinunia.cn/in-flash.htm in flash] [http://davte.info/library/html/rocky-mountain.htm rocky mountain trophy hunter] [http://bloprofeldi.info/lib/acquistare-libro.htm acquistare libro on line] [http://bloprofeldi.info/lib/costantino-vitigliano.htm costantino vitigliano buona domenica] [http://kinunia.cn/sublimazione-termica.htm sublimazione termica stampanti] [http://psisemiya.com/images/small/fotos-de/ fotos de britney spears desnuda] [http://psisemiya.com/images/small/archos-av/ archos av420 20 gb] [http://ustall.org/web/www-gemidos.htm www gemidos com ar] [http://kinunia.cn/hanging.htm hanging] [http://ustall.org/web/toner-tn.htm toner tn6600] [http://nobinters.org/p-sony.htm p800 sony ericsson telefonia] [http://amohseni.info/img/styles/the-economist/ the economist] [http://nobinters.org/satellite-heaven.htm satellite heaven] [http://amohseni.info/img/styles/ulka/ ulka] [http://psisemiya.com/images/small/tagan-u/ tagan u22] [http://psisemiya.com/images/small/la-oreja/ la oreja de van go] [http://amohseni.info/img/styles/drive-motorola/ drive motorola v 525] [http://ashythro.info/library/html/mousse-t/ mousse t is it cause im cool] [http://nobinters.org/karaoke-cremonini.htm karaoke cremonini] [http://helmed.info/topic/lee-ryan/ lee ryan] [http://ustall.org/web/winmix-load.htm winmix load] [http://kinunia.cn/ragazza-san.htm ragazza san dona piave] [http://psisemiya.com/images/small/nino-d/ nino d angelo video] [http://bloprofeldi.info/lib/music-planet.htm music planet snc] [http://ustall.org/web/jolly-mask.htm jolly mask] [http://bloprofeldi.info/lib/caricaturas-de.htm caricaturas de amor] [http://psisemiya.com/images/small/sigma-/ sigma 70 300 obiettivi] [http://amohseni.info/img/styles/nikon-es/ nikon es e28] [http://bloprofeldi.info/lib/iomega-gb.htm iomega 60gb] [http://ashythro.info/library/html/aprile-a/ aprile a parigi] [http://amohseni.info/img/styles/shoshan-de/ shoshan de targets] [http://ashythro.info/library/html/barbecue-elettrica/ barbecue elettrica] [http://saibso.org/foto-di.htm foto di tutti i giornali americani] [http://amohseni.info/img/styles/asus-centrino/ asus centrino] [http://davte.info/library/html/gente-della.htm gente della notte] [http://davte.info/library/html/la-moglie.htm la moglie del soldato film dvd] [http://ustall.org/web/videocamera-mini.htm videocamera mini dv] [http://bloprofeldi.info/lib/aspire-.htm aspire 3002 lmi] [http://davte.info/library/html/la-vie.htm la vie zero] [http://amohseni.info/img/styles/incontri-salento/ incontri salento] [http://davte.info/library/html/la-spada.htm la spada del deserto] [http://nobinters.org/bomboniera-porcellana.htm bomboniera porcellana] [http://kinunia.cn/video-nothing.htm video nothing else matters dei metallica] [http://helmed.info/topic/super-duper/ super duper in love] [http://kinunia.cn/offerta-fotocamera.htm offerta fotocamera digitali] [http://ustall.org/web/seka-key.htm seka key] [http://chaba.info/saintgilles-belgio/ saint-gilles (belgio)] [http://ustall.org/web/hong-kong.htm hong kong 97] [http://psisemiya.com/images/small/pasticceria-calabrese/ pasticceria calabrese] [http://ustall.org/web/http-box.htm http box tim it mms] [http://saibso.org/kodak-camera.htm kodak camera dock] [http://amohseni.info/img/styles/sony-dscp/ sony dsc-p43] [http://bloprofeldi.info/lib/sfondi-samsung.htm sfondi samsung sghe700] [http://psisemiya.com/images/small/yale-linus/ yale, linus] [http://nobinters.org/caterina.htm caterina 883] [http://amohseni.info/img/styles/nba-le/ nba. le cento migliori azioni] [http://saibso.org/autoradio-sony.htm autoradio sony con telecomando] [http://psisemiya.com/images/small/cancion-del/ cancion del mariachi morena de mi corazon] [http://amohseni.info/img/styles/bitch-volley/ bitch volley] [http://nobinters.org/scusa-se.htm scusa se non piango] [http://helmed.info/topic/mo-better/ mo better blues] {| 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 22:11, 16 August 2007

affittacamere lucca lacafetera larva gatitas annunci ragazze vogliose fujifilm finepix f610 lupen fisarmonica il teatro di john keats celeron d 336 loewe spheros 37 hd www finanze mitsubishi condizionatori trial cavo surround qv-r52 casio confort trio firenze zurigo biglietti aerei centri urbani de bary, heinrich anton banconota italiane nike solas air www caravanbacci it foto annunci singole donne amanti anal amapola com lettore cd radio calcolo indennita occupazione hyundai 201p hard disk portatile lettore memory card scuola per estetista f410 ever 2005 q cd britney spears le bouton d or panasonic lumix 30 virgilio mail ghost norton www comune di ardea it www alpitur com cdv adattatori prese corrente uso degli automi cellulari c 50 zoom suzuki ignis video parishilton dolls kitano www impero romano it proietti cavaliere nero video hard gratuiti di oggi ferrero it pentax reflex digitali creare libri le key de tps france sorpassometro sony sdm 19 de pinguino yacht casio orologi lampade al neon gribingui funkey 256 dvd a hanging rock stampanti ink-jet a3 di rete audio esterna accessori video shoshan net gp player gadget pubblicitari pagine personali travestiti amd athlon 64 desktop computer viet michelle batterie sony np case esterno hard disk 2 5 chill out super boby world decorazione vetro sabbiatura aiuta babbo natale a danza macabra micro hifi teac meteo web www herbier ercis gioco automobili hotel como ita black eyed let bicchieri pvc tre passi sulla terra joypad playstation 2 provini veline eleonora 86 eizo l550 platone protagora www poltronesofa it igor sibaldi olympus 360 televisore plasma lg 60 bc 20 canon ragazze in cam creare e stampare biglietti auguri motorizazione firenze il ratto del serraglio porno racconto editto di rotari dtt 4100 humax gioca jouer midi palmare gps asus palmari immagini o foto del kamasutra bruxelles expo alberghi e hotel mini moto cross kit woofer dvd 2014h mitchel viet sex video ddr sdram 512 pc spento modem sandra. the complete history origenes del espiritismo juegos manga epson a3 ink pane e sale voli lamezia terme japanesegirls com profeti i need your lovin gulasch film di woody allen twista overnight celebrity pc packard bell stati depressivi nel bambino batterie nikon coolpix 5900 nokia 8800 prezzo acer - travelmate 630 hotel costa del sol retribuzione sufficiente e condizioni locali rattan arredo giardino vecchio renato zero nina badric housekeeping prete, fai un miracolo no me llames lola racconti sculacciate finanziamento potenza ufficio friuli venezia giulia lavatrice rex incasso in flash rocky mountain trophy hunter acquistare libro on line costantino vitigliano buona domenica sublimazione termica stampanti fotos de britney spears desnuda archos av420 20 gb www gemidos com ar hanging toner tn6600 p800 sony ericsson telefonia the economist satellite heaven ulka tagan u22 la oreja de van go drive motorola v 525 mousse t is it cause im cool karaoke cremonini lee ryan winmix load ragazza san dona piave nino d angelo video music planet snc jolly mask caricaturas de amor sigma 70 300 obiettivi nikon es e28 iomega 60gb aprile a parigi shoshan de targets barbecue elettrica foto di tutti i giornali americani asus centrino gente della notte la moglie del soldato film dvd videocamera mini dv aspire 3002 lmi la vie zero incontri salento la spada del deserto bomboniera porcellana video nothing else matters dei metallica super duper in love offerta fotocamera digitali seka key saint-gilles (belgio) hong kong 97 pasticceria calabrese http box tim it mms kodak camera dock sony dsc-p43 sfondi samsung sghe700 yale, linus caterina 883 nba. le cento migliori azioni autoradio sony con telecomando cancion del mariachi morena de mi corazon bitch volley scusa se non piango mo better blues {| 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

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: