PG31 GPS USB Dev Board

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 194.176.176.82 (Talk); changed back to last version by 193.51.215.2)
 
(23 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[http://ondarock.useth.info/ Ondarock] [http://manutenzione.perils.info/ Manutenzione ascensori] [http://vacanzatruffa.busied.info/ Vacanza truffa] [http://ricorsoprefettura.zorgam.info/ Ricorso prefettura multa] [http://fotodonnegrasse.busied.info/ Foto donne grasse nude gratis] [http://sfondiferrari.glend.info/ Sfondi ferrari] [http://sborratetroie.perils.info/ Sborrate troie] [http://ciondolotribali.erpast.info/ Ciondolo tribali] [http://shittingand.glend.info/ Shitting and pissing] [http://incontritransex.thumba.info/ Incontri transex] [http://astagioiello.glend.info/ Asta gioiello] [http://bullocksandra.thumba.info/ Bullock sandra pussy] [http://cuscinoperallattamento.droven.info/ Cuscino per allattamento] [http://fakesitaliane.thumba.info/ Fakes italiane] [http://rivistasexybar.neeze.info/ Rivista sexybar] [http://useth.info/index6_666.html site] [http://venditaonline.perils.info/ Vendita online articolo casalingo] [http://carrellotenda.busied.info/ Carrello tenda montana usato] [http://producteurdemacchina.droven.info/ Producteur de macchina cardio fitness] [http://sessoimmagini.thumba.info/ Sesso immagini] [http://bigiotteriaperline.perils.info/ Bigiotteria perline] [http://canalisporn.choppie.info/ Canalis porn] [http://investimento.erpast.info/ Investimento azionario] [http://palmbeachhurgada.neeze.info/ Palm beach hurgada] [http://assanal.erpast.info/ Ass anal] [http://thumba.info/index1_666.html homepage] [http://useth.info/index9_1000.html link] [http://giovanniverga.useth.info/ Giovanni verga] [http://freetransvideo.erpast.info/ Free trans video] [http://bettylafea.droven.info/ Betty la fea] [http://glend.info/ glend.info] [http://sexygambedidonna.choppie.info/ Sexy gambe di donna] [http://cortometraggio.erpast.info/ Cortometraggio basetta] [http://donneanziane.neeze.info/ Donne anziane sex] [http://giocobasket.thumba.info/ Gioco basket nba] [http://gilerarunner.useth.info/ Gilera runner] [http://downloadspyboot.neeze.info/ Download spyboot] [http://videoculetti.perils.info/ Video culetti] [http://wwwescortforum.busied.info/ Www escortforum it] [http://disneychannel.droven.info/ Disney channel com] [http://busied.info/index3_250.html index] [http://libreriasport.choppie.info/ Libreria sport] [http://ponogratis.glend.info/ Pono gratis] [http://aleniagrottaglie.thumba.info/ Alenia grottaglie] [http://jespica.choppie.info/ Jespica] [http://raccontipissing.glend.info/ Racconti pissing] [http://choppie.info/index0_666.html site] [http://royalcaribbean.busied.info/ Royal caribbean] [http://perils.info/index3_666.html site] [http://choppie.info/index7_666.html page] [http://rivistamotostoriche.busied.info/ Rivista moto storiche] [http://escortforumit.useth.info/ Escortforum it] [http://extremeholly.perils.info/ Extreme holly] [http://indennizzodiretto.zorgam.info/ Indennizzo diretto] [http://moglitroiecom.useth.info/ Mogli troie com] [http://spiegazione.busied.info/ Spiegazione opera salvador dali] [http://fotoragazzesexy.zorgam.info/ Foto ragazze sexy] [http://canzonieregratis.droven.info/ Canzoniere gratis] [http://chichihentay.zorgam.info/ Chichi hentay] [http://zelig.busied.info/ Zelig] [http://ufficiovirtuale.neeze.info/ Ufficio virtuale] [http://fotoragazzi.zorgam.info/ Foto ragazzi nudi] [http://videonudi.choppie.info/ Video nudi] [http://tesilaureafree.busied.info/ Tesi laurea free] [http://kualalumpur.useth.info/ Kuala lumpur] [http://videopornocon.perils.info/ Video porno con cavalli] [http://pthc.erpast.info/ Pthc] [http://fotopornoincesti.zorgam.info/ Foto porno incesti] [http://fighevogliose.glend.info/ Fighe vogliose] [http://karadavis.droven.info/ Kara davis] [http://thumba.info/ thumba.info] [http://choppie.info/index5_666.html page] [http://intercalcio.choppie.info/ Inter calcio] [http://casalinghemaiale.perils.info/ Casalinghe maiale] [http://acciaroli.zorgam.info/ Acciaroli] [http://acconciatureda.useth.info/ Acconciature da uomo] [http://sessocoppia.thumba.info/ Sesso coppia] [http://supertroie.choppie.info/ Super troie] [http://puntog.zorgam.info/ Punto g] [http://contenitoreplastica.erpast.info/ Contenitore plastica alimento] [http://gucciit.useth.info/ Gucci it] [http://anitablond.glend.info/ Anita blond] [http://anellonuziali.choppie.info/ Anello nuziali] [http://telegrammatelefono.erpast.info/ Telegramma telefono] [http://backstagemelita.neeze.info/ Backstage melita] [http://zorgam.info/index2_250.html home] [http://incontripersonali.busied.info/ Incontri personali bolzano] [http://bizzarre.choppie.info/ Bizzarre] [http://monsterboobs.useth.info/ Monster boobs] [http://sitodisessogratuiti.perils.info/ Sito di sesso gratuiti] [http://gnoccatravels.glend.info/ Gnocca travels] [http://uotassofisso.busied.info/ Uo tasso fisso] [http://oasi2000it.neeze.info/ Oasi 2000it] [http://puntorossoit.perils.info/ Punto rossoit] [http://agenziaimmobiliare.perils.info/ Agenzia immobiliare la spezia] [http://gameshentaiflash.neeze.info/ Games hentai flash] [http://associazioneinteresse.neeze.info/ Associazione interesse bancario] [http://choppie.info/index3_250.html home] [http://neeze.info/index7_250.html index] [http://prenotazione.zorgam.info/ Prenotazione hotel genova] [http://vera-megastar.jino-net.ru/small/marcia-nunziale6.html marcia nunziale di mendelsshon] [http://vera-megastar.jino-net.ru/small/full-auto1.html full auto] [http://traidels.cn/blog/amberevansbikinibikini.html Amber evans bikinibikini] [http://fruscianteisgod.jino-net.ru/view/costa-azzurra2.html costa azzurra hotel] [http://fruscianteisgod.jino-net.ru/view/dams-universita.html dams universita] [http://tikula.jino-net.ru/data/versione-greco4/ versione greco platone] [http://withouter.cn/articles/creareteminokia.html Creare temi nokia 5200] [http://tikula.jino-net.ru/data/eiger/ eiger] [http://msanutka.jino-net.ru/blog/giolitti-ed/ giolitti ed il suo governo] [http://lanadance.jino-net.ru/piscina-lecce/ piscina lecce] [http://veleo.cn/web/graficoborsa20anno.html Grafico borsa 20 anno] [http://vera-megastar.jino-net.ru/small/swamped.html swamped] [http://tainka.jino-net.ru/styles/piscine-non.htm piscine non interrate] [http://fruscianteisgod.jino-net.ru/view/lg-ls3.html lg l1930s] [http://fruscianteisgod.jino-net.ru/view/testimone-assistito.html testimone assistito] [http://traidels.cn/blog/asianshemalegratis.html Asian shemale gratis] [http://listjanysik.jino-net.ru/text/biglietto-aereo20/ biglietto aereo napolimilano] [http://listjanysik.jino-net.ru/text/programas-educativos/ programas educativos] [http://vera-megastar.jino-net.ru/small/stilo-km.html stilo km zero] [http://svetlanavt.jino-net.ru/text/cavo-composito.htm cavo composito] [http://fruscianteisgod.jino-net.ru/view/il-robot.html il robot e lo sputnik] [http://scruf.cn/ferritinabassa/ Ferritina bassa] [http://vera-megastar.jino-net.ru/small/concierto-en.html concierto en do menor para oboe y cuerdas] [http://vera-megastar.jino-net.ru/small/sway-buble1.html sway buble] [http://vera-megastar.jino-net.ru/small/illuminazione-stradale.html illuminazione stradale] [http://tikula.jino-net.ru/data/usb-luce/ usb luce blu] [http://tainka.jino-net.ru/styles/easy-cd9.htm easy cd creator gratis] [http://tikula.jino-net.ru/data/l-amore30/ l amore ti cambia la vita gianni morandi m] [http://tikula.jino-net.ru/data/libri-per8/ libri per dipingere] [http://lanadance.jino-net.ru/polvere-testo/ polvere testo] [http://msanutka.jino-net.ru/blog/mexico-line/ mexico line] [http://veleo.cn/web/immaginidragonball.html Immagini dragonball xxx] [http://vera-megastar.jino-net.ru/small/jfk-un1.html jfk un caso ancora aperto film dvd] [http://svetlanavt.jino-net.ru/text/ipod-gb3.htm ipod 6gb silver] [http://scruf.cn/fotodesktopdonne/ Foto desktop donne nude] [http://listjanysik.jino-net.ru/text/luxuria-camilla/ luxuria camilla] [http://tikula.jino-net.ru/data/cantanti-la/ cantanti la biografia di fornaciari] [http://tikula.jino-net.ru/data/radio-fm25/ radio fm cellulari nokia] [http://msanutka.jino-net.ru/blog/like-toy/ like toy soldier] [http://tikula.jino-net.ru/data/scala-colori/ scala colori] [http://vera-megastar.jino-net.ru/small/www-cavalli2.html www cavalli it] [http://tikula.jino-net.ru/data/tamally/ tamally] [http://vera-megastar.jino-net.ru/small/blof-spain.html blof spain] [http://tainka.jino-net.ru/styles/sara-primavera.htm sara primavera] [http://tainka.jino-net.ru/styles/chiese.htm chiese] [http://msanutka.jino-net.ru/blog/cursa/ cursa] [http://msanutka.jino-net.ru/blog/milk-shake/ milk shake kelis] [http://vera-megastar.jino-net.ru/small/the-nice1.html the nice] [http://listjanysik.jino-net.ru/text/hub-usb18/ hub usb 5 25] [http://msanutka.jino-net.ru/blog/ride-sally/ ride sally k] [http://lanadance.jino-net.ru/testo-toxic1/ testo toxic] [http://svetlanavt.jino-net.ru/text/giochi-erotici4.htm giochi erotici svedesi] [http://msanutka.jino-net.ru/blog/la-bicicletta/ la bicicletta da corsa] [http://tikula.jino-net.ru/data/anello-galadriel/ anello galadriel] [http://traidels.cn/blog/amatorialetette.html Amatoriale tette] [http://tikula.jino-net.ru/data/mtx-mototrax/ mtx mototrax] [http://msanutka.jino-net.ru/blog/charki/ charki] [http://vera-megastar.jino-net.ru/small/music-and1.html music and film] [http://svetlanavt.jino-net.ru/text/grand-theft9.htm grand theft auto san andreas colonna] [http://svetlanavt.jino-net.ru/text/wolkswagen-golf2.htm wolkswagen golf] [http://listjanysik.jino-net.ru/text/free-gay3/ free gay movies] [http://svetlanavt.jino-net.ru/text/tv-lcd89.htm tv lcd alta definizione] [http://tainka.jino-net.ru/styles/vide-porno.htm vide porno gartis] [http://fruscianteisgod.jino-net.ru/view/digimax-a.html digimax a400 samsung] [http://tikula.jino-net.ru/data/gigi-dagostino3/ gigi dagostino silence] [http://tikula.jino-net.ru/data/la-mia60/ la mia calabria] [http://fruscianteisgod.jino-net.ru/view/automodello-con.html automodello con motore a scoppio 1 8] [http://vera-megastar.jino-net.ru/small/il-capitan2.html il capitan uncino] [http://svetlanavt.jino-net.ru/text/borse-mazzini.htm borse mazzini] [http://tikula.jino-net.ru/data/www-r/ www r f i it] [http://lanadance.jino-net.ru/mr-big1/ mr big] [http://msanutka.jino-net.ru/blog/ipod-power/ ipod power adapter] [http://svetlanavt.jino-net.ru/text/s-fujifilm5.htm s304 fujifilm] [http://tikula.jino-net.ru/data/street-opera1/ street opera lord bean] [http://fruscianteisgod.jino-net.ru/view/assistenza-piccoli.html assistenza piccoli elettrodomestici] [http://vera-megastar.jino-net.ru/small/calcolo-interesse2.html calcolo interesse estratto conto] [http://vera-megastar.jino-net.ru/small/don-t94.html don t you cry] [http://listjanysik.jino-net.ru/text/leptolepis/ leptolepis] [http://vera-megastar.jino-net.ru/small/tomtom-navigation.html tomtom navigation] [http://listjanysik.jino-net.ru/text/se-quien/ se quien soy] [http://svetlanavt.jino-net.ru/text/nuova-mercedes18.htm nuova mercedes slk benzina auto nuove] [http://fruscianteisgod.jino-net.ru/view/gel-lubrificante.html gel lubrificante] [http://snorke.cn/topic/gayincalore.html Gay in calore] [http://svetlanavt.jino-net.ru/text/maxtor-yl.htm maxtor 6y120l0] [http://tainka.jino-net.ru/styles/mosfet.htm mosfet] [http://svetlanavt.jino-net.ru/text/si-na.htm si na merda] [http://lanadance.jino-net.ru/acacia/ acacia] [http://lanadance.jino-net.ru/i-celebri/ i celebri amori di enrico iv] [http://lanadance.jino-net.ru/le-nude/ le nude] [http://fruscianteisgod.jino-net.ru/view/foto-pirati.html foto pirati dei caraibi] [http://listjanysik.jino-net.ru/text/donne-giovani1/ donne giovani uomini anziani] [http://scruf.cn/fondazionecellula/ Fondazione cellula staminale] [http://svetlanavt.jino-net.ru/text/grahamstown.htm grahamstown] [http://vera-megastar.jino-net.ru/small/lawsuit-loan.html lawsuit loan] [http://tikula.jino-net.ru/data/canne-da8/ canne da pesca daiwa] [http://witchlander.cn/topic/bellefighegrasse.html Belle fighe grasse] [http://tainka.jino-net.ru/styles/i-say4.htm i say little prayer] [http://msanutka.jino-net.ru/blog/creative-itrigue5/ creative itrigue 3220] [http://svetlanavt.jino-net.ru/text/olympus-camedia26.htm olympus camedia 5060] [http://listjanysik.jino-net.ru/text/bilboa-oil/ bilboa oil] {| 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 10: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

Contents

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


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


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


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


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


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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox