Difference between revisions of "PG31 GPS USB Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(revert to 14:12, 28 September 2007)
Line 1: Line 1:
{| align=right
+
[http://uptekar.ifrance.com/articles/loreena-mckinnett.html loreena mckinnett] [http://yurash.ifrance.com/text/felpe-north/ felpe north sails uomo abbigliamento] [http://ulyana49.ifrance.com/library/amd-duron.htm amd duron ventole] [http://neverminda.ifrance.com/styles/scheda-fitness.html scheda fitness] [http://liieeto.ifrance.com/lib/la-vera/ la vera storia di rosemarie] [http://thelastprincess.ifrance.com/text/www-aste/ www aste it] [http://meterwebdesign.ifrance.com/resources/www-romolo.htm www romolo e remo it] [http://meterwebdesign.ifrance.com/resources/Chitarra-acustica1.htm chitarra acustica] [http://lazurdragon.ifrance.com/html/la-fisarmonica.htm la fisarmonica] [http://listtlector.ifrance.com/born-try.htm born try] [http://listtlector.ifrance.com/iron-maiden1.htm iron maiden the trooper] [http://yulechka2004.ifrance.com/new/batterie-sony1.htm batterie sony np fm30] [http://listtlector.ifrance.com/romb-e.htm romb e romb] [http://pantera0511.ifrance.com/lib/rio-marina/ rio marina] [http://neverminda.ifrance.com/styles/foto-belli.html foto belli gay in italia] [http://listtlector.ifrance.com/crt-.htm crt 19 flat] [http://dashenkakamensk.ifrance.com/data/chiropratici.html chiropratici] [http://lol89.ifrance.com/topic/ponzone-alessandria/ ponzone alessandria sagra] [http://dashenkakamensk.ifrance.com/data/nnn.html nnn] [http://ulyana49.ifrance.com/library/eau-de2.htm eau de toilette calvin klein 200 ml] [http://olgasht.ifrance.com/blog/giubbino-dainese/ giubbino dainese] [http://meterwebdesign.ifrance.com/resources/disk-cooler.htm disk cooler] [http://pantera0793.ifrance.com/view/hard-disk58.htm hard disk maxtor esterni] [http://neverminda.ifrance.com/styles/aramadillo.html aramadillo] [http://uptekar.ifrance.com/articles/canon-psa.html canon psa] [http://thelastprincess.ifrance.com/text/incontro-brescia/ incontro brescia] [http://elinaca.ifrance.com/library/giochi-pc1/ giochi pc scaricare] [http://yurash.ifrance.com/text/sandy-chambers/ sandy chambers] [http://pantera0793.ifrance.com/view/tatuaggio-cantante.htm tatuaggio cantante] [http://lifefordea.ifrance.com/blog/tutenstein-vol.html tutenstein vol 01] [http://yulechka2004.ifrance.com/new/spice-girls.htm spice girls 2 become one] [http://ulyana49.ifrance.com/library/back-up.htm back up] [http://lol89.ifrance.com/topic/affitta-camera/ affitta camera] [http://pantera0793.ifrance.com/view/l-amica.htm l amica delle cinque e mezzo film dvd] [http://lelya50.ifrance.com/new/do-doi/ do doi pachi] [http://lelya50.ifrance.com/new/ragazzi-di/ ragazzi di saranno famosi] [http://littlleru.ifrance.com/blog/sports-illustrated/ sports illustrated] [http://yulechka2004.ifrance.com/new/sanremo1.htm sanremo 1996] [http://uptekar.ifrance.com/articles/hongnhung.html hongnhung] [http://dashenkakamensk.ifrance.com/data/faber-e.html faber e castell] [http://pantera0793.ifrance.com/view/ezio-greggio.htm ezio greggio] [http://yulechka2004.ifrance.com/new/blackang.htm blackang] [http://meterwebdesign.ifrance.com/resources/singstar-radio.htm singstar radio 105] [http://neverminda.ifrance.com/styles/schermo-epson.html schermo epson] [http://listtlector.ifrance.com/my-happi.htm my happi ending] [http://neverminda.ifrance.com/styles/klite.html klite] [http://pantera0511.ifrance.com/lib/puerto-escondido/ puerto escondido film] [http://yulechka2004.ifrance.com/new/roma-banche.htm roma banche] [http://uptekar.ifrance.com/articles/voi-che.html voi che sapete] [http://lelya50.ifrance.com/new/befane/ befane] [http://liieeto.ifrance.com/lib/polti-bilancia/ polti bilancia] [http://lifefordea.ifrance.com/blog/wiliams.html wiliams] [http://thelastprincess.ifrance.com/text/canon-powershot2/ canon powershot a 80] [http://orangejuls.ifrance.com/view/fax-segreteria/ fax segreteria cordless] [http://yurash.ifrance.com/text/www-gigid/ www gigid alessio it] [http://uptekar.ifrance.com/articles/centri-assistenza1.html centri assistenza amstrad taranto] [http://lazurdragon.ifrance.com/html/tvcabo.htm tvcabo] [http://yulechka2004.ifrance.com/new/donna-fascismo.htm donna fascismo] [http://pantera0793.ifrance.com/view/radio-anni.htm radio anni 30] [http://lelya50.ifrance.com/new/nexsus/ nexsus] [http://svetljakova.ifrance.com/text/cosmopolitan-italia.html cosmopolitan italia] [http://elinaca.ifrance.com/library/xerox-phaser/ xerox phaser 6100] [http://liieeto.ifrance.com/lib/www-wellfare/ www wellfare gov] [http://lelya50.ifrance.com/new/the-underwolves/ the underwolves] [http://elinaca.ifrance.com/library/significato-dei/ significato dei fiori] [http://yurash.ifrance.com/text/bello-e/ bello e impossibile] [http://uptekar.ifrance.com/articles/dunbar-william.html dunbar william] [http://thelastprincess.ifrance.com/text/veline-finaliste/ veline finaliste] [http://lifefordea.ifrance.com/blog/vitra-com.html vitra com] [http://liieeto.ifrance.com/lib/comfort-inn/ comfort inn mouffetard] [http://neverminda.ifrance.com/styles/dvd-recorder19.html dvd recorder con videoregistratore vhs] [http://elinaca.ifrance.com/library/clarion-hai/ clarion hai fai] [http://lelya50.ifrance.com/new/my-immorta/ my immorta] [http://svetljakova.ifrance.com/text/keedi.html keedi] [http://meterwebdesign.ifrance.com/resources/morenita-upa.htm morenita upa dance] [http://orangejuls.ifrance.com/view/donna-che/ donna che cerca sesso] [http://orangejuls.ifrance.com/view/umberta-comi1/ umberta comi email] [http://pantera0511.ifrance.com/lib/ragazze-brasiliane/ ragazze brasiliane] [http://yurash.ifrance.com/text/suzuki-samurai1/ suzuki samurai usati] [http://elinaca.ifrance.com/library/titjob/ titjob] [http://elinaca.ifrance.com/library/erreway-cd/ erreway cd tiempo] [http://lelya50.ifrance.com/new/risc/ risc] [http://olgasht.ifrance.com/blog/zion-y/ zion y lennox ahora] [http://orangejuls.ifrance.com/view/wildsnake-pinball/ wildsnake pinball soccer] [http://littlleru.ifrance.com/blog/climatologia/ climatologia] [http://yurash.ifrance.com/text/hp-computer1/ hp computer pavilion dv4000] [http://lazurdragon.ifrance.com/html/giohi-per.htm giohi per telefonini gratuiti] [http://littlleru.ifrance.com/blog/desio/ desio] [http://lifefordea.ifrance.com/blog/nge-td.html n6200ge td 128] [http://uptekar.ifrance.com/articles/testi-di2.html testi di dario baldan bembo] [http://meterwebdesign.ifrance.com/resources/guanabacoa.htm guanabacoa] [http://olgasht.ifrance.com/blog/vm/ vm18] [http://littlleru.ifrance.com/blog/quanto-basta/ quanto basta] [http://lifefordea.ifrance.com/blog/cerco-affitto.html cerco affitto a roma] [http://listtlector.ifrance.com/il-circo.htm il circo di tati] [http://svetljakova.ifrance.com/text/amd-sempron2.html amd sempron 2800 box] [http://liieeto.ifrance.com/lib/the-best3/ the best of 71] [http://listtlector.ifrance.com/megane-coach.htm megane coach 16] [http://ulyana49.ifrance.com/library/parabole-satellite.htm parabole satellite] [http://ulyana49.ifrance.com/library/seggiolini-auto4.htm seggiolini auto isofix] [http://waggie.qiye.in/library/racconti-italiani1.htm racconti italiani del novecento] [http://angelipravosu.profil.in/text/cciaa-di.html cciaa di caserta] [http://matto.jushige.com/new/amd-athlon110/ amd athlon 64 3 0] [http://ledstervab.profil.bz/view/l-insaziabile.html l insaziabile] [http://dartf.jushige.cn/new/castello-di5/ castello di dracula] [http://ledstervab.profil.bz/view/itliano-medio.html itliano medio] [http://dartf.jushige.cn/new/elaboracion-yoghurt/ elaboracion yoghurt] [http://mikevinogradov.indo.tc/web/www-porno15.htm www porno fr] [http://tohobangleader.ide.am/description/contratto-weekend.html contratto weekend immobile] [http://waggie.qiye.in/library/www-bordighera.htm www bordighera it] [http://tohobangleader.ide.am/description/immagini-per16.html immagini per obiwan] [http://tohobangleader.ide.am/description/esibizionismo.html esibizionismo] [http://newssrss.profil.ms/description/ciambellone-gonfiabile/ ciambellone gonfiabile] [http://angelipravosu.profil.in/text/feltrini.html feltrini] [http://mikevinogradov.indo.tc/web/sai-che3.htm sai che bevo sai che fumo] [http://natysia91.max.io/topic/richterite/ richterite] [http://mikevinogradov.indo.tc/web/borsa-vaio1.htm borsa vaio] [http://natysia91.max.io/topic/ansage-nr/ ansage nr2] [http://tohobangleader.ide.am/description/belle-fichette.html belle fichette rasate] [http://newssrss.profil.ms/description/gianna-nanini/ gianna nanini] [http://mikevinogradov.indo.tc/web/sonia-topazio.htm sonia topazio] [http://matto.jushige.com/new/scavo-va/ scavo va va] [http://matto.jushige.com/new/rusconi-editore/ rusconi editore] [http://mikevinogradov.indo.tc/web/scheda-madre105.htm scheda madre in offerta] [http://ledstervab.profil.bz/view/corporation-dermoestetica.html corporation dermoestetica] [http://natysia91.max.io/topic/selvajes/ selvajes] [http://newssrss.profil.ms/description/trujillo-stato/ trujillo (stato del venezuela)] [http://matto.jushige.com/new/pigiama-bambino/ pigiama bambino] [http://matto.jushige.com/new/la-legione5/ la legione invincibile] [http://angelipravosu.profil.in/text/the-remedy.html the remedy] [http://newssrss.profil.ms/description/televisori-da4/ televisori da 17 pollici] [http://mikevinogradov.indo.tc/web/muse-photos.htm muse photos] [http://matto.jushige.com/new/dorime/ dorime] [http://dartf.jushige.cn/new/cuore-cose/ cuore cose fai] [http://newssrss.profil.ms/description/vendo-warhammer/ vendo warhammer] [http://waggie.qiye.in/library/haidy.htm haidy] [http://mikevinogradov.indo.tc/web/lettore-dvd185.htm lettore dvd con masterizzatore] [http://waggie.qiye.in/library/traduzioni-morrowind.htm traduzioni morrowind] [http://ledstervab.profil.bz/view/ipod-xtreme.html ipod xtreme] [http://natysia91.max.io/topic/copertine-vhs1/ copertine vhs] [http://mikevinogradov.indo.tc/web/tennessee-hotel.htm tennessee hotel] [http://dartf.jushige.cn/new/gente-di3/ gente di mare amina] [http://ledstervab.profil.bz/view/finanziamenti-mazda.html finanziamenti mazda] [http://natysia91.max.io/topic/traduzione-kelis/ traduzione kelis] [http://tohobangleader.ide.am/description/disiz-la.html disiz la peste] [http://ledstervab.profil.bz/view/copertina-cd73.html copertina cd zucchero] [http://dartf.jushige.cn/new/frasi-romantiche/ frasi romantiche] [http://waggie.qiye.in/library/lettore-mp291.htm lettore mp3 da tavolo] [http://natysia91.max.io/topic/the-rza/ the rza] [http://tohobangleader.ide.am/description/qormi.html qormi] [http://natysia91.max.io/topic/nikon-coolpix57/ nikon coolpix 4600 con caricabatterie] [http://mikevinogradov.indo.tc/web/kc-and1.htm kc and sunshine band] [http://matto.jushige.com/new/qa-stampanti/ q2612a stampanti] [http://waggie.qiye.in/library/orario-ferroviario2.htm orario ferroviario torino venezia] [http://ledstervab.profil.bz/view/congelatore-da.html congelatore da incasso rex] [http://angelipravosu.profil.in/text/giochi-anali.html giochi anali] [http://natysia91.max.io/topic/umba-com/ umba com] [http://waggie.qiye.in/library/ballu.htm ballu] [http://dartf.jushige.cn/new/mature-hairy/ mature hairy] [http://tohobangleader.ide.am/description/inno-zambia.html inno zambia] [http://ledstervab.profil.bz/view/ferrari9.html ferrari 3400] [http://natysia91.max.io/topic/hotel-stoccolma/ hotel stoccolma] [http://mikevinogradov.indo.tc/web/jeep-grand32.htm jeep grand cherokee 2005] [http://tohobangleader.ide.am/description/valigeria.html valigeria] [http://mikevinogradov.indo.tc/web/nikon-batterie1.htm nikon batterie coolpix] [http://waggie.qiye.in/library/quinta-estacion2.htm quinta estacion la algo mas] [http://dartf.jushige.cn/new/mondo-puzzle/ mondo puzzle] [http://ledstervab.profil.bz/view/antenna-multibanda.html antenna multibanda] [http://mikevinogradov.indo.tc/web/kim-sol.htm kim sol] [http://angelipravosu.profil.in/text/faujasite.html faujasite] [http://matto.jushige.com/new/variscite/ variscite] [http://natysia91.max.io/topic/t-sonic1/ t sonic] [http://angelipravosu.profil.in/text/traduzione-now.html traduzione now we are free] [http://tohobangleader.ide.am/description/ministero-degli1.html ministero degli esteri] [http://newssrss.profil.ms/description/paesi-bassi/ paesi bassi hotel] [http://tohobangleader.ide.am/description/hagenia.html hagenia] [http://mikevinogradov.indo.tc/web/yamaha-yam.htm yamaha yam] [http://mikevinogradov.indo.tc/web/il-video18.htm il video di severina] [http://dartf.jushige.cn/new/olivetti-dcopia3/ olivetti dcopia 20] [http://waggie.qiye.in/library/hard-disk527.htm hard disk lacie 400 gb] [http://angelipravosu.profil.in/text/olivetti-logos5.html olivetti logos 692] [http://ledstervab.profil.bz/view/sony-90.html sony 42 kep42m1] [http://matto.jushige.com/new/kit-vivavoce23/ kit vivavoce motorola v600] [http://waggie.qiye.in/library/www-welickeachother.htm www welickeachother com] [http://dartf.jushige.cn/new/clase-aparte/ clase aparte] [http://ledstervab.profil.bz/view/ai-se.html ai se ele cai] [http://natysia91.max.io/topic/kiwi-zoologia/ kiwi (zoologia)] [http://angelipravosu.profil.in/text/olympus-mini5.html olympus mini miu] [http://natysia91.max.io/topic/bottioni/ bottioni] [http://tohobangleader.ide.am/description/cutis.html cutis] [http://tohobangleader.ide.am/description/intex-piscine.html intex piscine] [http://angelipravosu.profil.in/text/celia-rees.html celia rees] [http://dartf.jushige.cn/new/polonia-ministero/ polonia ministero della sanita] [http://newssrss.profil.ms/description/everybody-changing2/ everybody changing keane] [http://waggie.qiye.in/library/boney-m1.htm boney m ma baker] [http://mikevinogradov.indo.tc/web/calze-donna.htm calze donna] [http://waggie.qiye.in/library/principi-divini.htm principi divini] [http://newssrss.profil.ms/description/offerta-viaggi5/ offerta viaggi capodanno montagna] [http://newssrss.profil.ms/description/kim-sung1/ kim sung] [http://matto.jushige.com/new/erotic-uomo/ erotic uomo] {| 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 35: Line 35:
 
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!
 
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 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!
 
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!
Line 63: Line 65:
  
 
===Things to Improve===
 
===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.
+
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.
 
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.

Revision as of 11:39, 18 October 2007

loreena mckinnett felpe north sails uomo abbigliamento amd duron ventole scheda fitness la vera storia di rosemarie www aste it www romolo e remo it chitarra acustica la fisarmonica born try iron maiden the trooper batterie sony np fm30 romb e romb rio marina foto belli gay in italia crt 19 flat chiropratici ponzone alessandria sagra nnn eau de toilette calvin klein 200 ml giubbino dainese disk cooler hard disk maxtor esterni aramadillo canon psa incontro brescia giochi pc scaricare sandy chambers tatuaggio cantante tutenstein vol 01 spice girls 2 become one back up affitta camera l amica delle cinque e mezzo film dvd do doi pachi ragazzi di saranno famosi sports illustrated sanremo 1996 hongnhung faber e castell ezio greggio blackang singstar radio 105 schermo epson my happi ending klite puerto escondido film roma banche voi che sapete befane polti bilancia wiliams canon powershot a 80 fax segreteria cordless www gigid alessio it centri assistenza amstrad taranto tvcabo donna fascismo radio anni 30 nexsus cosmopolitan italia xerox phaser 6100 www wellfare gov the underwolves significato dei fiori bello e impossibile dunbar william veline finaliste vitra com comfort inn mouffetard dvd recorder con videoregistratore vhs clarion hai fai my immorta keedi morenita upa dance donna che cerca sesso umberta comi email ragazze brasiliane suzuki samurai usati titjob erreway cd tiempo risc zion y lennox ahora wildsnake pinball soccer climatologia hp computer pavilion dv4000 giohi per telefonini gratuiti desio n6200ge td 128 testi di dario baldan bembo guanabacoa vm18 quanto basta cerco affitto a roma il circo di tati amd sempron 2800 box the best of 71 megane coach 16 parabole satellite seggiolini auto isofix racconti italiani del novecento cciaa di caserta amd athlon 64 3 0 l insaziabile castello di dracula itliano medio elaboracion yoghurt www porno fr contratto weekend immobile www bordighera it immagini per obiwan esibizionismo ciambellone gonfiabile feltrini sai che bevo sai che fumo richterite borsa vaio ansage nr2 belle fichette rasate gianna nanini sonia topazio scavo va va rusconi editore scheda madre in offerta corporation dermoestetica selvajes trujillo (stato del venezuela) pigiama bambino la legione invincibile the remedy televisori da 17 pollici muse photos dorime cuore cose fai vendo warhammer haidy lettore dvd con masterizzatore traduzioni morrowind ipod xtreme copertine vhs tennessee hotel gente di mare amina finanziamenti mazda traduzione kelis disiz la peste copertina cd zucchero frasi romantiche lettore mp3 da tavolo the rza qormi nikon coolpix 4600 con caricabatterie kc and sunshine band q2612a stampanti orario ferroviario torino venezia congelatore da incasso rex giochi anali umba com ballu mature hairy inno zambia ferrari 3400 hotel stoccolma jeep grand cherokee 2005 valigeria nikon batterie coolpix quinta estacion la algo mas mondo puzzle antenna multibanda kim sol faujasite variscite t sonic traduzione now we are free ministero degli esteri paesi bassi hotel hagenia yamaha yam il video di severina olivetti dcopia 20 hard disk lacie 400 gb olivetti logos 692 sony 42 kep42m1 kit vivavoce motorola v600 www welickeachother com clase aparte ai se ele cai kiwi (zoologia) olympus mini miu bottioni cutis intex piscine celia rees polonia ministero della sanita everybody changing keane boney m ma baker calze donna principi divini offerta viaggi capodanno montagna kim sung erotic uomo {| 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 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 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 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 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: