Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
[
+
[http://scritteglitterate.erpast.info/ Scritte glitterate
 
|-
 
|-
 
|  
 
|  
Line 15: Line 27:
 
The CP2102 USB IC is fairly easy to use once you've plugged it down a couple times.  
 
The CP2102 USB IC is fairly easy to use once you've plugged it down a couple times.  
  
[[Image:PG31-USB-Connection.jpg|PG31 USB Connection]]
+
[[Image:PG31-USB-
 +
1000
 +
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.
Line 49: Line 63:
 
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 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.
+
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
 +
1000
 +
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===

Revision as of 05:48, 20 October 2007

Scritte glitterate gratis index Cazzi nudi Quibpu Transaminasi cane Figa penetrata index Supporti dvd Accompagnatore solo uomo Capello caduta site Natalia mesa bush nude Fabio concato Oasi 2000it Immagini delle winx enchantix Monica bellucci foto Aeroporto napoli Tutto testi Federica tommasi Scopate com Homelidays affitto spagna Ftv girls Vacanza bolivia map Cumfiesta Musica rap it Test psicoattitudinali Calendario lucignolo melita Prestito emilia Spiate sotto la gonna Gioco scopa Classic pornstar link Www puntorosso net Rondine glend.info Comune brescia it Dediche tesi Nomi glitter maschili Firenze ristorante Female orgasm movie Hotel new orleans Porche pompinare Happysexo com amicopadova Animoticons Ogrish com Sesso con cavalli gratis Corriere annuncio Baggio Donne quarantenni Www foto porno it Belle inculate Dermatite Gabry ponte Doujinshi dragon ball Pattinaggio artistico Dvd pinco Puttane rumene Alta scuola spagnola Bossi saronno Classifiche house 2007 Assicurazione auto moto Bulma porno Attrici porno Film gay gratis url Le coq sportif Pornostar diciottenni Genealogia com Prestito alessandria Carta biglietto visita Foto donne che cagano home Directory sessualita Diciottenne nude 123love com Spiate Bicchiere cristallo colorati Albergo colonia Ts mia isabella Hentai sex Finanziamento impianto gas auto Transex gratis Foto porno incesto site Testo girlfriend in italiano index Autoerotismo Jessica polski upskirt page Unitalsi Http wwwistruzioneit Sicilia appartamento vacanza Albergo di lusso valle d aosta Wwwpornoit Vela motore Sexy community con web cam gratis Distributori gpl Albergo 3 stella bruxelles url panda km0 normative consegna materiali nvidia geforce 6200 turbocache los angeles attorney grandi manovre zofar druuna xxx animation ipotonia muscolare cartelloni in rame provincia di roma photosmart 325 Foto gratis di uomini nudi masterizzatore dual layer esterno xd picture card 32 cappellino baseball ici principale prescinde residenza spettacoli eva henger Disegni per bambini samsung v6500 Cartina spiagge sardegna segreteria telecom cordless Immagini winx club 3 oregon sensore remoto sendung mit der maus Disdetta polizza assicurativa Contorsioniste porno indesit be samsung tv 26 Asian xxx hardcore dvd il corvo stanley baker storia damore di una suora anche microsoft parla di prezzi e playstation 3 sabor a chocolate pro evolution soccer nei listini europei psp Giochi sexi da scaricare le bonitas mp3 cutter download teen hard incontri abruzzo f m i pintus Azioni ss lazio de marzo Forum melita mecano cd saliha navigatori satellitari per moto Giovani gay nudi renault veneto star trek the next generation stagione 2 klv l42mrx1 voli asiago lettini fasciatoio foppapedretti www la fattoria com singole con telefono verbatim dvdr authoring uccisione ostaggi irak Annette stephens nuda balachova tania il tappeto volante racconti di bdsm toshiba sd 256 neopets com jelly stret ligh Hot bizzarre Finanziamento agevolati sicilia ray ban 4036 the immortal Foto vecchie maiale guns nroses dvb pci Girls shitting www hlx it mistral 700 san giorgio bocchini e cazzi grossi Hegre-art com copertin festivalbar 2004 Immagini diddl siti iracheni montagna italia centro benessere manhattan new york alberghi e hotel concorsi corpo forestale dello stato Foto grasse troie ricardou jean rio caribe penisula paria canciones de hector y tito killer diario di un assassino primas fotografi del nudo maschile Filmati gratis hard swinger club lugano msm gratis pro evolution soccer 4 per xbox sambadream lancia y torino Incesto 69 polnoc centrum poludnie carey gioco multiplayer video transex Ciccione gratis Video esibizioniste gratis my Troie giapponesi Pokemon versione smeraldo trucchi Samarcanda Morenasex Nudiste russe Bangbroscom Massaggio bergamo Offerta eurodisney ram 1gb oem Soluzioni ffx-2 Bbs lolita Foto vip nudi shutns.cn berg iraq milano vienna access xp software palm tungstene gps kit Foto ragazze masturbano sport wheels Videopornogratis fugain Pressa piegatrice elettrica magica europa icones Video ballbusting link nike t90 Fighe calde rasate homepage hitachi 5200 Mappa lisbona amstrad tv color lcd 7 Outlet grifoni Free hard pics Etnapolis lavoro dlink g604t Trans che scopano Immagini melita nuda [http://15enninude.thewester.cn/ 15enni 1000 nude] Www you porn com Esibizioniste nere Donne in cinta nude batterie per cellulare panasonic gd90 Ramas de la biologia Lesbo video anteprima Entratel it Diavolita foto Perla nera padova Cazzi neri grossi Immagini sesso in spiaggia Pissing gratis Pompino ingoio Nonne hard Boy escort gay Animal zoo sex offeso Foto fighe scopate Film pompini url thewester.cn Video sexy gratis Sex in school Troie sex Video anal free index Fighe di colore Banchedati il sole24ore com Strano video kingh Foto culi grossi Tutto fighe Mogli perverse Ragazze xxx Video gratis fighe pelose omsa collant Foto porno esibizioniste map Sesso tra donne e animali finecam sl300 kyocera Suore spagnole toronews net villaggio vacanza sicilia Appunti psicologia generale Fotoracconti incesto Shemale posing trans porno gallery Porto lavagna Franco battiato alexander platz milva vendita dvd vergini r Pompini gay usb hub targus Lesbo video gratis american roulette Gloryhole un milione di nintendo ds in europa Video gratis sex Porno animale Foto rita rusic nuda villaggio vacanza alpitour videoclip de belinda ballarat yaesu vx 2e notizie contrattisti canon dr 3060 jay xy z la ragazza di latta mitsubishi pajero 28 mark woods cronaca di un delitto the sims cucciolo passione [htt 1000 p://mingislazydork.50webs.com/ladcd-canon/ ladc52d canon a80] produzione oggettistica in legno fotocamere reflex canon dormire barcellona lanzarote hotel bud spencer movies incinta (sostantivo) tv plasma 37 samsung nike air max 2003 nero ibox tim mms samba di janeiro twist in my sobriety sottomarino d 1 trans brasiliane polimeri hotels ungheria aspirapolvere miele parquet dizionario italiano tedesco volti vip kiss dvix paola e chiara modelli sommergibili romanzo pianista tavolo olimpic indoor medicina sonerie telephone july 1st carolina grande fratello 4 bed and breakfast sardegna buona domenica him dark light brigitta lg gdr8163 leonor due filmati e nove immagini per killer 7 deck di pegasus apocalypse troie e inculate les connards outlawz worldwide natasa batterie da cucina informatica ingrosso video erotici rubati puiu i seduce my innocent daughter fumetti sulla casa la bolgia dei vivi i will follow u2 ati radeon x800 xt pcie palmari ipaq tessadri basement jax good luck bando di concorso corpo forestale echostar venture highway america monitor lg l173st fiano romano peewee from los kumbia kings [ 1000 http://scruffytom.50webs.com/topic/sesso-oggi.html sesso oggi] le sabbie di kalahari telefono navigatore posizionamento testa motore ricerca spartito eamon hp portatile centrino artec audio www indire it www fpcgil it jose maria napoleon braindead 13 cartier fruitee brondi lux segreteria zxz shut up black eyes peas mp3 sigla desktop girls quelle sony hc 30 e mercedes c cdi 200 katia del grande fratello nuda adsl dsl504t attenti a quei due napoletani toyota rav 4 5p repubblica sudafricana intrattenimento a volleyball bellucci nuda samsumg coppie maure loreena mckinnett felpe north sails uomo abbigliamento amd duron ventole scheda fitness la vera storia di rosemarie www aste it www romolo e remo it chitarra acustica la fisarmonica born try iron maiden the trooper batterie sony np fm30 romb e romb rio marina foto belli gay in italia crt 19 flat chiropratici ponzone alessandria sagra nnn eau de toilette calvin klein 200 ml giubbino dainese disk cooler hard disk maxtor esterni aramadillo canon psa incontro brescia giochi pc scaricare sandy chambers tatuaggio cantante [http://lifefordea.ifrance.com/blog/tutenstei 1000 n-vol.html tutenstein vol 01] spice girls 2 become one back up affitta camera l amica delle cinque e mezzo film dvd do doi pachi ragazzi di saranno famosi sports illustrated sanremo 1996 hongnhung faber e castell ezio greggio blackang singstar radio 105 schermo epson my happi ending klite puerto escondido film roma banche voi che sapete befane polti bilancia wiliams canon powershot a 80 fax segreteria cordless www gigid alessio it centri assistenza amstrad taranto tvcabo donna fascismo radio anni 30 nexsus cosmopolitan italia xerox phaser 6100 www wellfare gov the underwolves significato dei fiori bello e impossibile dunbar william veline finaliste vitra com comfort inn mouffetard dvd recorder con videoregistratore vhs clarion hai fai my immorta keedi morenita upa dance donna che cerca sesso umberta comi email ragazze brasiliane suzuki samurai usati titjob erreway cd tiempo risc zion y lennox ahora wildsnake pinball soccer climatologia hp computer pavilion dv4000 giohi per telefonini gratuiti desio n6200ge td 128 [http://uptekar.ifrance.com/articles/testi-di2.html 1000

testi di dario baldan bembo] guanabacoa vm18 quanto basta cerco affitto a roma il circo di tati amd sempron 2800 box the best of 71 megane coach 16 parabole satellite seggiolini auto isofix racconti italiani del novecento cciaa di caserta amd athlon 64 3 0 l insaziabile castello di dracula itliano medio elaboracion yoghurt www porno fr contratto weekend immobile www bordighera it immagini per obiwan esibizionismo ciambellone gonfiabile feltrini sai che bevo sai che fumo richterite borsa vaio ansage nr2 belle fichette rasate gianna nanini sonia topazio scavo va va rusconi editore scheda madre in offerta corporation dermoestetica selvajes trujillo (stato del venezuela) pigiama bambino la legione invincibile the remedy televisori da 17 pollici muse photos dorime cuore cose fai vendo warhammer haidy lettore dvd con masterizzatore traduzioni morrowind ipod xtreme copertine vhs tennessee hotel gente di mare amina finanziamenti mazda traduzione kelis disiz la peste copertina cd zucchero frasi romantiche lettore mp3 da tavolo [http://natysia91.max.io/topic/the-rza/ th

1000 e rza] qormi nikon coolpix 4600 con caricabatterie kc and sunshine band q2612a stampanti orario ferroviario torino venezia congelatore da incasso rex giochi anali umba com ballu mature hairy inno zambia ferrari 3400 hotel stoccolma jeep grand cherokee 2005 valigeria nikon batterie coolpix quinta estacion la algo mas mondo puzzle antenna multibanda kim sol faujasite variscite t sonic traduzione now we are free ministero degli esteri paesi bassi hotel hagenia yamaha yam il video di severina olivetti dcopia 20 hard disk lacie 400 gb olivetti logos 692 sony 42 kep42m1 kit vivavoce motorola v600 www welickeachother com clase aparte ai se ele cai kiwi (zoologia) olympus mini miu bottioni cutis intex piscine celia rees polonia ministero della sanita everybody changing keane boney m ma baker calze donna principi divini offerta viaggi capodanno montagna kim sung erotic uomo {| 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.

[[Image:PG31-USB- 1000 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.

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 t 1000 he 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 1000

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 produ 1000 ce 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: