Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
m (Protected "PG31 GPS RS232 Dev Board": spam magnet [edit=sysop:move=sysop] (expires 10:30, 14 October 2007 (UTC)))
Line 1: Line 1:
{| align=right
+
[http://dashenkakamensk.ifrance.com/data/honda-crv.html honda crv] [http://littlleru.ifrance.com/blog/batteria-samsung/ batteria samsung a800] [http://yurash.ifrance.com/text/trepiu/ trepiu] [http://svetljakova.ifrance.com/text/igrejas.html igrejas] [http://lazurdragon.ifrance.com/html/web-cam1.htm web cam palestre] [http://yurash.ifrance.com/text/cardenal-ernesto/ cardenal ernesto] [http://thelastprincess.ifrance.com/text/foot-locker/ foot locker] [http://uptekar.ifrance.com/articles/lesbo-teen.html lesbo teen] [http://olgasht.ifrance.com/blog/microsoft-office2/ microsoft office xp] [http://ulyana49.ifrance.com/library/ea-fifa.htm ea fifa 2005] [http://yulechka2004.ifrance.com/new/cyber-shot2.htm cyber shot sony] [http://orangejuls.ifrance.com/view/ebben-ne/ ebben ne andro] [http://uptekar.ifrance.com/articles/poesie-il.html poesie il tuo silenzio] [http://littlleru.ifrance.com/blog/lola-s/ lola s themes] [http://lazurdragon.ifrance.com/html/nevicata-del.htm nevicata del 56] [http://meterwebdesign.ifrance.com/resources/traduzione-di5.htm traduzione di f it di eamon] [http://liieeto.ifrance.com/lib/bromes/ bromes] [http://lol89.ifrance.com/topic/stronzata/ stronzata] [http://uptekar.ifrance.com/articles/ricetta-dello.html ricetta dello strudel] [http://lol89.ifrance.com/topic/plug-in/ plug in for nero] [http://littlleru.ifrance.com/blog/accessori-supporto/ accessori supporto palmare moto] [http://dashenkakamensk.ifrance.com/data/tv-9.html tv 42 philips pixel plus 2] [http://thelastprincess.ifrance.com/text/win-tv/ win tv pvr 150] [http://yulechka2004.ifrance.com/new/liguria-vacanze.htm liguria vacanze hotel] [http://elinaca.ifrance.com/library/onkyo-mp/ onkyo mp3] [http://listtlector.ifrance.com/latino.htm latino 9] [http://pantera0511.ifrance.com/lib/sangiorgio-lava/ sangiorgio lava asciuga] [http://neverminda.ifrance.com/styles/www-samsungmobile.html www samsungmobile it] [http://listtlector.ifrance.com/tette-a.htm tette a tette] [http://ulyana49.ifrance.com/library/kazdy-ponad.htm kazdy ponad kazdym] [http://lelya50.ifrance.com/new/qtec-/ qtec 550 gold] [http://lol89.ifrance.com/topic/duca/ duca] [http://ulyana49.ifrance.com/library/movimento-operaio.htm movimento operaio] [http://olgasht.ifrance.com/blog/manufacture-board/ manufacture board] [http://uptekar.ifrance.com/articles/gianni-de.html gianni de martino] [http://meterwebdesign.ifrance.com/resources/fotoannunci-gay.htm fotoannunci gay] [http://dashenkakamensk.ifrance.com/data/danii-minogue.html danii minogue] [http://liieeto.ifrance.com/lib/olivetti-/ olivetti 7025 drum] [http://yulechka2004.ifrance.com/new/camera-deputati.htm camera deputati] [http://listtlector.ifrance.com/craig-amstrong.htm craig amstrong] [http://olgasht.ifrance.com/blog/peccatrici-di/ peccatrici di provincia] [http://svetljakova.ifrance.com/text/d-r.html d r holzmichel] [http://lelya50.ifrance.com/new/foto-di18/ foto di erika marinelli] [http://orangejuls.ifrance.com/view/cliffhanger/ cliffhanger] [http://elinaca.ifrance.com/library/bruno-asisi/ bruno asisi] [http://lol89.ifrance.com/topic/rivoluzione-russa/ rivoluzione russa] [http://uptekar.ifrance.com/articles/seldan.html seldan] [http://orangejuls.ifrance.com/view/foto-celebrita/ foto celebrita] [http://yulechka2004.ifrance.com/new/painted-desert.htm painted desert] [http://lol89.ifrance.com/topic/melissano/ melissano] [http://yulechka2004.ifrance.com/new/seca-keys.htm seca keys] [http://lazurdragon.ifrance.com/html/grow-ver.htm grow ver3] [http://uptekar.ifrance.com/articles/now-we.html now we are free] [http://dashenkakamensk.ifrance.com/data/x-raggi.html x raggi mode] [http://olgasht.ifrance.com/blog/una-donna2/ una donna una storia] [http://liieeto.ifrance.com/lib/nikon-2/ nikon 8700 italia] [http://meterwebdesign.ifrance.com/resources/nikon-obiettivi.htm nikon obiettivi] [http://yurash.ifrance.com/text/a-move/ a move] [http://lelya50.ifrance.com/new/http-unict/ http unict it] [http://neverminda.ifrance.com/styles/bulles.html bulles] [http://olgasht.ifrance.com/blog/telefonino-nokia/ telefonino nokia 6170] [http://lelya50.ifrance.com/new/nigdy-nie/ nigdy nie by 322 o] [http://dashenkakamensk.ifrance.com/data/watch-christian.html watch christian tv] [http://dashenkakamensk.ifrance.com/data/fotocamera-.html fotocamera 2 0 pixel] [http://ulyana49.ifrance.com/library/pericolo-in.htm pericolo in agguato] [http://meterwebdesign.ifrance.com/resources/www-tarjetas1.htm www tarjetas virtuales com] [http://lazurdragon.ifrance.com/html/flipper-sexy.htm flipper sexy per cellulare] [http://lazurdragon.ifrance.com/html/giochi-pokemon.htm giochi pokemon lugia] [http://liieeto.ifrance.com/lib/trevico/ trevico] [http://yulechka2004.ifrance.com/new/colico.htm colico] [http://thelastprincess.ifrance.com/text/perversi/ perversi] [http://pantera0793.ifrance.com/view/asus-geforce.htm asus geforce ultra 6800] [http://littlleru.ifrance.com/blog/zip-password/ zip password] [http://orangejuls.ifrance.com/view/epson-cinghia/ epson cinghia di trasferimento] [http://lazurdragon.ifrance.com/html/torre-vado.htm torre vado] [http://elinaca.ifrance.com/library/questura-di/ questura di roma] [http://pantera0793.ifrance.com/view/la-pace.htm la pace tema] [http://pantera0511.ifrance.com/lib/calendario/ calendario 2005] [http://littlleru.ifrance.com/blog/normeinrete/ normeinrete] [http://uptekar.ifrance.com/articles/tnn-outdoors.html tnn outdoors pro hunter] [http://svetljakova.ifrance.com/text/testi-cnzoni.html testi cnzoni] [http://dashenkakamensk.ifrance.com/data/th-.html th 37 pa50] [http://orangejuls.ifrance.com/view/reservation/ reservation] [http://liieeto.ifrance.com/lib/riassunti-di/ riassunti di romanzi] [http://orangejuls.ifrance.com/view/decreti/ decreti] [http://elinaca.ifrance.com/library/univerista-di/ univerista di bari] [http://pantera0511.ifrance.com/lib/draon-ball/ draon ball] [http://elinaca.ifrance.com/library/luomo-che2/ luomo che amo] [http://dashenkakamensk.ifrance.com/data/cavalli-puro.html cavalli puro sangue egiziano] [http://elinaca.ifrance.com/library/devics/ devics] [http://yulechka2004.ifrance.com/new/pc-amd1.htm pc amd fx 55] [http://meterwebdesign.ifrance.com/resources/batman-mask.htm batman mask] [http://thelastprincess.ifrance.com/text/fagioli/ fagioli] [http://pantera0793.ifrance.com/view/quir.htm quir] [http://pantera0793.ifrance.com/view/elezioni-cagliari.htm elezioni cagliari] [http://pantera0511.ifrance.com/lib/roma-st/ roma st regis grand hotel] [http://lifefordea.ifrance.com/blog/fujifilm1.html fujifilm 5000] [http://littlleru.ifrance.com/blog/msnhotmail/ msnhotmail] [http://lol89.ifrance.com/topic/becas/ becas] [http://lelya50.ifrance.com/new/elenco-telefonico4/ elenco telefonico di como] [http://dartf.jushige.cn/new/karaoke-roma/ karaoke roma nun fa la stupida] [http://mikevinogradov.indo.tc/web/molotov.htm molotov] [http://tohobangleader.ide.am/description/oops-celebrity.html oops celebrity] [http://mikevinogradov.indo.tc/web/voyur.htm voyur] [http://tohobangleader.ide.am/description/i-cavalieri20.html i cavalieri della regina] [http://ledstervab.profil.bz/view/teatro-della.html teatro della scala] [http://newssrss.profil.ms/description/era-bello/ era bello] [http://dartf.jushige.cn/new/www-grimaldi1/ www grimaldi it] [http://waggie.qiye.in/library/canal-once.htm canal once] [http://waggie.qiye.in/library/sabrina-mantovani.htm sabrina mantovani] [http://newssrss.profil.ms/description/david-bowen/ david bowen] [http://dartf.jushige.cn/new/rippare/ rippare] [http://ledstervab.profil.bz/view/lutech.html lutech] [http://waggie.qiye.in/library/modestia-aparte.htm modestia aparte] [http://tohobangleader.ide.am/description/montevago-maestro.html montevago maestro] [http://newssrss.profil.ms/description/www-goggle1/ www goggle com] [http://angelipravosu.profil.in/text/antonalla-clerici.html antonalla clerici] [http://mikevinogradov.indo.tc/web/siemens-a4.htm siemens a120 cordless] [http://waggie.qiye.in/library/materiale-idraulico.htm materiale idraulico] [http://newssrss.profil.ms/description/sanjesh-org/ sanjesh org] [http://natysia91.max.io/topic/linfodrenaggio/ linfodrenaggio] [http://ledstervab.profil.bz/view/links-add.html links add] [http://angelipravosu.profil.in/text/msm-gratuiti.html msm gratuiti x telefonini] [http://ledstervab.profil.bz/view/i-banditi2.html i banditi del tempo] [http://natysia91.max.io/topic/cartina-goegrafiche/ cartina goegrafiche] [http://mikevinogradov.indo.tc/web/baila-conmigo1.htm baila conmigo reggaeton] [http://dartf.jushige.cn/new/bt-gps1/ bt77 gps] [http://tohobangleader.ide.am/description/rodriguez-adam.html rodriguez adam] [http://waggie.qiye.in/library/peccati.htm peccati] [http://angelipravosu.profil.in/text/macugnaga.html macugnaga] [http://newssrss.profil.ms/description/rodriges/ rodriges] [http://angelipravosu.profil.in/text/le-campane5.html le campane di santa maria] [http://ledstervab.profil.bz/view/latte-profumato.html latte profumato corpo chanel prodotti] [http://tohobangleader.ide.am/description/converter-gp.html converter 3gp] [http://angelipravosu.profil.in/text/cassettiera-settimanale.html cassettiera settimanale] [http://ledstervab.profil.bz/view/il-pranzo3.html il pranzo servito] [http://newssrss.profil.ms/description/diva-futura3/ diva futura channel] [http://ledstervab.profil.bz/view/cpu-amd8.html cpu amd 3500 64 bit] [http://ledstervab.profil.bz/view/a-s4.html a s l citta di milano it] [http://mikevinogradov.indo.tc/web/foto-tette6.htm foto tette gratis] [http://angelipravosu.profil.in/text/code-num.html code num] [http://waggie.qiye.in/library/calista.htm calista] [http://mikevinogradov.indo.tc/web/midi-di8.htm midi di francesco renga] [http://ledstervab.profil.bz/view/re-david.html re david] [http://matto.jushige.com/new/l-allegria/ l allegria di giuseppe ungaretti] [http://mikevinogradov.indo.tc/web/pannolino.htm pannolino] [http://mikevinogradov.indo.tc/web/partition-magic4.htm partition magic] [http://ledstervab.profil.bz/view/hd-58.html hd 40 gb] [http://matto.jushige.com/new/telecomando-windows2/ telecomando windows] [http://angelipravosu.profil.in/text/usb-flash17.html usb flash drive 128] [http://tohobangleader.ide.am/description/bottiglia-nella.html bottiglia nella fica] [http://matto.jushige.com/new/que-chido/ que chido] [http://newssrss.profil.ms/description/dionne-warwick2/ dionne warwick] [http://ledstervab.profil.bz/view/pentax-optio29.html pentax optio s 60] [http://waggie.qiye.in/library/il-parco2.htm il parco a monterosso] [http://dartf.jushige.cn/new/annunci-ragazze5/ annunci ragazze asiatiche zona verona] [http://tohobangleader.ide.am/description/new-way.html new way san marino] [http://newssrss.profil.ms/description/durex-tropical/ durex tropical] [http://dartf.jushige.cn/new/residence-vacanza/ residence vacanza] [http://natysia91.max.io/topic/mmc-nokia4/ mmc nokia 6600] [http://ledstervab.profil.bz/view/samperi.html samperi] [http://waggie.qiye.in/library/asus-an15.htm asus a3500n] [http://mikevinogradov.indo.tc/web/laghi.htm laghi] [http://angelipravosu.profil.in/text/tissue-doppler.html tissue doppler] [http://waggie.qiye.in/library/trastornos-de.htm trastornos de somatizacion] [http://tohobangleader.ide.am/description/stampante-getto4.html stampante getto inchiostro a3] [http://matto.jushige.com/new/smau1/ smau] [http://matto.jushige.com/new/simone-cristicchi/ simone cristicchi] [http://ledstervab.profil.bz/view/roma-kiev1.html roma kiev biglietti aerei] [http://waggie.qiye.in/library/edo-dimm.htm edo dimm memoria ram] [http://ledstervab.profil.bz/view/mary-shelley1.html mary shelley] [http://tohobangleader.ide.am/description/hyundai-atos3.html hyundai atos 10] [http://newssrss.profil.ms/description/grande-fratello61/ grande fratello tedesco foto] [http://mikevinogradov.indo.tc/web/adsl-zyxel3.htm adsl zyxel prestige 652h] [http://newssrss.profil.ms/description/pachabel-canon/ pachabel canon] [http://natysia91.max.io/topic/www-gay2/ www gay it] [http://newssrss.profil.ms/description/international-gems/ international gems  diamonds srl] [http://angelipravosu.profil.in/text/causa-seconda.html causa seconda guerra mondiale] [http://ledstervab.profil.bz/view/film-porno21.html film porno star] [http://natysia91.max.io/topic/coppia-ligure/ coppia ligure] [http://ledstervab.profil.bz/view/itinerario-turistico.html itinerario turistico] [http://waggie.qiye.in/library/los-carros.htm los carros] [http://newssrss.profil.ms/description/mita-mita/ mita mita] [http://newssrss.profil.ms/description/canzone-roswell1/ canzone roswell] [http://dartf.jushige.cn/new/querela-di/ querela di falso] [http://angelipravosu.profil.in/text/willy-colon.html willy colon] [http://mikevinogradov.indo.tc/web/erotic-puzzle3.htm erotic puzzle con uomini] [http://matto.jushige.com/new/mh1/ mh 18] [http://matto.jushige.com/new/jaki-/ jaki  chan] [http://mikevinogradov.indo.tc/web/come-si21.htm come si calcola la temperatura rettale] [http://tohobangleader.ide.am/description/michelle-hunzinger.html michelle hunzinger] [http://matto.jushige.com/new/kal-se/ kal se koi] [http://natysia91.max.io/topic/affitto-furgone/ affitto furgone] [http://matto.jushige.com/new/online-il6/ online il sito web di splinter cell chaos theory] [http://tohobangleader.ide.am/description/terratec-mobile.html terratec mobile] [http://angelipravosu.profil.in/text/bogota.html bogota] [http://ledstervab.profil.bz/view/fotografica-multifunzione.html fotografica multifunzione lexmark] [http://waggie.qiye.in/library/offerta-albergo14.htm offerta albergo cannes] [http://ledstervab.profil.bz/view/lamore-primitivo.html lamore primitivo] [http://dartf.jushige.cn/new/roana/ roana] {| align=right
 
|-
 
|-
 
|  
 
|  
Line 40: Line 40:
 
[[Image:PG31-SerialConnection.jpg|PG31 Serial Connection]]
 
[[Image:PG31-SerialConnection.jpg|PG31 Serial Connection]]
  
This shows the DB9 connector (also known as a D-Sub 9-pin connector), serial cable, and MAX3232 IC and charge pump caps (all SMD, again, can be done with PTH components). Here is the schematic:
+
This shows t
 +
1000
 +
he DB9 connector (also known as a D-Sub 9-pin connector), serial cable, and MAX3232 IC and charge pump caps (all SMD, again, can be done with PTH components). Here is the schematic:
  
 
[[Image:PG31-SerialConnection-Schematic.jpg]]
 
[[Image:PG31-SerialConnection-Schematic.jpg]]
Line 70: Line 72:
 
[[Image:PG31-Layout.jpg|300px]]
 
[[Image:PG31-Layout.jpg|300px]]
  
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 MAX232 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.
+
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 MAX232 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 t
 +
1000
 +
o solder the 2-pin headers into a board that may not need them.
  
 
----
 
----

Revision as of 11:13, 18 October 2007

honda crv batteria samsung a800 trepiu igrejas web cam palestre cardenal ernesto foot locker lesbo teen microsoft office xp ea fifa 2005 cyber shot sony ebben ne andro poesie il tuo silenzio lola s themes nevicata del 56 traduzione di f it di eamon bromes stronzata ricetta dello strudel plug in for nero accessori supporto palmare moto tv 42 philips pixel plus 2 win tv pvr 150 liguria vacanze hotel onkyo mp3 latino 9 sangiorgio lava asciuga www samsungmobile it tette a tette kazdy ponad kazdym qtec 550 gold duca movimento operaio manufacture board gianni de martino fotoannunci gay danii minogue olivetti 7025 drum camera deputati craig amstrong peccatrici di provincia d r holzmichel foto di erika marinelli cliffhanger bruno asisi rivoluzione russa seldan foto celebrita painted desert melissano seca keys grow ver3 now we are free x raggi mode una donna una storia nikon 8700 italia nikon obiettivi a move http unict it bulles telefonino nokia 6170 nigdy nie by 322 o watch christian tv fotocamera 2 0 pixel pericolo in agguato www tarjetas virtuales com flipper sexy per cellulare giochi pokemon lugia trevico colico perversi asus geforce ultra 6800 zip password epson cinghia di trasferimento torre vado questura di roma la pace tema calendario 2005 normeinrete tnn outdoors pro hunter testi cnzoni th 37 pa50 reservation riassunti di romanzi decreti univerista di bari draon ball luomo che amo cavalli puro sangue egiziano devics pc amd fx 55 batman mask fagioli quir elezioni cagliari roma st regis grand hotel fujifilm 5000 msnhotmail becas elenco telefonico di como karaoke roma nun fa la stupida molotov oops celebrity voyur i cavalieri della regina teatro della scala era bello www grimaldi it canal once sabrina mantovani david bowen rippare lutech modestia aparte montevago maestro www goggle com antonalla clerici siemens a120 cordless materiale idraulico sanjesh org linfodrenaggio links add msm gratuiti x telefonini i banditi del tempo cartina goegrafiche baila conmigo reggaeton bt77 gps rodriguez adam peccati macugnaga rodriges le campane di santa maria latte profumato corpo chanel prodotti converter 3gp cassettiera settimanale il pranzo servito diva futura channel cpu amd 3500 64 bit a s l citta di milano it foto tette gratis code num calista midi di francesco renga re david l allegria di giuseppe ungaretti pannolino partition magic hd 40 gb telecomando windows usb flash drive 128 bottiglia nella fica que chido dionne warwick pentax optio s 60 il parco a monterosso annunci ragazze asiatiche zona verona new way san marino durex tropical residence vacanza mmc nokia 6600 samperi asus a3500n laghi tissue doppler trastornos de somatizacion stampante getto inchiostro a3 smau simone cristicchi roma kiev biglietti aerei edo dimm memoria ram mary shelley hyundai atos 10 grande fratello tedesco foto adsl zyxel prestige 652h pachabel canon www gay it international gems diamonds srl causa seconda guerra mondiale film porno star coppia ligure itinerario turistico los carros mita mita canzone roswell querela di falso willy colon erotic puzzle con uomini mh 18 jaki chan come si calcola la temperatura rettale michelle hunzinger kal se koi affitto furgone online il sito web di splinter cell chaos theory terratec mobile bogota fotografica multifunzione lexmark offerta albergo cannes lamore primitivo roana {| align=right |- | PG31 RS232 Dev Board |} Description:
Getting information from your project to your computer can be difficult at first. Once you discover how to setup an RS232 connection, it's really just cut-and-paste for future projects.

In this project we demonstrate how to:

  • Setup an external power supply
  • Setup 3.3V to RS232 circuit
  • Complex PG31 GPS footprint

Power Regulation

First we will start with a simple adjustable voltage regulation circuit:

PG31 Power Supply

Please note this is a relatively compact SMD version of the power supply. This can easily be obtained with through-hole components using a breadboard. Here is the schematic:

PG31-PowerSupply-Schematic.jpg

Now let's discuss what's going on here. The barrel jack (J1) is a basic 5.5mm OD 2.1mm ID type jack. We get an unregulated 9-13V out of the wall wart.

The D3 large diode MBRA140 is for reverse protection. It can handle up to 1A and prevents damage to the board if a center-negative wallwart is attached. This diode will cause a ~0.5V drop from whatever the wall-wart is outputting.

C2 (10uF Tantalum Capacitor in this case) is a basic decoupling cap. 10-100uF is adequate but should be rated for 15-25V.

U1 is the LM317 (or LM1117 in SMD form) adjustable voltage regulator. It will take in some larger voltage and output a set voltage. The output voltage is set with two external resistors. R1 is historically 240 and value for R2 is different for different required output voltages. In our case, we want 3.3V out of the regulator, so R2 is set to 715. The LM317 is good because it is variable, the SOT-223 package is nice becuase it can take a relatively large voltage on the input (25V max I believe?) and has decent heat dissapation.

C1 and C3 are decoupling caps that help clean up the output transcients and noise.

J2 is just a two pin polarized header so that you can either 'steal' 3.3V from the board to power other boards, or have other boards power this board without the need for the external wall wart.


RS232 Interface

So we've got a nice clean output of 3.3V from the regulator, let's look at the RS232 connection:

PG31 Serial Connection

This shows t 1000 he DB9 connector (also known as a D-Sub 9-pin connector), serial cable, and MAX3232 IC and charge pump caps (all SMD, again, can be done with PTH components). Here is the schematic:

PG31-SerialConnection-Schematic.jpg

Now read-up on the MAX232 IC. It could be the most common IC out there, at least for the embdded world. This IC will have many different model names (ICL232 for example) but all do the same thing, and will most likely have identical pin-outs. This IC is used to take low voltage signals from your micro or PIC or ARM or whatever, and converts those low-voltage signals to higher-voltage signals that the computer can understand. The voltage levels on TTL are also inverted for RS232 so the MAX232 takes care of that as well!

The MAX232 takes in TTL signals and sends out RS232 signals. It also takes the RS232 signals from the computer and outputs TTL signals to whatever microcontroller you are using. How does it do this magic? With charge pump capacitors. You'll notice four 0.1uF caps attached to the MAX3232. If you're reading closely, you'll also notice we have a MAX3232 not the MAX232. Difference:

  • MAX232 must be powered with 5V and converts 5V TTL<->RS232
  • MAX3232 can be powered from 3V to 5V and converts it to RS232

So in this application, the GPS unit is running at 3.3V. If we were to send 5V TTL to it, it would be damaged! So we must use the lower voltage MAX3232 part. No big deal, it's functionally identical to the MAX232. From here on out, I will only refer to the MAX232.

When you first view the MAX232 component, it can be a bit confusing. The pins label T1/T2 are the transmit channels (MAX232 has 2 TX channels and 2 RX channels). T1In/T2In will take *in* TTL and send *out* RS232 out T1Out/T2Out. So for our purposes, we need to connect the GPS unit's serial TX pin to the T1In pin of the MAX232. So when the GPS unit outputs some 3.3V TTL signals, these signals will be converted into RS232 and sent to the computer (TX1Out is connected to pin 2 on the DB9 connector).

Finally, when the computer needs to send info to the GPS unit, it will send RS232 signals down the serial cable, on pin 3 of the serial cable/DB9 connector to R1In of the MAX232. This RS232 signal will be converter to TTL and sent out the R1Out pin. This TTL signal is connected to the RX pin on the GPS unit. Voila.

I can't tell you how many times I've crossed TX and RX on different projects. Sit down, think about it, and once you've got it wired correctly, cut and paste into future projects.


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 why engineers hate to change parts...


Final Layout

PG31-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 MAX232 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 t 1000 o 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.


Documents

PG31-RS232 Schematic

PG31-RS232 Protel File

PG31-RS232 Gerber Files

Footprints: SFE Footprint Library

FP Name: PG31

Supplier Info: Spark Fun Electronics part # : Eval-PG31-RS232
Single Piece Price : $29.95

Related Items: