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)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[http://greta-pier.ibelgique.com/wiki/jetta.html 2007 volkswagen jetta] [http://marlineoreilly.ifrance.com/small/girl-shower-soap.html girl shower soap moan gym] [http://admission-statement.holily.in/ admission statement of purpose] [http://traceejeffreys.ifrance.com/topic/asian-legs-gallery.html asian legs gallery] [http://solwind.50webs.com/gourmet-recipes.html food gourmet recipe] [http://ebiy-one.ibelgique.com/raised-skirt.html raised skirt] [http://1x-0007.ibelgique.com/resources/merry-christmas.html merry christmas gift] [http://dakot-ces.isuisse.com/denver-home.html denver home for sale] [http://carmagaleano.ifrance.com/topic/st-johns-military.html st johns military academy kansas] [http://lucienneespinoz.ifrance.com/comments/new-orleans-motel.html new orleans motel 6] [http://danakrogman.ifrance.com/wiki/the-price-is-right.html the price is right swimsuit central] [http://marlineoreilly.ifrance.com/small/14.html 14] [http://lease-to-own-homes.lufberry.in/ lease to own homes in kent ohio] [http://returnandremain.ibelgique.com/xp-pro-administrator.html xp pro administrator password] [http://reganfeld.we.bs/professional-portable.html professional portable batting cages] [http://lucky-absolute.isuisse.com/humor-jokes.html funny humor joke really really really] [http://sailor-mars.lufberry.in/ sailor mars transform] [http://lucienneespinoz.ifrance.com/comments/integrated-smart.html integrated smart array] [http://convertible-top.mainland.in/ convertible top] [http://surface-piercings.diglot.in/ surface piercings rejection] [http://returnandremain.ibelgique.com/track-clubs-in-philadelphia.html track clubs in philadelphia] [http://erlinetor.we.bs/text/53-emule.html 5.3 emule] [http://yasa-shisa.isuisse.com/free-mp3-music.html download free legal mp3 music] [http://twanagoggin.ifrance.com/web/mars-lander-pics.html mars lander pics] [http://marlineoreilly.ifrance.com/small/alexey-brodovitch.html alexey brodovitch biography] [http://cocktaillounge.50webs.com/data/tv-automation.html tv automation software] [http://microsoft-frameworks.leonis.in/ microsoft frameworks download] [http://traceejeffreys.ifrance.com/topic/reebok-rower.html reebok rower] [http://i-dont-know-how.leonis.in/ i dont know how to love him midi] [http://karinepiatt.iespana.es/styles/1950s-clothing.html 1950s book catalog clothing collector early fashionable from schiffer sears] [http://summerpica.ifrance.com/usd-to-cad-rate.html usd to cad rate] [http://compound-machines.lufberry.in/ compound machines] [http://garething.isuisse.com/new/cloth-napkins.html cloth napkin wholesale] [http://erickacicero.ifrance.com/terri-lynn-doss.html terri lynn doss] [http://the-orange-tree.mainland.in/ the orange tree richmond] [http://twanagoggin.ifrance.com/web/cartoon-drawing.html cartoon drawing] [http://garething.isuisse.com/new/pictures-of-my.html hot leg picture sexy wife] [http://imp-r0.isuisse.com/topic/free-disney-sheet.html disney free music sheet] [http://lakai-shoes.lufberry.in/ lakai shoes] [http://lockport-ill.lufberry.in/ lockport ill] [http://twanagoggin.ifrance.com/web/lyrics-for-dont.html lyrics for dont go away] [http://theli.isuisse.com/blog/studebaker-pickup.html studebaker pickup parts] [http://morningmoon.we.bs/web/manga-chicks.html manga chicks] [http://marlineoreilly.ifrance.com/small/australia-boats.html australia boats for sale] [http://cheerfulstoic.50webs.com/comments/gmax.html gmax] [http://imp-r0.isuisse.com/topic/partylite-consultant.html partylite consultant page] [http://marlineoreilly.ifrance.com/small/send-gift-cards.html send gift cards to india] [http://dillon-sky.ibelgique.com/robert-glaser-real.html robert glaser real] [http://old-lesbian-porn.explisit.in/ old lesbian porn] [http://carmagaleano.ifrance.com/topic/kingsburgh-ca.html kingsburgh ca] [http://brynnparkey.ifrance.com/flowchart.html chart flow software] [http://manawebster.iespana.es/view/poop.html poop] [http://wilderness-search.waunakee.in/ wilderness search dog] [http://my-anti-drug-is.panterra.in/ my anti drug is alcohol] [http://erickacicero.ifrance.com/map-michigan-novi.html map michigan novi] [http://temperature-measurement.panterra.in/ temperature measurement] [http://cocktaillounge.50webs.com/data/atlanta-bread.html atlanta bread company coupon] [http://famous-nude.leonis.in/ famous nude women] [http://cocktaillounge.50webs.com/data/web-access-to.html web access to mdb] [http://theli.isuisse.com/blog/female-tattoos.html female tattoos] [http://brynnparkey.ifrance.com/fitness-spokesperson.html fitness spokesperson] [http://erlinetor.we.bs/text/candles-and.html wall candle holder] [http://twanagoggin.ifrance.com/web/us-marine-corps.html us marine corps uniform] [http://reganfeld.we.bs/northwest-airline.html northwest airline baggage restriction] [http://lucienneespinoz.ifrance.com/comments/rc18t-rtr.html rc18t rtr] [http://marlineoreilly.ifrance.com/small/rosemary-lane.html rosemary lane] [http://marlynbarrios.iespana.es/resources/power-rise.html carlitos power rise soundtrack way] [http://nikki-cox-in.kamahi.in/ nikki cox in lingerie] [http://lestat-on-broadway.lufberry.in/ lestat on broadway clips] [http://tangelaflora.we.bs/mockup.html mockup] [http://brynnparkey.ifrance.com/nick-lachey-porn.html nick lachey porn] [http://latonyawelling.ifrance.com/lib/visual-impact.html visual impact bristol] [http://live-beeez.ibelgique.com/loveseat-sleeper.html in lifestyle loveseat microfiber sleeper] [http://traceejeffreys.ifrance.com/topic/summit-high-school.html summit high school mansfield tx] [http://reganfeld.we.bs/where-you-from-playa.html where you from playa east side playa] [http://katricebliss.iespana.es/article/pleasant-valley.html pleasant valley fire hall] [http://greta-pier.ibelgique.com/wiki/las-vegas-free.html las vegas free coupons] [http://kimigassett.iespana.es/view/princess-jasmine.html princess jasmine nude] [http://garething.isuisse.com/new/id-badge-holder.html id badge holder] [http://buy-diazepam.lufberry.in/ buy diazepam online] [http://erlinetor.we.bs/text/whats-happening.html dear god happening us whats] [http://marlynbarrios.iespana.es/resources/rolling-ladders.html aluminum ladders rolling] [http://marlynbarrios.iespana.es/resources/free-clothing.html free clothing catalogs] [http://ya-uza.isuisse.com/styles/park-rapids-vacation.html park rapids vacation] [http://danakrogman.ifrance.com/wiki/jamaica-live-stream.html jamaica live stream video] [http://airbrush-scooter.holily.in/ airbrush scooter] [http://traceejeffreys.ifrance.com/topic/linking-park.html linking park] [http://esab-tig.mainland.in/ esab tig] [http://morningmoon.we.bs/web/internet-web.html hosting internet services site web] [http://spanishenglish.panterra.in/ spanishenglish medical dictionary] [http://collin-farrell.lufberry.in/ collin farrell] [http://dtolstoles.isuisse.com/leann-rimes-site.html leann rimes site myspace.com] [http://riquelme-clips.leonis.in/ riquelme clips] [http://erlinetor.we.bs/text/logans-trading-raleigh.html logans trading raleigh nc] [http://kerneldatainpageerror.holily.in/ kernel_data_inpage_error] [http://danakrogman.ifrance.com/wiki/robot-rock.html em robot rock] [http://ya-uza.isuisse.com/styles/skin-bleaching.html black skin bleaching] [http://japanese-lifestyles.diglot.in/ japanese lifestyles] [http://dillon-sky.ibelgique.com/yokohama-super.html yokohama super digger] [http://full-metal-panic.holily.in/ full metal panic fumoffu] [http://tampa-bay-area.lufberry.in/ tampa bay area newspapers] [http://earings.holily.in/ earings] [http://danakrogman.ifrance.com/wiki/depressants.html depressants] [http://ya-uza.isuisse.com/styles/dunk-tank.html dunk tank] [http://bare-cleavage.holily.in/ bare cleavage] [http://paddock.kamahi.in/ paddock] [http://reinaferreri.iespana.es/html/vmi.html vmi] [http://38.pappas.in/ 38] [http://world-war-ii.waunakee.in/ world war ii] [http://tangelaflora.we.bs/creampie-internal.html black internal cream pie] [http://prin-sabun.ibelgique.com/45-colt-long.html 45 colt long] [http://marlineoreilly.ifrance.com/small/mountain-trader.html mountain trader kalispell mt] [http://latonyawelling.ifrance.com/lib/sherdogcom.html sherdog.com] [http://j-oclama.isuisse.com/st-jude-medals.html st jude medal] [http://marlineoreilly.ifrance.com/small/juggalo.html juggalo news] [http://zench.isuisse.com/martin-luther.html martin luther king jr] [http://mcminnville-restaurant.lufberry.in/ mcminnville restaurant] [http://theli.isuisse.com/blog/jackson-hole.html jackson hole wyoming hospital] [http://carmagaleano.ifrance.com/topic/autobagger-machines.html autobagger machines] [http://rss-reader.leonis.in/ rss reader] [http://inuyashachibi.50webs.com/advantage-e-commerce.html advantage e-commerce] [http://resurfacing-concrete.leonis.in/ resurfacing concrete] [http://inuyashachibi.50webs.com/ford-dealerships.html ford dealerships in florida] [http://twanagoggin.ifrance.com/web/wholesale-flowers.html wholesale flowers] [http://conchitawoolver.iespana.es/girls-sexy-butt.html girls sexy butt] [http://reganfeld.we.bs/warning-danger.html warning danger] [http://j-oclama.isuisse.com/pilot-license.html license pilot] [http://erickacicero.ifrance.com/pre-tax-profits.html pre tax profits] [http://solwind.50webs.com/49-mercury-for-sale.html 49 mercury for sale] [http://matts-tar.ibelgique.com/lib/single-highland.html single highland malt] [http://ya-uza.isuisse.com/styles/28-wood-duck-court.html 28 wood duck court hilton head south carolina] [http://morningmoon.we.bs/web/little-daisy.html little daisy] [http://rabbit-pearl-massager.diglot.in/ rabbit pearl massager] [http://languages-dictionary.lufberry.in/ languages dictionary] [http://conchitawoolver.iespana.es/most-hated-man.html most hated man on earth] [http://southridge-school.lufberry.in/ southridge school] [http://conchitawoolver.iespana.es/free-windows-xp.html free window xp theme] [http://paper-walls.kamahi.in/ paper walls lyrics] [http://minka-galleries.mainland.in/ minka galleries] [http://danakrogman.ifrance.com/wiki/upskirt-world.html upskirt world] [http://twanagoggin.ifrance.com/web/dell-latitude.html cpx dell latitude part] [http://ancient-rome.lufberry.in/ ancient rome julius caesar] [http://karinepiatt.iespana.es/styles/jelli-cutting-board.html jelli cutting board] [http://solwind.50webs.com/tj-biljet.html tj biljet] [http://ya-uza.isuisse.com/styles/toon-games.html game porn toon] [http://esc.holily.in/ esc] [http://twanagoggin.ifrance.com/web/superman.html return superman] [http://lucky-absolute.isuisse.com/ebay-books.html ebay book] [http://traceejeffreys.ifrance.com/topic/farmers-insurance.html farmers insurance] [http://real-estate-weekly.explisit.in/ real estate weekly kelowna] {| 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: