Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
m (Reverted edits by 222.240.187.35 (Talk); changed back to last version by DavidCary)
Line 1: Line 1:
[http://carsdacolorare.oktife.info/ Cars da colorare] [http://sikandtiered.oxernel.info/ sik and tiered] [http://hpphotosmartm415.pexase.info/ hp photosmart m415 digital camera] [http://sessogratisincesto.nirrac.info/ Sesso gratis incesto] [http://gifhentaiporno.oktife.info/ Gif hentai porno] [http://scandiskalt.oxernel.info/ scandisk alt] [http://lowcostwebhosting.omestlo.info/ Lowcost web hosting] [http://fasciatoiozaino.qirkona.info/ fasciatoio zaino] [http://dualshockplaystation.pexase.info/ dual shock playstation] [http://vacanzalisbona.ratoba.info/ vacanza lisbona] [http://artebiella.powmeny.info/ art e  biella] [http://cazzisuperdotati.oktife.info/ Cazzi superdotati] [http://vertebrati.qirkona.info/ vertebrati] [http://oxernel.info/ oxernel.info] [http://qirkona.info/ qirkona.info] [http://pyrrena.info/ pyrrena.info] [http://presetelefono.ratoba.info/ prese telefono] [http://tivorreigianni.oxernel.info/ ti vorrei gianni celeste] [http://epsonc13s050190.powmeny.info/ epson c13s050190] [http://culimature.ratoba.info/ culi mature] [http://anydvd.nygorer.info/ Anydvd] [http://ibmmousewheel.pexase.info/ ibm mouse wheel optical] [http://hegre-artcom.nirrac.info/ Hegre-art com] [http://musicasiglafilm.nirrac.info/ Musica sigla film bud spencer] [http://fotomatureinculate.nirrac.info/ Foto mature inculate] [http://ratoba.info/ ratoba.info] [http://dimm100memoria.qirkona.info/ dimm 100 memoria ram] [http://albergoeconomico.qirkona.info/ albergo economico venezia] [http://sediainalluminio.powmeny.info/ sedia in alluminio] [http://jessicapolsky.omestlo.info/ Jessica polsky naked] [http://freemature.oktife.info/ Free mature] [http://hiendverona.pyrrena.info/ hi end verona] [http://immaginigratisasiatiche.nirrac.info/ Immagini gratis asiatiche tope] [http://gregoracci.nirrac.info/ Gregoracci] [http://campingcampagna.nygorer.info/ Camping campagna toscana] [http://fitnessesercizio.oktife.info/ Fitness esercizio snellire gambe] [http://pyrrena.info/index0_1000.html map] [http://volvoglt850.oxernel.info/ volvo glt 850] [http://citroendsrally.oktife.info/ Citroen ds rally it] [http://filmatiscopate.omestlo.info/ Filmati scopate gratis] [http://minaecelentano.pexase.info/ mina e celentano] [http://adolescentiporno.nygorer.info/ Adolescenti porno] [http://annuncinovara.oxernel.info/ annunci  novara] [http://bmw118benzina.pyrrena.info/ bmw 118 benzina] [http://clisterifoto.oktife.info/ Clisteri foto] [http://digilandit.qirkona.info/ digiland it] [http://korab.ratoba.info/ korab] [http://televisoreplasma.qirkona.info/ televisore plasma 42 hitachi] [http://cumshotteen.omestlo.info/ Cum shot teen] [http://tegocalderon.powmeny.info/ tego calderon live] [http://lenticchiericetta.nirrac.info/ Lenticchie ricetta] [http://teciannomaimannato.oxernel.info/ te cianno mai mannato] [http://alfabeto.omestlo.info/ Alfabeto] [http://harrisgeorgewashington.ratoba.info/ harris george washington] [http://hotelpalaceportorose.pyrrena.info/ hotel palace portorose slovenia] [http://midlandgxt500.ratoba.info/ midland gxt 500] [http://tomitorres.pyrrena.info/ tomi torres] [http://autocadltfull.ratoba.info/ autocad lt full ita] [http://nissanalmera.powmeny.info/ nissan almera 2 2] [http://microsoftreader.ratoba.info/ microsoft reader] [http://franchisingcontratto.oxernel.info/ franchising contratto] [http://giochisparatutto.qirkona.info/ giochi sparatutto per 2 giocatori] [http://amberevansbikinibikini.nygorer.info/ Amber evans bikinibikini] [http://alfaromeoduetto.nygorer.info/ Alfaromeo duetto] [http://cassexaudio.qirkona.info/ casse x audio] [http://milfhunterserena.nirrac.info/ Milfhunter serena] [http://seventeenclub.nirrac.info/ Seventeen club] [http://disegnigormiti.nirrac.info/ Disegni gormiti] [http://julianamoreiranaked.omestlo.info/ Juliana moreira naked] [http://aliquotaici.nygorer.info/ Aliquota ici] [http://veronavelina.ratoba.info/ verona velina] [http://incontribestiali.pexase.info/ incontri bestiali] [http://milano-peru.pexase.info/ milano- peru] [http://virtudesdela.pexase.info/ virtudes de la virgen maria] [http://dolcibimby.powmeny.info/ dolci bimby] [http://casabasilicata.oktife.info/ Casa basilicata] [http://kincarnes.pyrrena.info/ kin carnes] [http://ristoranteparma.pexase.info/ ristorante parma rotta] [http://freehairypussy.nirrac.info/ Free hairy pussy] [http://monasteriaparigi.powmeny.info/ monasteri a parigi] [http://wwwanasit.powmeny.info/ www anas it] [http://analisitecnica.nygorer.info/ Analisi tecnica] [http://ficacalda.oxernel.info/ fica calda] [http://detrazioniirpef.oktife.info/ Detrazioni irpef 2007] [http://fotosaravarone.oktife.info/ Foto sara varone] [http://ampland.omestlo.info/ Ampland] [http://filmuleteporno.oktife.info/ Filmulete porno gratis] [http://sfondocanalis.ratoba.info/ sfondo canalis] [http://prestitopersonali.nirrac.info/ Prestito personali padova] [http://razzazootecnia.powmeny.info/ razza zootecnia] [http://volopeschiera.ratoba.info/ volo peschiera garda] [http://clubbedtodeath.pexase.info/ clubbed to death 2] [http://pancaadinversione.nirrac.info/ Panca ad inversione] [http://grandicapezzoli.oktife.info/ Grandi capezzoli] [http://fotoromanzierotici.omestlo.info/ Fotoromanzi erotici gratis] [http://ratoba.info/ ratoba.info] [http://confessionigay.oktife.info/ Confessioni gay] [http://amplificatoriper.qirkona.info/ amplificatori per cinema] [http://beautifulca.powmeny.info/ beautiful ca] [http://venditaprodotto.nygorer.info/ Vendita prodotto celiachia] [http://nirrac.info/index0_1000.html main] [http://powmeny.info/ powmeny.info] [http://robinhoodeipirati.qirkona.info/ robin hood e i pirati] [http://milionario.nirrac.info/ Milionario] [http://fotosdeingrid.pexase.info/ fotos de ingrid coronado] [http://culisuper.omestlo.info/ Culi super] [http://drindrindownload.pyrrena.info/ drin drin download] [http://melissadoll.nirrac.info/ Melissa doll] [http://fulmineschermo.oktife.info/ Fulmine schermo] [http://oxernel.info/ oxernel.info] [http://scrivilo.pyrrena.info/ scrivilo] [http://tekkamanilcavaliere.pexase.info/ tekkaman il cavaliere dello spazio vol 02] [http://donnaasiatiche.oktife.info/ Donna asiatiche] [http://disegnipertatuaggio.oktife.info/ Disegni per tatuaggio] [http://nirrac.info/index5_1000.html top] [http://miracoli-storia.ratoba.info/ miracoli - storia per corti] [http://enotecalongo.oktife.info/ Enoteca longo] [http://maturefat.omestlo.info/ Mature fat] [http://vacanzaisola.nygorer.info/ Vacanza isola pantelleria] [http://videocamere.powmeny.info/ videocamere digitali dvd] [http://hentayx.oktife.info/ Hentay x] [http://asciiartblow.nygorer.info/ Ascii art blow job] [http://xicadasilva.pexase.info/ xica dasilva] [http://k8n-neo2platinum.oxernel.info/ k8n-neo2 platinum] [http://sustanol.pyrrena.info/ sustanol] [http://mafa2005.pexase.info/ mafa 2005] [http://contattimsnsex.oktife.info/ Contatti msn sex] [http://sanpancrazio.pyrrena.info/ san pancrazio] [http://fotogratisteen.oktife.info/ Foto gratis teen nude] [http://logitechlx.oxernel.info/ logitech lx] [http://jenniferlopezjenny.pyrrena.info/ jennifer lopez jenny from the block] [http://sfondigratis.nirrac.info/ Sfondi gratis montagna] [http://bigliettinidibuon.pexase.info/ bigliettini di buon compleanno] [http://omestlo.info/ omestlo.info] [http://pissingmature.nirrac.info/ Pissing mature] [http://scontoacquisto.pyrrena.info/ sconto acquisto online] [http://terrazzoallaveneziana.nygorer.info/ Terrazzo alla veneziana] [http://ovulazionecalcolo.nirrac.info/ Ovulazione calcolo] [http://tkd-adidas.powmeny.info/ tkd -adidas] [http://composizione.ratoba.info/ composizione di musiche telefonini] [http://corsomasterfashion.oktife.info/ Corso master fashion design] [http://giochipornoonline.oktife.info/ Giochi porno online] [http://disdettacontratto.omestlo.info/ Disdetta contratto infostrada] [http://internettariffa.qirkona.info/ internet tariffa flat] [http://ragazzeinmutande.nirrac.info/ Ragazze in mutande] [http://driverscheda.powmeny.info/ driver scheda video] [http://analextreme.omestlo.info/ Anal extreme] [http://wtotosiit.nygorer.info/ W totosi it] [http://autosoftware.oxernel.info/ auto software] [http://wwwbormioit.ratoba.info/ www bormio it] [http://powmeny.info/ powmeny.info] [http://doppiolaserstampanti.qirkona.info/ doppio laser stampanti] [http://lasignoraamava.oxernel.info/ la signora amava le rose] [http://camaiore.nygorer.info/ Camaiore] [http://compiletion.qirkona.info/ compiletion] [http://nirrac.info/index0_1000.html home] [http://livellario.ratoba.info/ livellario] [http://powmeny.info/ powmeny.info] [http://hotelmatera.omestlo.info/ Hotel matera] [http://nhhotelinspagna.pexase.info/ nh hotel in spagna] [http://hp2610.pyrrena.info/ hp 2610] [http://gokul10.oktife.info/ Goku l 10] [http://ephesustour.oktife.info/ Ephesus tour] [http://starwarsbounty.pyrrena.info/ star wars bounty hunter] [http://sacrificedielton.pexase.info/ sacrifice di elton jhon] [http://fototoplessspiaggia.omestlo.info/ Foto topless spiaggia] [http://corsowebmaster.omestlo.info/ Corso webmaster napoli] [http://wwwcalendariit.nygorer.info/ Wwwcalendariit] [http://dreamware.powmeny.info/ dreamware] [http://bridgewireless.pexase.info/ bridge wireless 3com] [http://shiftyslide.pyrrena.info/ shifty slide] [http://scuoladicinema.nirrac.info/ Scuola di cinema a londra] [http://lettoridvddivx.pyrrena.info/ lettori dvd divx xvid mpeg4] [http://fighepiccole.oktife.info/ Fighe piccole] [http://dreamboxkeys.pyrrena.info/ dreambox keys] [http://hotelvillamodigliani.omestlo.info/ Hotel villa modigliani parigi] [http://rancidlyrics.nirrac.info/ Rancid lyrics] [http://qirkona.info/ qirkona.info] [http://nirrac.info/index5_1000.html link] [http://paisa.pyrrena.info/ paisa] [http://extendedwarranty.oktife.info/ Extended warranty] [http://pyrrena.info/index0_1000.html map] [http://vallardi.ratoba.info/ vallardi] [http://saint.oxernel.info/ saint-] [http://rivistamax.powmeny.info/ rivista max] [http://tendineparasole.powmeny.info/ tendine parasole] [http://corsifrancese.oktife.info/ Corsi francese] [http://digicomrouteradsl.oxernel.info/ digicom router adsl] [http://theundefeated.oxernel.info/ the undefeated] [http://voloaereocatania-barcellona.pexase.info/ volo aereo catania-barcellona] [http://daface.ratoba.info/ da face] [http://html21k.pexase.info/ html 21k] [http://usroboticsrouter.oxernel.info/ us robotics router] [http://batteriamotocicletta.nygorer.info/ Batteria motocicletta] [http://volvov50nero.pexase.info/ volvo v50 nero] [http://liperbole.powmeny.info/ l iperbole] [http://amoredisperato.ratoba.info/ amore disperato di nada] [http://hentaivideogratis.oktife.info/ Hentai video gratis] [http://morellatoit.nirrac.info/ Morellato it] [http://ventoladissipatore.pyrrena.info/ ventola dissipatore per socket 775] {| 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 23:22, 29 September 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

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: