PG31 GPS USB Dev Board

From OpenCircuits
Revision as of 18:27, 27 September 2007 by 212.72.30.140 (Talk)

Jump to: navigation, search

tomtom go external antenna navigatore satellitare palmari www giococalcio tv dating service ristrutturazioni quanti anni si puo sca pierelli index ati9700 128mb athlon64 eamon fuk it denon ampli fifa 2005 playstation home ole turkey exz750 exilim materiali idraulico carolina cruiz hd 80 gb 2 5 usb 2 delusione ray ban 4037 www annuncitrans com celebrita hard hp omnibook portatili testacalda renault laguna grand tour dynamique ice www monroe dvd r philips tir spagna srl total balalaika show viaggi in egitto arredamento in ferro battuto that s what fried my inmortal evanescence pelosa rex rti 1200 radeon x850pro il postino suona di nuovo alla porta distributori herbalife food storage containers decoder unico rex lavatrici da incasso schemi circuiti le cose di ieri gambeaperte rullo fusore phaser 750 porsche 911 33 turbo amstrad d 340 canon rebel xt stasera luna teatro augusteo fit box nestl la mosca patadas en el corazon diamanti a colazione hotel bergamo e provincia megane 1 9 qtek supporto per auto franzese moto imdb frigoriferi whirlpool s zirkel ferdinand la villa degli angeli www hotel antonella it tv samsung tft epson epl n7000 impax run (2) nike primo davide devenuto www bambi com garda albergo darkness falls homepage url centro assistenza acer il tesoro del fiume sacro sexi hostes itinerario londra amicis impotenza maschile come curarla storie intime viaggi di pochi giorni italia mare lovelace richard site arsp catalogo orologio url link dermatologi perdita capelli www uslecce it philips 29 4 3 montenero cyberspazio licenza per trasporti terzi link haier cantina de marzo analisi del tessuto urbano di matera tv lcd 15 keymat graco travel system www freddy it shostakovic lui portava i tacchi a spillo richard galliano suor omicidi c0n edie santiago logitech cordless desktop mx 3000 km0 hyundai matrix auto km 0 kool e gang live from house of blues la resistenza asus a636 foppapedretti carrello burundi graduatorie palermo telecamere sorveglianza monitor lcd pivot kia carnival 2003 sur le pont avignon la nave dei dannati fotocopiatrici sharp denuncia infortunio modelli gay usi timon pumba latinista mp3 avril lavigne www michaeljackson com mx bettino craxi www chicco com machete golf 1 9 diesel time came baby jamiro quai hp ultrium c7972a bisex tutto gp32 blu che brutto affare sistemas de produccion pecuaria bang olufsen hi fi java download contatto di comodato www porsche it titolo della colonna sonora del film il gl vogliamoci bene itt marcopolo costruzioni metalliche pesanti diritto recesso www kilimangiaro it msnhotmail com la guerra in iraq bretney nuda vita per vita colesterolo aspirapolveri ad acqua e vapore ecdl lombardia san pietroburgo ristorante torbidita del vino flowe power three tenors in concert pavarotti roma buenos aires biglietti aerei i raptus segreti di helen logo nike processori tualatin sca il forte dei disperati capannoni industriali affitto canon d mark wrt54gs linksys dsc s40 www istruzione firenze it modem sitecom no a room service maxdata eco 4000 programma contabilita gioci di pacman 1 divano poltrona prontuario iva rizzardi hotel 5 stelle verona voci fuori campo su pro evolution soccer 4 isacco ne smart adsl di alice sony 800 bjork cocoon d70s 1870mm non abbasare gli occhi laser fax brother tornei amatoriali calcio exilim z57 villadeati asus p5gd1 s775 cover encarta logitech 5 1 mix twist seeso movie verdi g c srl racconti di tradimenti sito per sms eta pensionabile office pccillin donna guess a8ne nf4 ultra socket 939 ricetta sicilia xiamen mascherata al messico la locura de yahir ffff accreditante e non finisce mica il cielo lost s02e15 adverbale programma elettorale fscaller aree sosta camper torino occhiali persol gioco nuovo fatti bella e taci avensis toyota gifhorn sovrappeso diritto privato gazzoni test sul futuro balcani dancer texas polo sport ralph lauren batterie videocamera canon pover diablo napule e modem banda base hemicidaris www sex action live televisori 17 iriver 128 cf mp3 briscola nestle latte per neonati planetvideo [http://dancfiri-dance.ifrance.com/clk-3/ clk 270 avantg 1000 arde] clelia rondinella hotel fa fano gloria gloria alleluia the prince of persia traduttori per pc inglese italiano side wall ses eveanescence the beautiful south munch our hits tv radio lcd fuga dall incubo stivali equitazione disponibile la demo di warcraft iii blade maze www rdi com filaforum assago anthony quayle domecq san agostino www all miusic pigro pino daniele grande fratello in spagna shrink wrap idrocefalia p4 478 cpu tonsille le varie patologie macromedia fireworks mx 2004 free paid surveys lc 32ga5e ad corpus coppia ingoio max trio cordless gastonia prima casa burundis fighe delle persone famose hotel delle terme ischia infedelta coniugali calcio di rigore canon ladc52d francescana kit woofer arizona shopping country music scarlett davy havok scheda video sapphire ati radeon 9250 autunno inverno diesel maglieria donna intellimouse optical 1 1 software invio sms roberto mariani staf srl kingston cf codici sblocco motorola 835 lultimo gangster merrell blu tamenghest mellin latte in polvere dj tommy vee stay honda civic crx [http://nikanaw-ru.if 1000 rance.com/blog/commander-keen1.htm commander keen 2000] gazi fotografie nudo non andare col tamburo incd cd rw katia grande fratello 5 giugno 84 tiziano ferro ferrari 360 spider kettler vito sexi hostess offerta auto km 0 katja kassin immagini rally asus n6600td forno ho 97 p forni champagne in paradiso hinh anh hong nhung lavazza green day e forte un casino chicas locas e venne il giorno dei limoni neri scopate pompini lnb mti samsung laser 2010 katzenball tappeto roulant umts nokia bluetooth immagini baci sul collo sony vgn s4hp maglia adidas donna soluzioni prima prova esami di stato 200 no we are free seggiolini baby bicicletta sussidio inps per maternita evanescence eternal italia sardegna vacanze al mare in transcend mmc www pattayalivecam com mbc primolevi lettori memory card xd parafrasi divina commedia inferno v monitor lcd hard disk concerti dalla a alla z gli innamorati goldoni libri agriturismo mugello vecina pc maxdata favorit 1000 as nokia dual voltage rsmmc il nostro anniversario piano operativo di sicurezza gigi s fue {| 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 1000

we demonstrate how to:
  • Setup a USB to Serial link
  • Use the CP2102 for 3.3V
  • Use a SMD 12mm battery holder

Contents

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 t 1000 he 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 t 1000 he 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 produ 1000 ce 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:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox