Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
m (Reverted edits by 194.176.176.82 (Talk); changed back to last version by 193.51.215.2)
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://sccachaplain.org/images/thumbs/etc/pic/kamlkr.html satin panties] [http://theshopshots.com/clancys/fullthrottle/image/ico/ipphqf.html sample cover letter] [http://emilmijares.com/images/thumbs/pics/agbjne.html cheap cars] [http://sccachaplain.org/images/thumbs/etc/pic/jxftjd.html teeny bikini] [http://laniteguide.com/images/thumbs/2x3/ntjeta.html email marketing] [http://www.jakujam.com/chimg/thumbs/enpfbg.html free motorola ringtone v300] [http://kalmbachpark.com/images/album/photo/qlxwhr.html adult swingers] [http://theshopshots.com/clancys/fullthrottle/image/ico/hcvpbx.html gratis] [http://laniteguide.com/images/thumbs/2x3/akkcvj.html circut city] [http://theshopshots.com/clancys/fullthrottle/image/ico/drixwh.html home comfort furniture store] [http://kidstogether.org/images/Theparentside/pics/1/cfruln.html perfect keylogger registration code] [http://theshopshots.com/clancys/fullthrottle/image/ico/emvnjq.html acura dealer] [http://sccachaplain.org/images/thumbs/etc/pic/txfkwh.html adult friendfinder] [http://www.jakujam.com/chimg/thumbs/hsexoq.html titfucking] [http://ahsclass54.org/cp/images/digits/LED/leds/1/cjqumq.html bmi airlines] [http://sccachaplain.org/images/thumbs/etc/pic/rmegrq.html cheap flight ticket] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/ixxdho.html toner cartridge] [http://sccachaplain.org/images/thumbs/etc/pic/crsgpb.html mudd shoes] [http://ahsclass54.org/cp/images/digits/LED/leds/1/sgxxgv.html balloons] [http://ahsclass54.org/cp/images/digits/LED/leds/1/baarjl.html verizon prepaid wireless] [http://kalmbachpark.com/images/album/photo/euvwgh.html vitamin d deficiency symptoms] [http://theshopshots.com/clancys/fullthrottle/image/ico/hnpaus.html platinum diamond rings] [http://www.jakujam.com/chimg/thumbs/lfutnq.html slingo] [http://theshopshots.com/clancys/fullthrottle/image/ico/hfgxsv.html unique halloween costume] [http://ahsclass54.org/cp/images/digits/LED/leds/1/cxarle.html mens swimwear] [http://emilmijares.com/images/thumbs/pics/uhhbpi.html free teens sex] [http://ahsclass54.org/cp/images/digits/LED/leds/1/fdiauk.html sexy brazilian babes] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/iedsau.html naked celebrites] [http://ahsclass54.org/cp/images/digits/LED/leds/1/fjspbx.html cheap flat london] [http://kidstogether.org/images/Theparentside/pics/1/dmhscx.html free porn samples] [http://laniteguide.com/images/thumbs/2x3/wvebhb.html fat burner] [http://www.jakujam.com/chimg/thumbs/ojnxos.html haylie duff] [http://theshopshots.com/clancys/fullthrottle/image/ico/xvjpxx.html asian massage] [http://emilmijares.com/images/thumbs/pics/wochoh.html free webspace] [http://ahsclass54.org/cp/images/digits/LED/leds/1/qngujl.html medical scrubs] [http://sccachaplain.org/images/thumbs/etc/pic/alucta.html eating disorder quiz] [http://sccachaplain.org/images/thumbs/etc/pic/dvgjuv.html free boost mobile ringtones] [http://laniteguide.com/images/thumbs/2x3/jowuda.html cheap marlboro] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/qdngrj.html sexgay] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/jkxeer.html brazilian jeans] [http://kalmbachpark.com/images/album/photo/scncsd.html spy camera] [http://ahsclass54.org/cp/images/digits/LED/leds/1/wmuctl.html hillsong] [http://theshopshots.com/clancys/fullthrottle/image/ico/toeuvc.html buckled interior concrete floors] [http://kidstogether.org/images/Theparentside/pics/1/hiqqbh.html pbs] [http://emilmijares.com/images/thumbs/pics/wgiooj.html uzbek muzik] [http://laniteguide.com/images/thumbs/2x3/dodeuh.html new car comparison] [http://ahsclass54.org/cp/images/digits/LED/leds/1/udhqjo.html amateur big tits] [http://sccachaplain.org/images/thumbs/etc/pic/kbmnas.html juegos gratis] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/ljhosa.html motorcycle trike] [http://sccachaplain.org/images/thumbs/etc/pic/xfsuxb.html buy a diploma] [http://theshopshots.com/clancys/fullthrottle/image/ico/wajpgn.html patio cover] [http://kidstogether.org/images/Theparentside/pics/1/ncxjrf.html hotel deals] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/sbalbe.html drug treatment] [http://sccachaplain.org/images/thumbs/etc/pic/pxjbhx.html united healthcare] [http://sccachaplain.org/images/thumbs/etc/pic/dujuqd.html avalide] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/qtwosv.html biggest boobs] [http://kidstogether.org/images/Theparentside/pics/1/xdcfsa.html free motorola phone tool download] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/vmarma.html blowjob movie] [http://theshopshots.com/clancys/fullthrottle/image/ico/xinnbn.html application] [http://sccachaplain.org/images/thumbs/etc/pic/wousri.html free video chat] [http://theshopshots.com/clancys/fullthrottle/image/ico/wumoif.html vodafone mobile phones] [http://kalmbachpark.com/images/album/photo/mqxhvb.html ohare airport] [http://kidstogether.org/images/Theparentside/pics/1/spotnq.html gay video dvd] [http://kidstogether.org/images/Theparentside/pics/1/otthbr.html cell phone] [http://kidstogether.org/images/Theparentside/pics/1/swmdjc.html fossil watch] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/josmor.html unsecured bad credit personal loan] [http://ahsclass54.org/cp/images/digits/LED/leds/1/kfktil.html ketorolac] [http://sccachaplain.org/images/thumbs/etc/pic/vxhrjk.html map of thailand] [http://ahsclass54.org/cp/images/digits/LED/leds/1/wkgqqt.html older woman free pic] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/xkwujk.html watch winders] [http://kidstogether.org/images/Theparentside/pics/1/erjsxm.html hardcore] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/gdbwkd.html daily complete liquid vitamin] [http://laniteguide.com/images/thumbs/2x3/gncnon.html tavist] [http://sccachaplain.org/images/thumbs/etc/pic/hdpxfl.html ps3 preorder] [http://sccachaplain.org/images/thumbs/etc/pic/fdcqor.html subutex] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/ipcafw.html free download able music] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/dbhocl.html rocco animal trainer] [http://ahsclass54.org/cp/images/digits/LED/leds/1/vrehrs.html asian pussy] [http://emilmijares.com/images/thumbs/pics/wqqrel.html lingerie sex] [http://kidstogether.org/images/Theparentside/pics/1/cucxnp.html tila] [http://www.jakujam.com/chimg/thumbs/vvkten.html birthday party supplies] [http://www.jakujam.com/chimg/thumbs/esfumt.html egg allergies] [http://ahsclass54.org/cp/images/digits/LED/leds/1/tqdkie.html national car rental] [http://sccachaplain.org/images/thumbs/etc/pic/lrhxll.html quantas airlines] [http://laniteguide.com/images/thumbs/2x3/ttcigr.html yamaha motor] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/bfhtds.html oil] [http://theshopshots.com/clancys/fullthrottle/image/ico/nhxvei.html wedding flower girl dress] [http://sccachaplain.org/images/thumbs/etc/pic/itcjji.html job vacancies] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/vlixib.html free xxx sex] [http://kidstogether.org/images/Theparentside/pics/1/aurjts.html baby costumes] [http://laniteguide.com/images/thumbs/2x3/wdroop.html oompa loompa original costume] [http://ahsclass54.org/cp/images/digits/LED/leds/1/ucwdiw.html female masterbation] [http://theshopshots.com/clancys/fullthrottle/image/ico/fvjrdp.html homes for sale by owner] [http://ahsclass54.org/cp/images/digits/LED/leds/1/mgckoo.html madonna tickets] [http://emilmijares.com/images/thumbs/pics/chjhbv.html big tits videos] [http://kalmbachpark.com/images/album/photo/gcfuwc.html gay porno] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/tcriqk.html adult mature sex] [http://sccachaplain.org/images/thumbs/etc/pic/lqinvo.html quinine sulfate] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/niflor.html flextra] [http://ahsclass54.org/cp/images/digits/LED/leds/1/jcoovm.html side view mirror] [http://fuck.eskout.cn/danville-ca-real.html danville ca real estate] [http://teen.eskout.cn/topcams.html topcams] [http://incest.eskout.cn/nude-dancing.html nude dancing] [http://teen.eskout.cn/career-as-a.html career as a stockbroker] [http://sex.eskout.cn/swiss-cheese.html swiss cheese] [http://women.eskout.cn/old-man-sex.html old man sex] [http://girl.eskout.cn/girl-wrestling.html girl wrestling] [http://fuck.eskout.cn/katie-nude.html katie nude] [http://nude.eskout.cn/backroom.html backroom] [http://nude.eskout.cn/weed-pipes.html weed pipes] [http://nude.eskout.cn/sexy-japanese.html sexy japanese] [http://porno.eskout.cn/mature-wifes.html mature wifes] [http://sex.eskout.cn/speculumpages.html speculumpages] [http://hardcore.eskout.cn/brutal-spankings.html brutal spankings] [http://women.eskout.cn/asiangirls.html asiangirls] [http://nude.eskout.cn/hairy-mature.html hairy mature] [http://porno.eskout.cn/shocking-cocks.html shocking cocks] [http://incest.eskout.cn/used-kawasaki-kx65.html used kawasaki kx65 forks] [http://women.eskout.cn/arsch.html arsch] [http://hardcore.eskout.cn/lara-croft-xxx.html lara croft xxx] [http://girls.eskout.cn/rental-homes-las.html rental homes las vegas] [http://xxx.eskout.cn/colorado-springs.html colorado springs news] [http://porn.eskout.cn/male-dancers.html male dancers] [http://www.justin-coise.fanspace.com map] [http://lesbian.eskout.cn/whirlpool-duet.html whirlpool duet] [http://sex.eskout.cn/simpson-sex.html simpson sex] [http://xxx.eskout.cn/tiny-teenies.html tiny teenies] [http://xxx.eskout.cn/how-to-conceive.html how to conceive a girl] [http://sex.eskout.cn/girls-in-high-heels.html girls in high heels] [http://nude.eskout.cn/bachelorette.html bachelorette party in las vegas] [http://fuck.eskout.cn/teen-nude-pics.html teen nude pics] [http://fuck.eskout.cn/tiny-preteen.html tiny preteen] [http://blondes.eskout.cn/gratuit.html gratuit] [http://incest.eskout.cn/ghetto-girls.html ghetto girls] [http://nude.eskout.cn/nude-models.html nude models] [http://girl.eskout.cn/health-and-wellness.html health and wellness products] [http://www.russor.freehosting.net home] [http://porn.eskout.cn/lesbian-stockings.html lesbian stockings] [http://anal.eskout.cn/violent-comix.html violent comix] [http://hardcore.eskout.cn/ohio-colleges.html ohio colleges] [http://girl.eskout.cn/asian-virgins.html asian virgins] [http://anal.eskout.cn/sex-after-50.html sex after 50] [http://www.ailinekai82.20megsfree.com page] [http://www.ruurie.00sf.com here] [http://xxx.eskout.cn/sex-fantasy.html sex fantasy] [http://anal.eskout.cn/shite.html shite] [http://hentai.eskout.cn/deep-forest.html deep forest] [http://porno.eskout.cn/rapid-reel.html rapid reel] [http://fuck.eskout.cn/canopy-rental-colorado.html canopy rental colorado] [http://xxx.eskout.cn/pokemonhentai.html pokemonhentai] [http://anal.eskout.cn/besteality.html besteality] [http://incest.eskout.cn/naked-military-men.html naked military men] [http://teen.eskout.cn/ana-claudia-talancon.html ana claudia talancon] [http://girls.eskout.cn/webdate.html webdate] [http://incest.eskout.cn/adult-only-vacations.html adult only vacations] [http://sex.eskout.cn/tracks-eraser.html tracks eraser] [http://xxx.eskout.cn/naked-pictures.html naked pictures] [http://fuck.eskout.cn/inuyasha-change.html inuyasha change the world] [http://fuck.eskout.cn/guys-eating-pussy.html guys eating pussy] [http://anal.eskout.cn/male-masturbation.html male masturbation] [http://www.maliesuk.safewebshop.com home] [http://hentai.eskout.cn/lolitas-videos.html lolitas videos hardcore] [http://anal.eskout.cn/viviana-gibelli.html viviana gibelli] [http://blondes.eskout.cn/boys-showering.html boys showering] [http://www.str-vit.cabanova.ro here] [http://lesbian.eskout.cn/fresno-ca-real.html fresno ca real estate] [http://anal.eskout.cn/cum-drenched.html cum drenched] [http://lesbian.eskout.cn/baby-sex.html baby sex] [http://movies.eskout.cn/smoking-nude.html smoking nude] [http://playboy.eskout.cn/free-teen-nude.html free teen nude] [http://anal.eskout.cn/hot-sex-videos.html hot sex videos] [http://playboy.eskout.cn/penis-sizes.html penis sizes] [http://hentai.eskout.cn/copper-sink.html copper sink] [http://anal.eskout.cn/nude-school-teachers.html nude school teachers] [http://girl.eskout.cn/sex-video-free.html sex video free] [http://anal.eskout.cn/hot-coffee-mod.html hot coffee mod] [http://sex.eskout.cn/naughty-wife.html naughty wife] [http://porno.eskout.cn/naked-young-teens.html naked young teens] [http://movies.eskout.cn/hardcore-latinas.html hardcore latinas] [http://movies.eskout.cn/monster-pussy.html monster pussy] [http://windchanter.page.tl home] [http://xxx.eskout.cn/scat-clips.html scat clips] [http://blondes.eskout.cn/man-fuck.html man fuck] [http://women.eskout.cn/hardcore-yaoi.html hardcore yaoi] [http://www.pshenika.00cd.com map] [http://nude.eskout.cn/accountants.html accountants] [http://www.natka01.4t.com page] [http://women.eskout.cn/teens-girls.html teens girls] [http://xxx.eskout.cn/gay-bang.html gay bang] [http://fuck.eskout.cn/isle-of-palms.html isle of palms] [http://anal.eskout.cn/preeteen-sex.html preeteen sex] [http://women.eskout.cn/diane-lane-naked.html diane lane naked] [http://sex.eskout.cn/topless-sunbathing.html topless sunbathing] [http://playboy.eskout.cn/virgin-lesbians.html virgin lesbians] [http://fuck.eskout.cn/xxx-sex-stories.html xxx sex stories] [http://fuck.eskout.cn/maine-tourism.html maine tourism] [http://anal.eskout.cn/e-hentai.html e hentai] [http://hardcore.eskout.cn/debbie-deb.html debbie deb] [http://nude.eskout.cn/buscador-sexo.html buscador sexo porno] [http://girl.eskout.cn/hot-girls.html hot girls] {| 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 11: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

USB Connection[edit]

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

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

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

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

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

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: