Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
[http://soler.net.cn/data/canon-lbp.htm canon lbp 2410] [http://sneck.info/data/valona/ valona] [http://sneck.info/data/quotazione-yaris/ quotazione yaris] [http://svike.info/view/new/you-raise.htm you raise me up karaoke] [http://budget7i.info/lib/vizietto/ vizietto] [http://primonona.info/content/view/pioneer-vsxaxais/ pioneer vsx-ax5ai-s] [http://veggis.org.cn/resources/articles/il-maresciallo.htm il maresciallo rocca. stagione 3. episodio 1] [http://polex.com.cn/resources/articles/game-ayumi.htm game ayumi hamasaki] [http://joperan.org/data/fotocamera-subacquee/ fotocamera subacquee] [http://wedner.info/content/view/tivirus.htm tivirus] [http://wedner.info/content/view/ginger-rogers.htm ginger rogers] [http://xionny.cn/topic/bring-me/ bring me o life] [http://sneck.info/data/mini-hifi/ mini hi-fi rds] [http://joperan.org/data/carowinds-theme/ carowinds theme park north carolina] [http://budget7i.info/lib/nintendo-gameboy/ nintendo gameboy advance] [http://polex.com.cn/resources/articles/natascha-amal.htm natascha amal] [http://manoke.cn/topic/a-home/ a920 home theater] [http://budget7i.info/lib/test-per/ test per il patentino] [http://manoke.cn/topic/www-mitsubishi/ www mitsubishi it] [http://polex.com.cn/resources/articles/dlink-t.htm d-link 502t] [http://polex.com.cn/resources/articles/yakumo-delta.htm yakumo delta 300 gps] [http://manoke.cn/topic/samsonite-zaino/ samsonite zaino] [http://soler.net.cn/data/microsoft-volante.htm microsoft volante] [http://budget7i.info/lib/mini-moto/ mini moto cross] [http://joperan.org/data/install-institut/ install institut] [http://svike.info/view/new/navigatore-satellitare.htm navigatore satellitare palmare mio] [http://svike.info/view/new/finali-uisp.htm finali uisp piazzetta] [http://polex.com.cn/resources/articles/diabase.htm diabase] [http://svike.info/view/new/agriturismi-zona.htm agriturismi zona ancona] [http://xionny.cn/topic/pescara-kiev/ pescara kiev biglietti aerei] [http://klohy.info/img/styles/brother-all.htm brother all in one] [http://svike.info/view/new/hai-luli.htm hai luli] [http://soler.net.cn/data/la-unica.htm la unica] [http://manoke.cn/topic/ona-je/ ona je poput djeteta 100 na jednoga] [http://joperan.org/data/ivan-delphi/ ivan delphi] [http://polex.com.cn/resources/articles/la-forza.htm la forza invisibile] [http://polex.com.cn/resources/articles/doppio-orario.htm doppio orario] [http://soler.net.cn/data/ogc.htm ogc] [http://svike.info/view/new/michel-vieth.htm michel vieth videos] [http://polex.com.cn/resources/articles/televisori-batterie.htm televisori batterie] [http://joperan.org/data/coniglietto-di/ coniglietto di playboy] [http://svike.info/view/new/merola-francesco.htm merola francesco] [http://wedner.info/content/view/sblocco-nec.htm sblocco nec e616] [http://wedner.info/content/view/moto-buell.htm moto buell] [http://xionny.cn/topic/batteria-canon/ batteria canon bp-535] [http://wedner.info/content/view/magliano-in.htm magliano in toscana] [http://funkall.us/images/small/harmattan/ harmattan] [http://sneck.info/data/francesi/ francesi] [http://manoke.cn/topic/manga-com/ manga com] [http://funkall.us/images/small/residence-ferrara/ residence ferrara] [http://sneck.info/data/sparkle-gf/ sparkle gf6600 256mb pci-express] [http://primonona.info/content/view/cherokee/ cherokee] [http://klohy.info/img/styles/pena-de.htm pena de muerte] [http://sneck.info/data/materassino-gonfiabile/ materassino gonfiabile da campeggio] [http://funkall.us/images/small/giochi-puzzle/ giochi puzzle on line] [http://xionny.cn/topic/la-mujer/ la mujer mas desnuda mas guapa] [http://wedner.info/content/view/iscrizione-sito.htm iscrizione sito motore ricerca] [http://veggis.org.cn/resources/articles/adagio-di.htm adagio di albinoni testo] [http://wedner.info/content/view/leroy-gomez.htm leroy gomez] [http://klohy.info/img/styles/orgoglio-episodio.htm orgoglio. episodio 5] [http://sneck.info/data/gerusalemme-shopping/ gerusalemme shopping] [http://sneck.info/data/bengali/ bengali] [http://primonona.info/content/view/stampante-portatile/ stampante portatile canon] [http://veggis.org.cn/resources/articles/concerti-natale.htm concerti natale 2004] [http://sneck.info/data/chimene-badi/ chimene badi] [http://xionny.cn/topic/fotoxxx/ fotoxxx] [http://klohy.info/img/styles/windows-xp.htm windows xp media center 2005] [http://veggis.org.cn/resources/articles/dvb-t.htm dvb t mhp] [http://xionny.cn/topic/traduttore-simultanei/ traduttore simultanei on line] [http://klohy.info/img/styles/ea-sport.htm ea sport] [http://funkall.us/images/small/vendita-memorie/ vendita memorie ram] [http://joperan.org/data/suzuki-wagon/ suzuki wagon 4x4] [http://funkall.us/images/small/elezioni-organi/ elezioni organi collegiali genitori] [http://primonona.info/content/view/cerchiamo-trans/ cerchiamo trans] [http://funkall.us/images/small/cazzotti/ cazzotti] [http://veggis.org.cn/resources/articles/flaminio-campo.htm flaminio campo roma] [http://soler.net.cn/data/yvonne-printemps.htm yvonne printemps] [http://budget7i.info/lib/de-maria/ de maria  c srl] [http://primonona.info/content/view/slovenija-od/ slovenija od kod lepote tvoje] [http://xionny.cn/topic/italia-abruzzo/ italia abruzzo vacanze] [http://primonona.info/content/view/banbus/ banbus] [http://veggis.org.cn/resources/articles/super-cazzoni.htm super cazzoni] [http://funkall.us/images/small/olimpiadi-programma/ olimpiadi programma 15 08] [http://svike.info/view/new/testo-della.htm testo della canzone di anastasia] [http://polex.com.cn/resources/articles/developer.htm developer] [http://primonona.info/content/view/nikon-d/ nikon d50 kit 18-55] [http://primonona.info/content/view/lexar-gb/ lexar 2gb] [http://wedner.info/content/view/juegos-de.htm juegos de gameboy] [http://polex.com.cn/resources/articles/red-hot.htm red hot chilli pepers] [http://veggis.org.cn/resources/articles/pozzo.htm pozzo] [http://klohy.info/img/styles/le-piu.htm le piu belle derbi] [http://sneck.info/data/collari-e/ collari e guinzagli per cani] [http://joperan.org/data/luigi-loperfido/ luigi loperfido] [http://polex.com.cn/resources/articles/coralie-eichholtz.htm coralie eichholtz] [http://joperan.org/data/amapola-com/ amapola com] [http://klohy.info/img/styles/carmelo-zappulla.htm carmelo zappulla napoli basi] [http://veggis.org.cn/resources/articles/giochi-avventurosi.htm giochi avventurosi] [http://veggis.org.cn/resources/articles/bombolo-mp.htm bombolo mp3] [http://soler.net.cn/data/sputtanamento.htm sputtanamento] [http://sneck.info/data/autoradio-con/ autoradio con ipod] [http://primonona.info/content/view/schede-wireless/ schede wireless] [http://xionny.cn/topic/hentey-xxx/ hentey xxx] [http://polex.com.cn/resources/articles/masterizzatori-dvd.htm masterizzatori dvd esterno lacie] [http://sneck.info/data/biscotti-a/ biscotti a forma umana] [http://svike.info/view/new/basebaal.htm basebaal] [http://klohy.info/img/styles/nothing-like.htm nothing like the sun] [http://primonona.info/content/view/sesso-foto/ sesso foto disabili] [http://joperan.org/data/lu-mercatu/ lu mercatu] [http://joperan.org/data/hit-mania/ hit mania 1995] [http://svike.info/view/new/nichya-tatu.htm nichya tatu] [http://xionny.cn/topic/traduzione-my/ traduzione my band] [http://veggis.org.cn/resources/articles/manuale-powerpoint.htm manuale powerpoint] [http://manoke.cn/topic/auricolare-bluetooth/ auricolare bluetooth per palmari] [http://sneck.info/data/sexpictuer/ sexpictuer] [http://joperan.org/data/camparo/ camparo] [http://joperan.org/data/frasi-d/ frasi d amore in russo] [http://polex.com.cn/resources/articles/soluzioni-giochi.htm soluzioni giochi game boy] [http://xionny.cn/topic/bmw-/ bmw 530 touring] [http://wedner.info/content/view/tv-card.htm tv card magik pci radio telecomando] [http://svike.info/view/new/t-.htm t 4263 c] [http://manoke.cn/topic/la-notte/ la notte delle spie] [http://soler.net.cn/data/telefonino-tre.htm telefonino tre] [http://wedner.info/content/view/cemento-e.htm cemento e additivi] [http://manoke.cn/topic/pettinature-moda/ pettinature moda] [http://funkall.us/images/small/rennie-john/ rennie, john] [http://joperan.org/data/spugne-di/ spugne di mare] [http://joperan.org/data/foto-di/ foto di costantino vitagliano] [http://wedner.info/content/view/four-rooms.htm four rooms] [http://soler.net.cn/data/franck.htm franck] [http://xionny.cn/topic/mapo-us/ mapo us] [http://wedner.info/content/view/soluzioni-resident.htm soluzioni resident evil ps2] [http://polex.com.cn/resources/articles/samsung-digimax.htm samsung digimax i5] [http://veggis.org.cn/resources/articles/prestito-capri.htm prestito capri] [http://xionny.cn/topic/digitali-casio/ digitali casio] [http://xionny.cn/topic/trio-inglesina/ trio inglesina] [http://klohy.info/img/styles/regalo-cellulari.htm regalo cellulari motorola] [http://wedner.info/content/view/wd-oregon.htm wd338 oregon scientific cordless] [http://xionny.cn/topic/o-christmas/ o christmas tree] [http://wedner.info/content/view/cazzo-com.htm cazzo com] [http://veggis.org.cn/resources/articles/mst.htm mst] [http://funkall.us/images/small/pro-evolution/ pro evolution soccer 4 scontato a fine mese] [http://manoke.cn/topic/hd-foto/ hd foto] [http://xionny.cn/topic/wavelenght/ wavelenght] [http://xionny.cn/topic/palmare-piccolo/ palmare piccolo] [http://funkall.us/images/small/hp-color/ hp color laserjet 3500] [http://svike.info/view/new/pino-dasti.htm pino dasti] [http://polex.com.cn/resources/articles/www-gov.htm www gov ro] [http://budget7i.info/lib/finanziamento-lucca/ finanziamento lucca] [http://klohy.info/img/styles/kennedy-space.htm kennedy space center] [http://wedner.info/content/view/parle.htm parle] [http://sneck.info/data/mappa-berlino/ mappa berlino] [http://svike.info/view/new/decapitazione-americano.htm decapitazione americano irak] [http://budget7i.info/lib/noleggio-auto/ noleggio auto bolzano] [http://wedner.info/content/view/www-diddlmania.htm www diddlmania com] [http://veggis.org.cn/resources/articles/garmin-gps.htm garmin gps60 gps] [http://veggis.org.cn/resources/articles/figge.htm figge] [http://soler.net.cn/data/bomboniera-fai.htm bomboniera fai te] [http://sneck.info/data/mousepad-razer/ mousepad razer] [http://wedner.info/content/view/toner-tn.htm toner tn2000] [http://budget7i.info/lib/silent-cristmas/ silent cristmas] [http://primonona.info/content/view/stampanti-laser/ stampanti laser bianco nero samsung] [http://svike.info/view/new/condizionatori-interno.htm condizionatori interno] [http://wedner.info/content/view/banda-xxi.htm banda xxi de argentina] [http://funkall.us/images/small/gruppo-torinese/ gruppo torinese trasporti] [http://primonona.info/content/view/indesit-wixxl/ indesit wixxl 106] [http://budget7i.info/lib/prendimi-di/ prendimi di renato zero] [http://svike.info/view/new/figurina-panino.htm figurina panino] [http://soler.net.cn/data/offerte-capodanno.htm offerte capodanno a amsterdam] [http://soler.net.cn/data/campione-del.htm campione del mondo] [http://klohy.info/img/styles/gatta-nera.htm gatta nera ainett stephens] [http://polex.com.cn/resources/articles/decapitato-nick.htm decapitato nick] [http://budget7i.info/lib/video-chat/ video chat supereva] [http://budget7i.info/lib/fasciatoio-pali/ fasciatoio pali] [http://wedner.info/content/view/cds.htm cds] [http://primonona.info/content/view/kensington-notebook/ kensington notebook lock] [http://veggis.org.cn/resources/articles/donne-esibizioniste.htm donne esibizioniste] [http://klohy.info/img/styles/lancia-y.htm lancia y pisa] [http://polex.com.cn/resources/articles/duele-el.htm duele el amor de alex] [http://primonona.info/content/view/cartomanzia-cartomante/ cartomanzia cartomante consulto] [http://budget7i.info/lib/half/ half] [http://klohy.info/img/styles/microsoft-windows.htm microsoft windows 2003] [http://funkall.us/images/small/syusy-blady/ syusy blady] [http://budget7i.info/lib/www-yamaha/ www yamaha motor it] [http://primonona.info/content/view/donne-che/ donne che fanno pipi] [http://wedner.info/content/view/hotel-tre.htm hotel tre stelle venezia] [http://budget7i.info/lib/socket/ socket 370] [http://polex.com.cn/resources/articles/tirone.htm tirone] [http://primonona.info/content/view/hoya-uv/ hoya uv filter] [http://xionny.cn/topic/schwinger/ schwinger] [http://klohy.info/img/styles/traduzione-shakespeare.htm traduzione shakespeare] [http://wedner.info/content/view/lo-straniero.htm lo straniero di stone city] [http://sneck.info/data/cesare-ragazzi/ cesare ragazzi] [http://primonona.info/content/view/giochi-generali/ giochi generali] [http://soler.net.cn/data/la-collera.htm la collera di dio] [http://polex.com.cn/resources/articles/grande-oblo.htm grande oblo lavatrici e lavasciuga] [http://soler.net.cn/data/quick-grattugie.htm quick grattugie] [http://svike.info/view/new/www-ten.htm www ten28 com] [http://wedner.info/content/view/registratore-ingresso.htm registratore ingresso scart] [http://soler.net.cn/data/like-the.htm like the deserts miss the rain mp3] [http://budget7i.info/lib/bigliettini-per/ bigliettini per la prima comunione] {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  

Revision as of 17:05, 28 August 2007

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 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:

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 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.


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: