Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
[http://sunaseth.blogspot.com purchase cheap phentermine] [http://asaearh.blogspot.com buy online prescription xanax] [http://peace-weasel.blogspot.com cheap 15mg phentermine] [http://camelmenthe.blogspot.com casino online tip] [http://dionysios-r.blogspot.com 37 5 cheap online phentermine] [http://maitybaba.blogspot.com casino new online] [http://bondich.blogspot.com mixing valium and xanax] [http://aynippa.blogspot.com propecia drug] [http://floridian-love.blogspot.com casino online review] [http://sofiefie.blogspot.com casino free game] [http://kenji-no-sorata.blogspot.com casino make money online] [http://iron-island.blogspot.com cheap literacy phentermine] [http://eighty-8088.blogspot.com buying propecia] [http://lavender-dove.blogspot.com california casino indian] [http://the-murderer.blogspot.com barona casino] [http://brat-nikodim.blogspot.com cheap delivered find fl phentermine] [http://ratonhteroad.blogspot.com casino guide] [http://zanuda-juja.blogspot.com casino microgaming online] [http://psmorrison.blogspot.com snorting valium] [http://ivoyt.blogspot.com propecia hair] [http://konstantine01.blogspot.com casino royale] [http://lawrencegillies.blogspot.com ameristar casino] [http://arketon24.blogspot.com casino hotel] [http://hand-stained-xx.blogspot.com casino game] [http://iehf.blogspot.com book casino sport] [http://jeanniexong.blogspot.com casino online tournament] [http://azn-chickadee.blogspot.com buy link onlinehtml xanax xanax00procom] [http://thesam118.blogspot.com casino horseshoe] [http://raezey.blogspot.com bonus casino code online] [http://jimmini.blogspot.com cheap phentermine yellow] [http://jokerupot.blogspot.com casino free game online slot] [http://silly-n.blogspot.com best bonus casino online] [http://asaia.blogspot.com casino palm] [http://normanburke.blogspot.com casino fallsview] [http://s1xbucksamonkey.blogspot.com casino english harbour online] [http://moody-immortal2.blogspot.com buy link online traxto xanax] [http://murdersoul.blogspot.com casino hard rock] [http://enchanted1312.blogspot.com injecting valium] [http://foedu-de-solnil.blogspot.com propecia effects] [http://gorillashaman.blogspot.com ativan drug lorazepam] [http://hclt-events.blogspot.com cheap 37 5 phentermine] [http://vegetnuks.blogspot.com picture propecia result] [http://angelcakez.blogspot.com cheap herbal phentermine] [http://dogzilla30.blogspot.com valium vs vicodin] [http://paperroom.blogspot.com casino gaming online] [http://sakura-watanuki.blogspot.com 37 5mg cheap phentermine] [http://pearlibuttons.blogspot.com buy cheap com h1 phentermine phentermine ripway] [http://jesuisleflet.blogspot.com casino game online poker] [http://falling-anvil.blogspot.com casino gambling line online] [http://seranton.blogspot.com propecia side effects] [http://pashkak0marov.blogspot.com casino riverside] [http://piggy-soldier.blogspot.com borgata casino] [http://techinpet.blogspot.com casino fun online play] [http://xitokiry.blogspot.com casino gambling guide online] [http://kalbongzig64.blogspot.com casino hotel palm] [http://peacedoorball.blogspot.com valium without prescription] [http://meadelante.blogspot.com order propecia online] [http://callsecurity.blogspot.com order cheap phentermine online overnite] [http://solacemysoul.blogspot.com phentermine cheap order by] [http://jessiethebestie.blogspot.com valium iv] [http://soulswallo.blogspot.com casino online slot] [http://jon-a-ross.blogspot.com casino com online] [http://phoenixbrngbrt.blogspot.com bonus casino] [http://pyrebi.blogspot.com casino flash online] [http://winter-gossamer.blogspot.com casino free online slot] [http://aurney.blogspot.com get phentermine cheap] [http://mutantalias.blogspot.com valium use] [http://zebbiejohnson.blogspot.com cheap phentermine pill] [http://mrwolfy49.blogspot.com cheap order phentermine prescription] [http://bear-terry.blogspot.com casino gaming] [http://jeffrorocks21.blogspot.com cheap cod extremely phentermine] [http://roxyobsessed7.blogspot.com buy link nowcom online xanax] [http://pastmagic.blogspot.com casino greektown] [http://smackinghotlips.blogspot.com buy link online sitekreatorcom xanax] [http://lilhaq.blogspot.com casino chip] [http://ekviceaia.blogspot.com indication of valium] [http://machi-neko.blogspot.com cheap prescription diet pill phentermine] [http://ryu-jounetsu.blogspot.com canadian casino online] [http://chuvak-org.blogspot.com valium dosage] [http://sahezzz.blogspot.com casino choctaw] [http://prettyhair24-7.blogspot.com propecia study] [http://ouglova.blogspot.com valium half life] [http://woolygrrl.blogspot.com valium side effects] [http://missensign.blogspot.com buy link onlinefansto xanax] [http://anw66.blogspot.com buy doctor xanax] [http://oltcha.blogspot.com bingo casino free game online play] [http://dirty-ru-lenta.blogspot.com propecia online] [http://codigodor.blogspot.com brand buy online xanax] [http://spirit-of-llama.blogspot.com cheap phentermine without rx] [http://sijalik.blogspot.com casino free online play] [http://rm-ast-pants.blogspot.com buy online upjohn xanax] [http://nekostar3.blogspot.com ativan anxiety] [http://sweetpniangel87.blogspot.com long term side effects of propecia] [http://yell0w-n1njaman.blogspot.com casino hotel las vegas] [http://jewels667.blogspot.com propecia impotence] [http://your-starry-sky.blogspot.com casino new york] [http://skvonk.blogspot.com ativan birth defect] [http://pyr0lys1s.blogspot.com cheap phentermine no prior prescription] [http://firejedi.blogspot.com cheapest cheap phentermine] [http://mywaybackwhen.blogspot.com casino deposit new no online] [http://bakamandy.blogspot.com ativan dose lethal] [http://hwantiig-yg.blogspot.com buy xanax legally] [http://laynamarya.blogspot.com ativan and alcohol] [http://xjenhx.blogspot.com viagra medication prescription levitra cialis propecia] [http://manka-kapak.blogspot.com casino craps online] [http://comradealtmer.blogspot.com casino thunder valley] [http://mafy69.blogspot.com casino online play] [http://danga4ka.blogspot.com casino online wagering] [http://bostvndaoe.blogspot.com ativan forum] [http://ridiaulctions.blogspot.com buy overseas xanax] [http://guess76.blogspot.com casino in las vegas] [http://gatx10258.blogspot.com casino links] [http://femdog.blogspot.com casino on net] [http://nord9maedchen73.blogspot.com ativan for depression] [http://chic-ks.blogspot.com casino golden online palace] [http://apesapoppin.blogspot.com canada cheap phentermine] [http://lola-providence.blogspot.com ativan addiction] [http://lilo-n.blogspot.com buy xanax cod] [http://redfxo.blogspot.com propecia before and after] [http://telnushka.blogspot.com buy cheap lowest phentermine price] [http://tart0938.blogspot.com casino grand online] [http://azu-erlove.blogspot.com casino free game online] [http://yasashisa.blogspot.com valium online] [http://xboct13.blogspot.com ativan attack medication online order panic] [http://the-craftman.blogspot.com buy propecia online] [http://yoshi-in-black.blogspot.com how propecia works] [http://kulhain.blogspot.com buy insurance medication without xanax] [http://kabierac.blogspot.com casino eagle soaring] [http://sand-stars.blogspot.com valium sale] [http://vands88.blogspot.com casino gambling internet online] [http://jupka97.blogspot.com cheap online order phentermine] [http://thedailywash.blogspot.com online casino game] [http://justanotherebel.blogspot.com cheap phentermine no prescription needed] [http://hitm4n.blogspot.com buy buy target xanax xanax] [http://ktbug1373.blogspot.com casino vegas] [http://annugel--h.blogspot.com propecia result] [http://fragolla.blogspot.com casino deposit no] [http://ejreoonster.blogspot.com propecia and woman] [http://gololed.blogspot.com buy link member spacesmsncom xanax] [http://mama-rachelbeth.blogspot.com casino slot] [http://mothrinventor.blogspot.com online prescription propecia] [http://rappture.blogspot.com baldness hair lasercomb loss propecia] [http://llillith.blogspot.com casino news online] [http://tayamarn.blogspot.com casino commerce] [http://angry-sister.blogspot.com casino payout] [http://cetki.blogspot.com addicted to ativan] [http://fau75.blogspot.com casino hard rock seminole] [http://un-fois.blogspot.com casino pechanga] [http://suzulan.blogspot.com propecia sale] [http://nixve.blogspot.com propecia picture] [http://lettersof-love.blogspot.com propecia cost] [http://nmagiietending.blogspot.com buy xanax online pay by check] [http://xelby0.blogspot.com casino fortunelounge online] [http://estarcollector.blogspot.com 2mg buy generic xanax] [http://leadora.blogspot.com buy xanax overnight] [http://bekahboo3.blogspot.com propecia work] [http://tsvibak.blogspot.com casino online poker] [http://cloudydayshadow.blogspot.com casino hotel paris] [http://deadums.blogspot.com propecia body building] [http://mkiss47346.blogspot.com advice casino online] [http://foecedh3artbrat.blogspot.com cheap phentermine no prescription required] [http://fllood.blogspot.com propecia vs rogaine] [http://eudrayv.blogspot.com picture pill valium] [http://laus-rmore.blogspot.com casino forum online] [http://berrycow.blogspot.com ativan ativan buy cheap online] [http://amidnitesunset.blogspot.com valium versus xanax] [http://melsner.blogspot.com ativan benefit] [http://lilett.blogspot.com casino game online play] [http://magneticwoman88.blogspot.com cheap est phentermine] [http://touya012.blogspot.com casino directory gambling online] [http://l1ttleblacky.blogspot.com casino internet] [http://leeticarus.blogspot.com what does valium do] [http://yume-taira.blogspot.com ativan and pregnancy] [http://dlaners.blogspot.com 2005com buy link onlinebuy xanax] [http://4erni-pes.blogspot.com casino download free online] [http://germani4.blogspot.com blogspirit cheap com online phentermine] [http://leopard-lady.blogspot.com buy cheap link onlinecom xanax xanax] [http://lolabear1121.blogspot.com does effects propecia side work] [http://ceasius.blogspot.com capri casino isle] [http://atashi-tada.blogspot.com casino gambling] [http://dissected-voice.blogspot.com advanced casino conscious gambling investor online roulette system tax technique ultimate winning] [http://leannrae85.blogspot.com ativan effects] [http://his13lessings.blogspot.com hair loss propecia] [http://uncledeadly83.blogspot.com best price for propecia] [http://courtinfroggie.blogspot.com ativan combining neurontin tramadol] [http://amyjkb.blogspot.com get propecia] [http://impossiblemale61.blogspot.com cache casino creek] [http://simtershrapnel.blogspot.com order propecia] [http://uraharaben1hime.blogspot.com cheap phentermine table] [http://114418523.blogspot.com casino guide online] [http://huapatossu.blogspot.com casino online review] [http://7982257596.blogspot.com california casino] [http://nostawnevets53.blogspot.com casino free] [http://kleinerachel.blogspot.com valium ativan] [http://cmubroadway.blogspot.com casino poker] [http://evil-gummiworm.blogspot.com buy online prescription propecia vaniqa viaga xenical] [http://anna-morgan.blogspot.com propecia patent] [http://unseenoyster.blogspot.com propecia effectiveness] [http://brokenbond.blogspot.com cheap phentermine online] [http://princesskariboo.blogspot.com propecia rogaine] {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  

Revision as of 01:41, 9 May 2007

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: