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=autoconfirmed:move=autoconfirmed] (expires 05:27, 2 March 2008 (UTC)))
 
(44 intermediate revisions by 30 users not shown)
Line 1: Line 1:
[http://jaily.info/index3_1000.html index] [http://server-hpcompaq.cha-ba.info/ server hpcompaq intel xeon] [http://cha-t.nodify.info/ cha t] [http://ona-fiume.qualo.info/ ona (fiume)] [http://reality-in.jaily.info/ reality in inghilterra] [http://faroeste-caboclo.cha-ba.info/ faroeste caboclo] [http://mydyingbride.qualo.info/ mydyingbride] [http://devid-bekcham.nodify.info/ devid bekcham] [http://mike-the.jaily.info/ mike the mechanics over my shoulder] [http://badesi-citta.jaily.info/ badesi citta] [http://dinamite-bionda.cha-ba.info/ dinamite bionda] [http://qualo.info/ map] [http://winne-the.nodify.info/ winne the pooh] [http://testi-canzoni.qualo.info/ testi canzoni dennis] [http://frigorifero-samsung.pendal.info/ frigorifero samsung rt62kcmt] [http://sismi-it.cha-ba.info/ sismi it] [http://cristoforo-colombo.qualo.info/ cristoforo colombo mp3] [http://hotel-prinsen.qualo.info/ hotel prinsen] [http://busta-paga.pendal.info/ busta paga calcolo] [http://decapitado.nodify.info/ decapitado] [http://qualo.info/index2_500.html site] [http://trappola-sulle.pendal.info/ trappola sulle montagne rocciose] [http://nikon-dx.jaily.info/ nikon dx 1870mm] [http://zoom-ottico.jaily.info/ zoom ottico 7 x] [http://anime-ita.jaily.info/ anime ita] [http://notti-d.pendal.info/ notti d oriente] [http://clasificacion-de.cha-ba.info/ clasificacion de los alimentos] [http://hp-.nodify.info/ hp  photosmart 2710] [http://vaio-pocket.qualo.info/ vaio pocket vgf ap1l] [http://hp-pavilion.jaily.info/ hp pavilion hpcompaq computer] [http://immagini-dei.cha-ba.info/ immagini dei the rasmus] [http://amstrad-t.pendal.info/ amstrad t3214] [http://v-antenna.nodify.info/ v51 antenna] [http://rsmmc-kingmax.pendal.info/ rsmmc kingmax] [http://milf.nodify.info/ milf] [http://l-isola.jaily.info/ l isola di white] [http://tastiera-logitech.nodify.info/ tastiera logitech navigator] [http://puglia-camping.jaily.info/ puglia camping s nicola] [http://pendal.info/index2_250.html home] [http://con-te.qualo.info/ con te part] [http://kara-mare.pendal.info/ kara mare di] [http://stampante-per.nodify.info/ stampante per portatile] [http://visualizzare-mms.nodify.info/ visualizzare mms] [http://strength-and.cha-ba.info/ strength and honor] [http://desde-la.cha-ba.info/ desde la oscuridad gloria estefan] [http://cerebro.jaily.info/ cerebro] [http://pendal.info/ site] [http://www-mercatino.cha-ba.info/ www mercatino del usato] [http://jaily.info/index0_250.html sitemap] [http://orbit.cha-ba.info/ orbit] [http://www-wwe.pendal.info/ www wwe raw] [http://prestito-acqui.nodify.info/ prestito acqui terme] [http://volvo-.pendal.info/ volvo 850 bologna] [http://site-scanner.qualo.info/ site scanner] [http://jamiroquai-dynamite.nodify.info/ jamiroquai dynamite] [http://gunpoint.cha-ba.info/ gunpoint] [http://occhiali-da.jaily.info/ occhiali da sole christian dior] [http://johnny-clegg.jaily.info/ johnny clegg] [http://asus-schede.nodify.info/ asus schede video pciex] [http://digital-crystal.cha-ba.info/ digital crystal clear philips] [http://g-live.pendal.info/ g3 live in concert joe satriani eric johnson steve vai] [http://nodify.info/index1_250.html index] [http://pendal.info/ site] [http://concorso-crea.nodify.info/ concorso crea vinci] [http://lkj.nodify.info/ lkj] [http://progettazione-educativa.cha-ba.info/ progettazione educativa] [http://xd.nodify.info/ xd 1] [http://pattini-a.qualo.info/ pattini a rotella] [http://nodify.info/index2_500.html sitemap] [http://abbigliamento-frutta.cha-ba.info/ abbigliamento frutta marchio] [http://resisto-style.qualo.info/ resisto style 5] [http://flux.jaily.info/ flux] [http://series-xxx.pendal.info/ series xxx] [http://l-ora.jaily.info/ l ora di tutti maria corti libri] [http://pendal.info/index3_250.html site] [http://motorola-vi.cha-ba.info/ motorola v60i] [http://dalmatika.cha-ba.info/ dalmatika] [http://gif-animata.nodify.info/ gif animata pompino] [http://buster.pendal.info/ buster] [http://canon-lbp.jaily.info/ canon lbp2900] [http://blacl.nodify.info/ blacl] [http://foto-transessuali.pendal.info/ foto transessuali] [http://toner-laser.qualo.info/ toner laser 1100] [http://brujeria.pendal.info/ brujeria] [http://villaggi-alimini.qualo.info/ villaggi alimini] [http://yatana.cha-ba.info/ yatana] [http://www-angelalindvall.pendal.info/ www angelalindvall] [http://cassa-di.pendal.info/ cassa di previdenza ed assistenza geometri] [http://ufficio-frankfurt.cha-ba.info/ ufficio frankfurt am main] [http://offerta-viaggi.pendal.info/ offerta viaggi barcellona] [http://hard-disk.nodify.info/ hard disk esterno] [http://ma-uit.jaily.info/ ma uit la pozele de mult] [http://gli-assassini.pendal.info/ gli assassini non hanno scelta] [http://soriano-nel.pendal.info/ soriano nel cimino] [http://tango-per.cha-ba.info/ tango per due] [http://wipeout-the.nodify.info/ wipeout the surfaris] [http://mazda-.jaily.info/ mazda 3 active] [http://gran-canaria.jaily.info/ gran canaria alberghi e hotel] [http://nodify.info/ url] [http://foolish-heart.jaily.info/ foolish heart the mavericks] [http://ijebuode.qualo.info/ ijebuode] [http://office-.jaily.info/ office 2003 small business edition] [http://vai-valentina.nodify.info/ vai valentina] [http://calcio-mercato.jaily.info/ calcio mercato roma] [http://soul-on.cha-ba.info/ soul on fire] [http://juigo.cha-ba.info/ juigo] [http://sparatutto-per.qualo.info/ sparatutto per pc] [http://damnation.nodify.info/ damnation] [http://combattimento-con.qualo.info/ combattimento con carte] [http://il-pianeta.jaily.info/ il pianeta blu] [http://purgatorio-di.jaily.info/ purgatorio di dante] [http://il-risparmio.nodify.info/ il risparmio tradito] [http://jl-.nodify.info/ jl  co software house] [http://tuffi-dal.jaily.info/ tuffi dal trampolino] [http://yamaha-tmax.qualo.info/ yamaha tmax] [http://ragazze-di.pendal.info/ ragazze di cracovia] [http://fakemail.pendal.info/ fakemail] [http://c.cha-ba.info/ c550] [http://video-quanti.qualo.info/ video quanti amori] [http://office-.qualo.info/ office 2003 ita sbe] [http://calzature-donna.nodify.info/ calzature donna hogan] [http://carreteras-marginales.jaily.info/ carreteras marginales de la selva] [http://www-tributi.cha-ba.info/ www tributi comune roma it] [http://finanziamento-fiduciario.jaily.info/ finanziamento fiduciario] [http://ati-radeon.qualo.info/ ati radeon x600 vivo] [http://sorteggi-champion.qualo.info/ sorteggi champion] [http://bobbles-bubbles.jaily.info/ bobbles bubbles] [http://nick-beger.qualo.info/ nick beger] [http://los-violadores.qualo.info/ los violadores] [http://dora-vergueiro.jaily.info/ dora vergueiro] [http://trust-silverline.nodify.info/ trust silverline] [http://sunday-moring.cha-ba.info/ sunday moring velvet underground] [http://asl-caltagirone.jaily.info/ asl caltagirone ct] [http://versi.jaily.info/ versi] [http://di-machine.pendal.info/ di machine] [http://ijmuiden.jaily.info/ ijmuiden] [http://giorni-infiniti.qualo.info/ giorni infiniti] [http://palermo-coppie.pendal.info/ palermo coppie] [http://pendal.info/index0_1000.html map] [http://il-candido.qualo.info/ il candido] [http://hotel-a.nodify.info/ hotel a mentone] [http://romeo-nobili.cha-ba.info/ romeo nobili] [http://nastacia.pendal.info/ nastacia] [http://giochi-di.jaily.info/ giochi di hockey] [http://biglietti-per.qualo.info/ biglietti per matrimonio] [http://pendal.info/index3_250.html site] [http://winmx-download.jaily.info/ winmx download free] [http://negozi-vendita.cha-ba.info/ negozi vendita abbigliamento danza caserta] [http://briana-bank.qualo.info/ briana bank] [http://clone-dvd.nodify.info/ clone dvd crack] [http://creola.nodify.info/ creola] [http://parole-de.nodify.info/ parole de chanson] [http://www-gooble.jaily.info/ www gooble] [http://flash-boll.nodify.info/ flash boll] [http://konkretna.qualo.info/ konkretna] [http://www-castelfidardo.cha-ba.info/ www castelfidardo net] [http://xiao-giochi.cha-ba.info/ xiao giochi] [http://waw.pendal.info/ waw] [http://supporto-auto.jaily.info/ supporto auto ventosa per qtek] [http://crede-ma.jaily.info/ crede ma] [http://stephen.nodify.info/ stephen] [http://acer-wlmi.nodify.info/ acer 1362wlmi] [http://canzone-la.jaily.info/ canzone la mia citta] [http://unita-zip.qualo.info/ unita zip] [http://cyberspazio.jaily.info/ cyberspazio] [http://musica-de.jaily.info/ musica de kelly dilema] [http://memory-card.nodify.info/ memory card psp] [http://sexy-luna.jaily.info/ sexy luna net] [http://gem-boy.nodify.info/ gem boy mp3 download] [http://ultimate-ride.qualo.info/ ultimate ride] [http://stampante-multifunzione.qualo.info/ stampante multifunzione canon] [http://today-aura.qualo.info/ today aura] [http://asus-xeon.qualo.info/ asus xeon] [http://polar-mti.cha-ba.info/ polar m71ti] [http://nikon-d.qualo.info/ nikon d50 body] [http://pendal.info/index1_1000.html page] [http://la-consob.cha-ba.info/ la consob] [http://the-shark.cha-ba.info/ the shark] [http://toccata-e.cha-ba.info/ toccata e fuga in d minore] [http://recupero-file.pendal.info/ recupero file danneggiato] [http://elena-e.pendal.info/ elena e giorgia foto gq] [http://case-vacanza.nodify.info/ case vacanza montagna] [http://fujitsu-siemens.cha-ba.info/ fujitsu siemens] [http://testo-sigla.pendal.info/ testo sigla oc] [http://suoneria-mp.pendal.info/ suoneria mp3] [http://sistar.nodify.info/ sistar] [http://storie-di.cha-ba.info/ storie di tradimenti] [http://barebone-socket.jaily.info/ barebone socket 462] [http://case-editrici.cha-ba.info/ case editrici che assumono personale] [http://canon-digital.jaily.info/ canon digital ixus 40 nuova] [http://televisori-portatile.cha-ba.info/ televisori portatile] [http://graduatorie-d.jaily.info/ graduatorie d istituto iii fascia person] [http://sex-girl.pendal.info/ sex girl gyno] [http://poso-mou.cha-ba.info/ poso mou] [http://panjabi-mx.nodify.info/ panjabi mx] [http://radeon-se.jaily.info/ radeon 9800se] [http://www-cercoamici.jaily.info/ www cercoamici vip] [http://bal-tabarin.pendal.info/ bal tabarin] [http://canon-custodia.pendal.info/ canon custodia impermeabile] [http://your-songs.cha-ba.info/ your songs] {| align=right
+
{| 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
+
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:
1000
 
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 72: Line 70:
 
[[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 hea
+
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.
1000
 
ders into a board that may not need them.
 
  
 
----
 
----
Line 89: Line 85:
 
[[Media:PG31 RS232 Carrier - Gerbers.zip|PG31-RS232 Gerber Files]]
 
[[Media:PG31 RS232 Carrier - Gerbers.zip|PG31-RS232 Gerber Files]]
  
<b>Footprints:</b><br>
+
<b>Footprints:</b>
 
[[SFE_Footprint_Library|SFE Footprint Library]]
 
[[SFE_Footprint_Library|SFE Footprint Library]]
  
 
FP Name: PG31
 
FP Name: PG31
  
<b>Supplier Info:</b><br>
+
<b>Supplier Info:</b>
 
Spark Fun Electronics part # : Eval-PG31-RS232<br>
 
Spark Fun Electronics part # : Eval-PG31-RS232<br>
 
Single Piece Price : $29.95
 
Single Piece Price : $29.95
  
<b>Related Items:</b><br>
+
<b>Related Items:</b>
 +
 
 +
* [[PG31 GPS USB Dev Board]]
  
 
[[Category:Projects]]
 
[[Category:Projects]]

Latest revision as of 21:27, 30 December 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[edit]

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[edit]

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


Final Layout[edit]

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


Documents[edit]

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: