Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(Removed Spam)
Line 1: Line 1:
[http://starrerdman.freehostia.com/lib/bone.html bone] [http://starrerdman.freehostia.com/lib/zoology-mammal.html zoology mammal] [http://burmahentz.ifrance.com/resources/wifeexchange.html wifeexchange] [http://nikkideck.ifrance.com/summer-game-for.html summer game for kid] [http://shusipes.ifrance.com/wiki/plymouth-meeting.html plymouth meeting pa zip code] [http://orahennis.ifrance.com/description/pictures-of-jesus.html beautiful picture of jesus] [http://lucillalinton.free-site-host.com/lobster-recipe.html lobster recipe red roll] [http://eboniedanek.free-site-host.com/alfa-romeo.html alfa romeo brera] [http://paulettelynde.freehostia.com/2004-vw-gti-reviews.html 2004 vw gti reviews] [http://starrerdman.freehostia.com/lib/jetblue.html airline blue coupon discount jet] [http://lisabethcarrara.ifrance.com/lib/real-estate.html real estate prep school of kansas city] [http://lindyschwandt.w8w.pl/articles/jeb-bush-for-president.html 2008 bush jeb president] [http://erminiabroomfie.talk4fun.net/directory/jeanne.html jeanne] [http://brittcrisler.talk4fun.net/pioneer-credit.html pioneer credit recovery inc] [http://orahennis.ifrance.com/description/licker.html become good licker pussy] [http://kristianspeck.w8w.pl/noahs-ark-costuming.html noahs ark costuming and stage props] [http://shayzeller.w8w.pl/wiki/cute-teenagers.html cute teenagers] [http://nikkideck.ifrance.com/parallel-port.html parallel port to usb adapter] [http://shayzeller.w8w.pl/wiki/oceania-cruise.html oceania cruise line] [http://marylnaybar.w8w.pl/web/kt-tunstall.html kt tunstall] [http://roxanekerfoot.talk4fun.net/seasoning.html bay old seasoning] [http://jamicarbaugh.ifrance.com/description/mmorpg-gilde.html mmorpg gilde] [http://jacquelynndesro.talk4fun.net/maine-statehood.html maine statehood] [http://eboniedanek.free-site-host.com/pirate-hats.html pirate hats] [http://bonnieproffitt.w8w.pl/styles/pallensmithcom.html pallensmith.com] [http://daniellemallett.w8w.pl/kevin-maude.html kevin maude] [http://brittcrisler.talk4fun.net/male-review.html she male review] [http://daniellemallett.w8w.pl/elisa.html elisa] [http://roselleeisenber.talk4fun.net/working-holiday.html working holiday visa london england] [http://kristianspeck.w8w.pl/penile-exercises.html penile enhancement exercise] [http://lisabethcarrara.ifrance.com/lib/make-yourself.html make yourself scarce] [http://dararousey.ifrance.com/article/central-illinois.html central illinois realtor] [http://kaylenelaflamme.ifrance.com/view/the-drift-golf.html the drift golf club] [http://bonnieproffitt.w8w.pl/styles/american-express.html american card express gold] [http://marybellewestla.w8w.pl/lib/nasco.html nasco] [http://marylnaybar.w8w.pl/web/vontage-broadband.html vontage broadband telephone] [http://lucillalinton.free-site-host.com/saigon-lee.html saigon lee shemale] [http://marybellewestla.w8w.pl/lib/used-harley-prices.html harley price used] [http://delaineresto.ifrance.com/pages/how-to-get-rid-of.html best cellulite exercise get rid] [http://dararousey.ifrance.com/article/linear-system.html linear system theory and design chen] [http://marylnaybar.w8w.pl/web/radio-repair-parts.html radio repair parts] [http://dararousey.ifrance.com/article/photo-boxes.html photo boxes] [http://doreenhiller.ifrance.com/lib/austin-randalls.html austin randalls texas] [http://daniellemallett.w8w.pl/lion-king-broadway.html broadway king lion ticket] [http://jacquelynndesro.talk4fun.net/shopping-list.html shopping list for new baby] [http://dustisimmon.ifrance.com/description/livingston-tn.html livingston tn.] [http://manmaday.free-site-host.com/styles/journal-of-nursing.html journal of nursing care quality] [http://erminiabroomfie.talk4fun.net/directory/mims-meat-market.html mims meat market] [http://bonnieproffitt.w8w.pl/styles/psychology-websites.html psychology websites] [http://kaylenelaflamme.ifrance.com/view/bank-check-printing.html bank check printing software] [http://shusipes.ifrance.com/wiki/college-merchandise.html college merchandise] [http://patriadossett.freehostia.com/nfl-odds.html nfl odds] [http://doreenhiller.ifrance.com/lib/buy-xenical-uk.html buy xenical uk] [http://nikkideck.ifrance.com/essca.html essca] [http://marybellewestla.w8w.pl/lib/san-marco-restaurant.html san marco restaurant dc] [http://dustisimmon.ifrance.com/description/cherrymaster.html cherrymaster] [http://delaineresto.ifrance.com/pages/petite-girl-gallery.html petite girl gallery] [http://johnnywinbush.ifrance.com/small/union-soldiers.html union toy soldier] [http://heebroughton.ifrance.com/jazmine.html jazmine cashmere] [http://lucillalinton.free-site-host.com/personal-injury.html personal injury interrogatories] [http://rolandepolitte.free-site-host.com/text/50s-hot-rods.html 50s hot rods] [http://rolandepolitte.free-site-host.com/text/lequotidiensn.html lequotidien.sn] [http://vandapriestley.w8w.pl/description/toronto-volunteer.html toronto volunteer jobs] [http://vandapriestley.w8w.pl/description/amateur-teen-sex.html amateur teen sex video] [http://jaclynfinkbeine.ifrance.com/wiki/popular-movie.html popular movie quote] [http://rolandepolitte.free-site-host.com/text/white-paper-international.html asian fucking man woman] [http://dararousey.ifrance.com/article/uefa.html uefa] [http://erminiabroomfie.talk4fun.net/directory/milla-jovovich.html milla jovovich] [http://orahennis.ifrance.com/description/x-box-360.html x-box 360] [http://heebroughton.ifrance.com/pay-private-school.html pay private school teacher] [http://orahennis.ifrance.com/description/residential.html residential contractor] [http://leiatynan.w8w.pl/articles/cheetah-girl.html the cheetah girl com] [http://lisabethcarrara.ifrance.com/lib/enesco.html enesco ornament] [http://heebroughton.ifrance.com/music-in-the.html music in the night] [http://daniellemallett.w8w.pl/arthur-millers.html arthur millers playing for time] [http://rosariatsao.freehostia.com/library/1200cc-engine.html 1200cc engine] [http://missylineberry.ifrance.com/styles/keystone-outback.html keystone outback 23rs] [http://patriadossett.freehostia.com/velveteen-ribbon.html velveteen ribbon] [http://gerdaguerrera.freehostia.com/web/in-public.html public sex] [http://lindyschwandt.w8w.pl/articles/accessory-chart.html accessory chart jaeger] [http://dustisimmon.ifrance.com/description/live-chat-cams.html cam chat live] [http://rosariatsao.freehostia.com/library/puppy-age-spayed.html puppy age spayed] [http://lisabethcarrara.ifrance.com/lib/the-killers-somebody.html somebody told me by the killer] [http://gerdaguerrera.freehostia.com/web/gem.html gem] [http://shusipes.ifrance.com/wiki/i-am-kloot-proof.html i am kloot proof] [http://eboniedanek.free-site-host.com/natural-diuretics.html diuretics natural] [http://paulettelynde.freehostia.com/salvia-divinorum.html salvia divinorum] [http://erminiabroomfie.talk4fun.net/directory/prussia.html prussia] [http://brittcrisler.talk4fun.net/martial-arts.html martial arts gear] [http://jamicarbaugh.ifrance.com/description/pyle-pltv7r.html pyle pltv7r] [http://daniellemallett.w8w.pl/cindy-movies.html cindy free movie] [http://missylineberry.ifrance.com/styles/string-trimmer.html cordless string trimmer] [http://doreenhiller.ifrance.com/lib/teens-cumming.html teens cumming in panties] [http://doreenhiller.ifrance.com/lib/if-youre-gonna.html if youre gonna be dumb] [http://lindyschwandt.w8w.pl/articles/mayson-pub-sherbrooke.html mayson pub sherbrooke] [http://starrerdman.freehostia.com/lib/rallys-coupon.html rallys coupon] [http://kaylenelaflamme.ifrance.com/view/octopuses.html octopuses] [http://brittcrisler.talk4fun.net/sexy-jupe.html sexy jupe] [http://leiatynan.w8w.pl/articles/astroturf-golf.html astroturf golf mat] [http://marilouwillson.ifrance.com/sig-tag-group.html sig tag group] [http://marilouwillson.ifrance.com/rainy-day-lesson.html rainy day lesson plans] [http://jaclynfinkbeine.ifrance.com/wiki/tinkerbell-messenger.html tinkerbell messenger bag] [http://marybethcramer.ifrance.com/murder-casebooks.html murder casebooks] [http://erinoceguera.ifrance.com/topic/white-memorial-hospital.html white memorial hospital] [http://burmahentz.ifrance.com/resources/low-rider-girls.html girl l low rider] [http://lisabethcarrara.ifrance.com/lib/iliad-audiobook.html the iliad audio book] [http://daniellemallett.w8w.pl/women-of-faith.html conference faith woman] [http://slyviasaville.free-site-host.com/new/shihpoo.html shihpoo] [http://delaineresto.ifrance.com/pages/v9400ge.html v9400ge] [http://paulettelynde.freehostia.com/j-doyne-farmer.html j doyne farmer] [http://roxanekerfoot.talk4fun.net/credit-card-services.html credit card merchant services] [http://marybellewestla.w8w.pl/lib/p-diddy.html diddy lyric p tell] [http://dustisimmon.ifrance.com/description/information-on.html information on addiction] [http://erminiabroomfie.talk4fun.net/directory/little-boy-with.html little boy with a erection] [http://marylnaybar.w8w.pl/web/tube-feeder.html humming bird feeder tube] [http://lisabethcarrara.ifrance.com/lib/smoking-videos.html cigarette model smoking video] [http://rolandepolitte.free-site-host.com/text/i-lift-weights.html i lift weights but i dont sweat] [http://roxanekerfoot.talk4fun.net/manchester-united.html manchester united v arsenal] [http://dallashultgren.ifrance.com/nisim.html nisim] [http://jaclynfinkbeine.ifrance.com/wiki/punk-models.html punk models] [http://nikkideck.ifrance.com/lark-voorhies.html filmography lark voorhies] [http://dustisimmon.ifrance.com/description/buy-alprazolam.html alprazolam buy online] [http://marybellewestla.w8w.pl/lib/woman-photographer.html photographer professional woman] [http://kaylenelaflamme.ifrance.com/view/nbc-los-angeles.html nbc los angeles local news] [http://rosariatsao.freehostia.com/library/life-span-of.html fly fruit life span] [http://marybethcramer.ifrance.com/agency-aging.html agency aging area pa] [http://burmahentz.ifrance.com/resources/construction-safety.html construction safety system training] [http://jacquelynndesro.talk4fun.net/adult-english.html adult english oral rating] [http://shayzeller.w8w.pl/wiki/demonology.html demonology] [http://orahennis.ifrance.com/description/maryland-after.html maryland after school program] [http://heebroughton.ifrance.com/laminate-flooring.html laminate flooring consumer reports] [http://marybethcramer.ifrance.com/mini-motors.html mini chopper motor] [http://roselleeisenber.talk4fun.net/visalia-times-delta.html visalia times delta obituaries] [http://dallashultgren.ifrance.com/pc-game-hints.html pc game hints cheats] [http://lucillalinton.free-site-host.com/satilite-maps.html satilite maps] [http://burmahentz.ifrance.com/resources/mens-bedroom-slippers.html mens bedroom slippers] [http://missylineberry.ifrance.com/styles/funnys.html funnys] [http://marilouwillson.ifrance.com/synergy-capital.html synergy capital partners] [http://lucillalinton.free-site-host.com/turn-off-the-tv.html turn off the tv week 2005] [http://burmahentz.ifrance.com/resources/spacecom.html space.com] [http://shayzeller.w8w.pl/wiki/mustafar.html anakin mustafar] [http://lisabethcarrara.ifrance.com/lib/antarctica-penguin.html antarctica penguin] [http://roxanekerfoot.talk4fun.net/nielsen-media.html nielsen media research internet advertising] [http://jamicarbaugh.ifrance.com/description/stewardess-fantasy.html stewardess fantasy] [http://johnnywinbush.ifrance.com/small/panties-ads-preteen.html panties ads preteen] [http://kaylenelaflamme.ifrance.com/view/email-virus.html email virus] [http://burmahentz.ifrance.com/resources/mary-ellen-wilson.html mary ellen wilson child abuse] [http://leiatynan.w8w.pl/articles/buy-atv-online.html buy atv online] [http://vandapriestley.w8w.pl/description/counter-top.html counter top] [http://shayzeller.w8w.pl/wiki/zeiss-diascope-85.html zeiss diascope 85 t fl] [[Image:Main-Eval-PG31-USB-Loaded.jpg|PG31 USB Dev Board]]
+
[[Image:Main-Eval-PG31-USB-Loaded.jpg|PG31 USB Dev Board]]
  
  

Revision as of 10:32, 27 December 2007

PG31 USB Dev Board


Description:
You've probably heard about the CP210x USB ICs from Silicon Labs, now here's an application 1000 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 p 1000 ositive. 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: