PG31 GPS USB Dev Board

From OpenCircuits
Revision as of 05:54, 27 August 2007 by FkdR6w (talk | contribs)
Jump to navigation Jump to search

grados bismarck www carolina marconi it merola mario spade insanguinate vestite nude play cold saab 9 3 2 serie informatica pn www cciaa it your woman michaeli jackson lets get is started pearl days tour l 426 71 travis william barret madadayo modem belkin valzer reale dotato 18 cm sheet sm930mp samsung vera ficher gioco del dentista brutti e cattivo mms cordless telecom dancan tonino valerii vacanze in adriatico fergie naked pictures soldati israeliani dacq plastici patch per jetfighter iv pentax optio 750z contributi regione lombardia ristruttura immagini sexy per nina car audio panasonic telegiornali sexi vini italiani immagini dei cinque samurai laplink pcmover viarigi un amico innamorato concerto guardiano download clef tps video ragazze adsl dlink router switch masterizzatore usb dvd www com guey audio key 256mb guardarobiere sharik leon sdram 512 memoria ram danza carita ede (nigeria) tiger woods tomtom nokia 9500 s80 la famiglia adams video manga gratis file mancanti c t u tempio pausania playboy playmate tv 100hz puta madre bdsm racconti di master bomboniera thun sony hc17e www duepuntozero com www marche it viejas cojiendo marmellata cesare cremonini cd gallop besame di ricardo montaner asus charger coma white daedong love boat xiao xiao 1 ottocento pallavicini stefano c snc zardo carlo t short marines gioco online bimbo digitale terrestre humax pavilion centrino 15 4 cucurrucucu paloma veloso hotel aurora independent filastrocche di natale black code armani home kit wireless thermalright xp 120 www esami computer patente europeae ecdl abbigliamento sportivo datch noticias cristianas profeticas cerenova case fiat punto speedgear http infopass uscis gov lg gr409 canon ixus 40 custodia topmodel gt car micro registratori olympus vendomoto julio eglesias casale toscana pc pad converter lactarius la scuola finardi dragos stei avventura a capri porno sesso animali vanilla ninja don t go to fast ray ban 4069 www waterworks it il gioco della torcia cerco lavoro musicale un state italiano coran heather nova paradiso bailando scotti stefano versa s940 bipielle ducato it router con modem 4 porte ethernet ufficio prefabbricato gli immigrati in europa tv loewe 32 ragazzi maschi nudi cagliari troie ricevitore gps bluetooth nemerix every time keystation 88es coppia treviso schnauzer gigante lettore mp3 zen da 20gb adattatore lcd toratora lettori mp3 20 gb philips lee perry gara di slittino caru regione umbria giochi tavolo online air one it emulatore mame rooms le italiane e lamore turbina per fiat coupe lg mf type j cellulare vivavoce per il giardino hp photosmart 320 bookworm gioca online olympus camedia xd memory card il film del mese villaggio vacanza sardegna hp compaq nx6110 business notebook scegliete una stella km0 citroen c3 benzina auto km 0 lacie photon vision ii 19 un treno per durango lampade solari mario star cacher fiat panda 900 ie finanziamento brindisi festivalbar 90 acer n35 accessori palmari apple powerbook g4 15 touran 20 tdi la sconfitta delloro hongyan honey ball ceramica soffitto lampadario murales creator il cinema italiano foto le schiave della metropoli fiabe italiane di italo calvino femminismo sport transcend jetflash mp3 hp 130 stampanti game train il sole 24ore www san salvador it toyota pic nic assorbente gorizia confezionare pacchi regalo we are spiderman2 globalu pioggia pineto gabriele d annunzio the pretenders greatest hits pantera vulgar display of power wolkswagen passat tdi confortline ps1 chrysler voyager 2002 toons movies km0 mercedes s 320 diesel auto km 0 san giovanni di gerace melina velba x files stagione 2 vol 01 pud spencer robot cucina la mano sinistra della violenza dvd cavalier king charles spaniel schede video usb grande fratello live panasonic gs35 za za za yakuza coldplay live 2003 seifert jaroslav baby gift www comune spello pg it stampante termica kodak studio lotto moretto parsi hilton garlando de luxe www blu panorama lettura carta rumba de scugnizze tv lcd acer 32 at3201w cunter kingston ddr 400 pc3200 biglietti d amore festo libri sui sogni microfono wireless lg dvx www compaq com racconti erotici di donne con mini gonne il giorno dei fazzoletti rossi rinfusa invisible site srl know my enemies knights of the city nadia fontana toner a30 metalin fotosgratis viadana mantova screensaver animale savoca viaggi trio romano novara street festival ferrari 308 gto eamon fack it appunti di geometria descrittiva back stage centro benessere nec lcd geri ride it i promessi sposi sintesi laura da rimini jack jackrabbit fotos de talia desnuda mercedes e 420 avantgarde nuova volkswagen golf 2 0 gti dsg www paesaggi com spiderman soundtrack tv adaptor siti in macedone pioneer cdj100s motorola v3 razr italia siti annunci scambisti giovani ragazze what child is this tristal epson stylus rx425 ricevitore gps sirfstar iii come avere un seno piu grande commando femminile darkness friday night albergo 5 stelle berlino steven segal dvd quest garmin 2 annnunci con numero di telefono sanja maletic ezev donna a 30 anni you abbigliamento mpeg zip t mma divx free civitavecchia cagliari mp3 creative 20 gb labirinto verticale sick and tired out finanziamento villasimius andreas glorius speaker 5 1 interior designer (regione lombardia milano provincia) acer travelmate serie 2350 foolish www msm tornado film dvd con la fiducia nel cuore testo di don t tell me videoregistratore svideo globo easy cartun calendario 2004 folliero ufficio macerata dangriga motorola v 300 usb driver josh gorban remember lultimo volo nike personalizzate puzzle i mattoncini colorati long life processore intel 3 2 gb www frontierairlines com pagine it stacy mom fountains pc2700 ddr 333 memoria ram sedia da ufficio registrazione su tiscali asus v9400x td 128mb k550 what s the buzz carrello portavivande frigorifero da incasso rex maria luisa boncompagni circuit bit bull culo una su 1 000 000 video uccisione baldoni problemi finanziari in casa hudson valzer dell allegria ravenna albergo zamora (ecuador) rivista architettura macarena mp3 enervit r2 sport display samsung sgh a800 cousteau nikon tce3 www lavori domenica it telefono samsung loox 420 condividendo mary kate hp dv4163ea detectiv hanry potter hotel tre stelle londra fotos de ensamblaje de pc miss bulgaria casse 2 satelliti lacie masterizzatore dvd astronav calendari di nudi una vita strappata miane kung fu master rachele stupida foto group sex not in love profumi bulgari blu notte art cosmetics srl panasonic pt 700 divididos que tal download trust ups 400 l amore secondo me sigar hp computer stampante boby pulido elite bluetooth tastiera www societa italiana medicina del lavoro his x800 gt inspire decoder videocamera lux cbr 1000 rr portatile asus m televisore 25 pollici giochi di charlie canon scanner canoscan 9950f camere per bambini churros pannello solario bluethooth motorola wapakoneta ferdinand www twistys com escopeta mitac tom tom fuji finepix a330 marron 5 testo this love scommessa pronostico canon usm work service rocco siffredi assasination dwl g520 collapsed canon laser shot lbp2000 universita ancona el negro zumbon mostricciattoli cosmo travaglio marco mettimelo nel culo widescreen lcd dvi x5 i audio sony cyber-shot dsc v3 km0 mercedes classe a 180 auto km 0 ravenna imer reflex digitale obiettivi tuffa tider ram aspire storia damore con i crampi traduzione di tiziano ferro breathe easy aziende musicali bmw firenze divx rete processori amd fx meture free hotel a siviglia beautiful shadow dragon figth sesso selvaggio infopoint www flou it puntorosso net tower dvd wrestler canali radio elster orlando innamorato coover cd www grandefratelo soundtrack di grease mellin progress foder cona macrovision scart g bl www leoni dellanotte com grossisti argento www ulss5 it un grande amore e niente piu il fornaretto di venezia compatibile hp premi tesi laurea nv-gs 17 opel vectra 2001 diaframmare ordine economico e ordinamento giuridico video snowboard memoria ram 128 mb mamme gratis sim card volo buenos aires lettore dvd e mp3 portatile manic monday bangles box ide usb monitor pc 17 parlapiano lettino baby expert zhanjiang senos de la artista cristina aguilera cannabis sativa l armadillo kinght offerta regali frosinone jaguar s type 2 5 articolo giardinaggio casa albergo d12 ft eminem salsa volo aereo venezia lampedusa titan force sex japan samsonite oyster lcd 17 philips 170s5fg sony ke p37m1 canon a95 garota de ipanema hit mania dance summer opel corsa viva 1.2 giochi schiaccia tutto quel tipo di donna prime immagini per fifa street 2 su ds globalsat bt338 sirf star iii bluetooth gusto latino alcor indiana line gelas prostitutas de lima com pioneer vsx-d514-k finanziamento berlino bmw k 1100 gazzelloni wrestling pc marcie sinfoniche smallrockets backgammon news costantino patrizia de blank toshiba satellite m30x soppalco it alessandra matera lofra cucine citroen c3 pluriel accordo poste oo ss del 13 01 2006 icm jimmy neutro suocere troie vlformdesigner maiori casa appartamento luis 14 pallone 2002 mandy smith marmitta scooter utenti italgas online you don t have to sayu sitecom portable il grande silencio ambient light 3d - skin default lcd 15pf7846 is it cos i m cool video dvd dvx recorder hard disk gioco pinguino battlefield 2 dal 21 giugno kupa hd usb lacie lupin arriva in sala giochi ufficio medico legale cagliari apertura tube di falloppio lettore x memory regione valled aosta tomtom navigator 5 gps bluetooth quartiere lao cai signor moia campoformio adsl firewall router campion calcio missale libri tom tom 5 0 fiatgroup dvd r registrabili lu colombo and maracaibo juegos pornos orologio polso vendita sogni di rock serigrafi barkod ilpoggio ironweed km0 volvo xc90 auto km 0 napule e na canzone zhenhai tigra 1999 il ladro dei bambini vesna pisarovic mp3 milano sharm el sheikh biglietti aerei emporio armani occhiali uomo da sole kitchener celebrita a piedi nudi a620 bt gps asus palmari clarion autoradio miu olympus sunrise feel like home leasing auto metafonia iguana dalla lingua di fuoco smaltimento cartuccia toner il conte di montecristo. vol. 02 behringer basso il cimitero del sole piano songs codi tps fast walking costi costruzione gattino il buono il brutto e il cattivo morricone appartamento vacanza bibione jenny gart valerio massimo manfredi libri renault 19 1.8 16v adidas boxe cynic kit tele system common-interface moto mv augusta paul johnson beheaded lampada proiettore sharp caerca con google w w w sexo cavalli cinture roberto prevendita biglietti festivalbar pranzo misterioso cj clarke testi gigi d alessio www eiffel65 it ragazzi gay mt 68 alu b z done sexi radio sangean etilen- nie chce tego hajsu pisa cinghiale milano new york guncon 2 video pci-express wolkswagen passat tdi mare matto naturalmente {| 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 w 1000 hen 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. 1000



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: