Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(revert to 14:12, 28 September 2007)
Line 1: Line 1:
{| align=right
+
[http://katelyns.w8w.pl/blog/teen-wetting-accidents.html teen wetting accidents] [http://skunk-odor.kingbolt.info/index.html odor remover skunk] [http://scarlettlakey.ifrance.com/article/world-warcraft.html world warcraft warlock forum] [http://cherilyncyrus.ide.am/comments/ferguson.html jay ferguson] [http://sex-mpg.kingbolt.info/index.html sex mpg] [http://fatimahcrunk.ifrance.com/hitchcock.html russell hitchcock] [http://palmiradagostin.pop3.ru/pages/tipsy-lyrics-g-unit.html tipsy lyrics g unit] [http://tu-come-staiu.daywork.info/ tu come staiu] [http://venessadrake.ifrance.com/bangbro.html bangbro] [http://jessica-biel-porn.preteria.info/index.html jessica biel porn] [http://clarisamatchett.freehostia.com/article/india.html india arie] [http://neomirivenbark.pop3.ru/new/avondale-library.html avondale library public] [http://nellysalaam.ifrance.com/3-gold-level-raider.html 3 gold level raider tomb] [http://used-car-dealers.nonionic.info/index.html sacramento ca used car dealer] [http://korean-pussy.distains.info/index.html korean hairy pussy] [http://huge-fake-boobs.euploid.info/index.html huge fake boob] [http://nellysalaam.ifrance.com/arctic-fox.html arctic fox] [http://meghann.w8w.pl/small/sirius-satellite.html sirius satellite radio accessory] [http://attention-deficit.kiekie.info/index.html add attention coping deficit disorder job making strategy work] [http://rosanne.w8w.pl/resources/motorola-energy.html motorola energy system group] [http://gemamarkland.free-site-host.com/content/divinity18.html divinity18 jayden] [http://daylelz.datadiri.us/young-love.html young love] [http://domenicaswearin.freehostia.com/wwwislamcom.html www.islam.com] [http://carriberkowitz.free-site-host.com/sela.html sela] [http://nifty-gay-male.plinker.info/index.html authoritarian gay male nifty story] [http://little-teen.preteria.info/index.html little pussy shaved teen] [http://neomirivenbark.pop3.ru/new/akcorg.html found akc.org] [http://lidiame.w8w.pl/comments/42-inch-plasma.html 42 inch plasma tv stand] [http://design-paver-patio.touters.info/index.html design paver patio] [http://venessadrake.ifrance.com/how-to-french.html french kiss tip] [http://jukebox-zen.yautias.info/ jukebox zen] [http://carriberkowitz.free-site-host.com/wild-nude-women.html wild nude women] [http://girlx512.ide.am/content/resturants-in-portland.html guide oregon portland restaurant] [http://punkking157.ide.am/library/pitie-salpetriere.html pitie salpetriere paris] [http://mrkgnao.datadiri.us/topic/neng.html neng] [http://accountants.distains.info/index.html accountant new york] [http://siti-sul-wrestling.shellak.info/ siti sul wrestling] [http://neomirivenbark.pop3.ru/new/allpass-network.html allpass network] [http://myrtispettie.pop3.ru/articles/loan-lending.html loan lending] [http://blishlock.ide.am/data/2006-bown-super.html 2006 bown super] [http://luba-hegre.nonionic.info/index.html hegre luba torrent] [http://beck-learn.maybee.info/ beck learn] [http://genovevaloar.free-site-host.com/directory/nam.html nam] [http://rosanne.w8w.pl/resources/bluetooth-phones.html bluetooth phones] [http://sonwheless.ifrance.com/music-lettering.html music lettering] [http://glyndap.w8w.pl/wiki/its-hot-magazine.html its hot magazine website] [http://andreaakin.free-site-host.com/content/college-boys.html boy college frat gay man model] [http://effetti-per-dancehall.yautias.info/ effetti per dancehall] [http://backseatbanger.touters.info/index.html backseatbanger] [http://frozen.yautias.info/ frozen asset how to cook for a day and eat for a month] [http://ethylwilkey.ifrance.com/small/pulley.html pulley] [http://gaylavillalpand.pop3.ru/view/cottage-living.html cottage country garden living] [http://lauraleegerhard.freehostia.com/skimagazine.html skimagazine] [http://dark4sky.ide.am/34ddd-model.html 34ddd model] [http://rubiedunlap.ifrance.com/comments/kinesiology-course.html applied b.c course in kinesiology long three year] [http://katelyns.w8w.pl/blog/darlene.html conley darlene picture] [http://dotfitts.freehostia.com/pages/duffs-sexy-body.html duffs sexy body] [http://andreaakin.free-site-host.com/content/compensation.html compensation management] [http://fatimahcrunk.ifrance.com/2000-pontiac-grandam.html 2000 pontiac grandam] [http://sonwheless.ifrance.com/windows-cd-label.html window cd label maker] [http://lauraleegerhard.freehostia.com/overactive-bladder.html overactive gall bladder] [http://freetv.maybee.info/ freetv] [http://fotocamere-digitali.unfoxy.info/ fotocamere digitali fuji s2 pro] [http://scarlettlakey.ifrance.com/article/new-zealand-airlines.html new zealand airlines] [http://lauraleegerhard.freehostia.com/girls-without.html girls without bras] [http://gregpixcom.touters.info/index.html gregpix.com] [http://caridadkulik.ifrance.com/whittier-christian.html whittier christian preschool] [http://demetriusklink.free-site-host.com/topic/terror.html terror] [http://myrtispettie.pop3.ru/articles/obligations-law.html philippine law on obligation and contract] [http://tre-ore-per-uccidere.shellak.info/ tre ore per uccidere] [http://punkking157.ide.am/library/hair-remover.html hair remover tweeze] [http://women-naked.euploid.info/index.html hot woman naked in the shower] [http://genovevaloar.free-site-host.com/directory/electricity.html electricity middle project school simple] [http://painful-hands.distains.info/index.html painful hands and foot] [http://summercamp-ny.furison.info/index.html summer camp ny] [http://glyndap.w8w.pl/wiki/sasha-mitchell.html sasha mitchell] [http://sony-hc19e.daywork.info/ sony hc19e] [http://thelmabounds.ifrance.com/media-products.html media products jacksonville] [http://caridadkulik.ifrance.com/model-photography.html model photography] [http://bobs-t-gorls.esta-feta.info/ bobs t gorls] [http://mrkgnao.datadiri.us/topic/celine-dion-las.html celine dion las vegas show] [http://dark4sky.ide.am/locktite.html locktite] [http://amateur-nude-women.euploid.info/index.html amateur nude women] [http://marlyscat.w8w.pl/pep-boys-brooklyn.html pep boys brooklyn] [http://dominicachampli.freehostia.com/clark-county-washington.html clark county washington sheriff] [http://pet-waste-removal.nonionic.info/index.html brookhaven pet removal waste] [http://dark4sky.ide.am/tioman.html tioman] [http://dollydiva.profil.tc/new/mature-games.html free game mature online] [http://thelmabounds.ifrance.com/rosa-parks-ame.html rosa parks ame church] [http://staceetammaro.pop3.ru/kids-patio-furniture.html kids patio furniture] [http://nellysalaam.ifrance.com/puuty.html puuty] [http://xxxteens.kiekie.info/index.html xxxteens] [http://myrtispettie.pop3.ru/articles/adrenal-gland.html adrenal gland] [http://vhs-copy-protection.distains.info/index.html vhs copy protection] [http://lauraleegerhard.freehostia.com/francine-dee-video.html francine dee video] [http://phawkwood.ide.am/pages/planta-4.html planta 4] [http://adelaidecelis.pop3.ru/online-auction.html online auction secret] [http://gaylavillalpand.pop3.ru/view/wet-pussy-fucking.html fucking wet pussy] [http://myrtispettie.pop3.ru/articles/viral-encephalitis.html viral encephalitis emedicine] [http://hockey-su-tavolo.unfoxy.info/ hockey su tavolo] [http://fatimahcrunk.ifrance.com/access-control.html access control software] [http://carriberkowitz.free-site-host.com/anime-girls-in.html anime girls in bikinis] [http://apartments-in.fallway.info/ apartments in rome] [http://myeshavoss.pop3.ru/content/world-nederlands.html world nederlands kunst body art] [http://cherilyncyrus.ide.am/comments/casino-cards.html credit card casino] [http://genovevaloar.free-site-host.com/directory/black-slit.html black slit] [http://sirwayne.profil.tc/wiki/what-is-alfalfa.html what is alfalfa used for] [http://happymother.profil.tc/sharepoint-workflow.html sharepoint workflow accelerator] [http://beautyilst.datadiri.org/description/polyester-camera.html polyester camera bags] [http://genital-examination.duddie.info/index.html male genital examination] [http://vintage-tits.kiekie.info/index.html vintage tits] [http://gaylavillalpand.pop3.ru/view/propertyline.html propertyline propertyline] [http://male-infertility.kingbolt.info/index.html b12 deficiency infertility male vitamin] [http://latex-fetish.nonionic.info/index.html latex and fetish sex] [http://gaylavillalpand.pop3.ru/view/old-blue-chair.html old blue chair] [http://adult-products.euploid.info/index.html adult products] [http://ethylwilkey.ifrance.com/small/maltese.html maltese] [http://kazaa-com.maybee.info/ kazaa com] [http://myeshavoss.pop3.ru/content/the-roots.html the roots] [http://demetriusklink.free-site-host.com/topic/walt-disney.html walt disney world florida ticket] [http://croatien-mp3.maybee.info/ croatien mp3] [http://www-google-es.unfoxy.info/ www google es] [http://glyndap.w8w.pl/wiki/sterling-silver.html sterling silver western charm] [http://gaylavillalpand.pop3.ru/view/ipm-modeling.html ipm modeling] [http://mikethevile.datadiri.org/q/johnson-magic.html johnson magic] [http://happymother.profil.tc/your-winter.html your winter sister hazel tabs] [http://clarisamatchett.freehostia.com/article/metric-concert.html metric concert review] [http://annfarrer.pop3.ru/web/san-diego-reader.html san diego reader] [http://celbrity-porn.plinker.info/index.html celbrity porn] [http://tv-lcd-samsung.esta-feta.info/ tv lcd samsung italia] [http://demetriusklink.free-site-host.com/topic/laika.html laika preteen] [http://staceetammaro.pop3.ru/shooting-star.html shooting star tattoos] [http://myrtispettie.pop3.ru/articles/end-of-the-roll.html end of the roll carpet calgary] [http://spanked-bottom.duddie.info/index.html spanked bottoms] [http://amateur-boxing.touters.info/index.html amateur boxing in tennessee] [http://ver-video-michelle.fallway.info/ ver video michelle vieth] [http://funny-adult-games.euploid.info/index.html adult flash funny game] [http://sirwayne.profil.tc/wiki/womens-rain.html womens rain coats] [http://sex-tour.distains.info/index.html asian sex tour] [http://lettori-dvd-multistandard.yautias.info/ lettori dvd multistandard] [http://rubiedunlap.ifrance.com/comments/california-interest.html california interest rates] [http://i-say-a-little.furison.info/index.html i say a little prayer for you] [http://clarisamatchett.freehostia.com/article/ketsui-kizuna.html ketsui kizuna] [http://sonwheless.ifrance.com/inventor.html african american inventor] [http://costantino-vitaliano.calusa.info/ costantino vitaliano innamorato] [http://sexy-photos.touters.info/index.html sexy photos] [http://dotfitts.freehostia.com/pages/squash-lasagna-recipe.html squash lasagna recipe] [http://auto-noleggio.daywork.info/ auto noleggio rovereto] [http://carriberkowitz.free-site-host.com/tree-top-walk.html tree top walk wa] [http://funny-clowns.distains.info/index.html funny clown picture] {| 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 04:35, 8 January 2008

teen wetting accidents odor remover skunk world warcraft warlock forum jay ferguson sex mpg russell hitchcock tipsy lyrics g unit tu come staiu bangbro jessica biel porn india arie avondale library public 3 gold level raider tomb sacramento ca used car dealer korean hairy pussy huge fake boob arctic fox sirius satellite radio accessory add attention coping deficit disorder job making strategy work motorola energy system group divinity18 jayden young love www.islam.com sela authoritarian gay male nifty story little pussy shaved teen found akc.org 42 inch plasma tv stand design paver patio french kiss tip jukebox zen wild nude women guide oregon portland restaurant pitie salpetriere paris neng accountant new york siti sul wrestling allpass network loan lending 2006 bown super hegre luba torrent beck learn nam bluetooth phones music lettering its hot magazine website boy college frat gay man model effetti per dancehall backseatbanger frozen asset how to cook for a day and eat for a month pulley cottage country garden living skimagazine 34ddd model applied b.c course in kinesiology long three year conley darlene picture duffs sexy body compensation management 2000 pontiac grandam window cd label maker overactive gall bladder freetv fotocamere digitali fuji s2 pro new zealand airlines girls without bras gregpix.com whittier christian preschool terror philippine law on obligation and contract tre ore per uccidere hair remover tweeze hot woman naked in the shower electricity middle project school simple painful hands and foot summer camp ny sasha mitchell sony hc19e media products jacksonville model photography bobs t gorls celine dion las vegas show locktite amateur nude women pep boys brooklyn clark county washington sheriff brookhaven pet removal waste tioman free game mature online rosa parks ame church kids patio furniture puuty xxxteens adrenal gland vhs copy protection francine dee video planta 4 online auction secret fucking wet pussy viral encephalitis emedicine hockey su tavolo access control software anime girls in bikinis apartments in rome world nederlands kunst body art credit card casino black slit what is alfalfa used for sharepoint workflow accelerator polyester camera bags male genital examination vintage tits propertyline propertyline b12 deficiency infertility male vitamin latex and fetish sex old blue chair adult products maltese kazaa com the roots walt disney world florida ticket croatien mp3 www google es sterling silver western charm ipm modeling johnson magic your winter sister hazel tabs metric concert review san diego reader celbrity porn tv lcd samsung italia laika preteen shooting star tattoos end of the roll carpet calgary spanked bottoms amateur boxing in tennessee ver video michelle vieth adult flash funny game womens rain coats asian sex tour lettori dvd multistandard california interest rates i say a little prayer for you ketsui kizuna african american inventor costantino vitaliano innamorato sexy photos squash lasagna recipe auto noleggio rovereto tree top walk wa funny clown picture {| 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: