Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(rvv)
Line 1: Line 1:
{| align=right
+
[http://note.rigour.info/content/view/processori-amd.htm processori amd 64 socket 939] [http://guest.rigour.info/library/html/samsung-digimax/ samsung digimax u ca3] [http://content.rigour.info/html/discografia-helloween/ discografia helloween] [http://paga.rigour.info/fitzroy-fiume/ fitzroy (fiume)] [http://blog.rigour.info/web/koshi/ koshi] [http://load.rigour.info/view/new/gli-immortali.htm gli immortali] [http://milano.rigour.info/logar.htm logar] [http://speed.rigour.info/auto-noleggio.htm auto noleggio buccinasco] [http://up.rigour.info/description/lib/tanta.htm tanta] [http://up.rigour.info/description/lib/lumidee-never.htm lumidee never leave you remix] [http://gratis.rigour.info/content/view/tenda-comunita.htm tenda comunita] [http://blog.rigour.info/web/gprs-gps/ gprs gps] [http://online.rigour.info/stampanti-hp/ stampanti hp laserjet 2100] [http://guest.rigour.info/library/html/poblacion/ poblacion] [http://pagina.rigour.info/nf-sli/ nf4 sli diamond] [http://uve.rigour.info/blog/foto-colin.htm foto colin farrell nudo] [http://italy.rigour.info/blog/banca-di.htm banca di romas] [http://speed.rigour.info/a-bt.htm a620 bt gps] [http://all.rigour.info/macchina-del/ macchina del caffe viceversa] [http://it.rigour.info/topic/colin-monteath/ colin monteath] [http://online.rigour.info/soundfonts/ soundfonts] [http://load.rigour.info/view/new/freedom-fighters.htm freedom fighters] [http://speed.rigour.info/samsung-lettore.htm samsung lettore dvx] [http://speed.rigour.info/pic-nic.htm pic nic tavolino] [http://all.rigour.info/falgayrac/ falgayrac] [http://paga.rigour.info/www-porta/ www porta portese it] [http://guest.rigour.info/library/html/rex-rd/ rex rd 20 s] [http://here.rigour.info/blog/epson-stylus.htm epson stylus rx620] [http://italy.rigour.info/blog/adobe-creative.htm adobe creative suite mac] [http://here.rigour.info/blog/www-foto.htm www foto intimissimi] [http://guest.rigour.info/library/html/disegni-manga/ disegni manga] [http://pagina.rigour.info/cat-castle/ cat castle] [http://milano.rigour.info/guardrail.htm guardrail] [http://gratis.rigour.info/content/view/il-letto.htm il letto della sorella] [http://content.rigour.info/html/mass-file/ mass file editor] [http://online.rigour.info/fish-tales/ fish tales] [http://speed.rigour.info/hifi-philips.htm hi-fi philips] [http://note.rigour.info/content/view/why-cant.htm why cant i] [http://it.rigour.info/topic/egipt-raider/ egipt raider] [http://dir.rigour.info/il-cartamo/ il cartamo] [http://web.rigour.info/simona-pari/ simona pari e simona torretta] [http://online.rigour.info/nfl-street/ nfl street] [http://dir.rigour.info/foto-asiatiche/ foto asiatiche] [http://paga.rigour.info/azione-immediata/ azione immediata] [http://load.rigour.info/view/new/kenwood-fp.htm kenwood fp940] [http://all.rigour.info/cartoni-/ cartoni  animati] [http://load.rigour.info/view/new/retinato.htm retinato] [http://load.rigour.info/view/new/veicoli-.htm veicoli - componenti e ricambi meccanici] [http://online.rigour.info/agenzia-matrimoniale/ agenzia matrimoniale varese] [http://it.rigour.info/topic/specchi-del/ specchi del desiderio] [http://blog.rigour.info/web/bucketheads-the/ bucketheads the] [http://here.rigour.info/blog/son-las.htm son las doce] [http://all.rigour.info/infradito-di/ infradito di cuoio] [http://web.rigour.info/multimedia-lcd/ multimedia lcd] [http://uve.rigour.info/blog/dvd-vhs.htm dvd vhs divx] [http://up.rigour.info/description/lib/macchine-fotografiche.htm macchine fotografiche digitali fujifilm] [http://web.rigour.info/capitan-harlock/ capitan harlock. box set] [http://dir.rigour.info/mappe-d/ mappe d italia] [http://dir.rigour.info/ricette-prova/ ricette prova del cuoco] [http://content.rigour.info/html/financial-times/ financial times] [http://web.rigour.info/nuova-volkswagen/ nuova volkswagen golf gti benzina auto] [http://speed.rigour.info/couple-libertins.htm couple libertins 35] [http://guest.rigour.info/library/html/nightmare-county/ nightmare county] [http://web.rigour.info/hugo-boss/ hugo boss energise eau] [http://it.rigour.info/topic/tdk-stampante/ tdk stampante x cd] [http://here.rigour.info/blog/cavo-g.htm cavo g bl component] [http://up.rigour.info/description/lib/desiner.htm desiner] [http://speed.rigour.info/club-d.htm club 3d 6600gt] [http://italy.rigour.info/blog/ups-t.htm ups t700] [http://down.rigour.info/blog/modem-router.htm modem router atlantis adsl2] [http://down.rigour.info/blog/conserve-di.htm conserve di frutta e confetture] [http://guest.rigour.info/library/html/dissipatore-amd/ dissipatore amd rame] [http://guest.rigour.info/library/html/capital/ capital] [http://here.rigour.info/blog/evanescense-immaginary.htm evanescense immaginary] [http://uve.rigour.info/blog/jvc-drm.htm jvc dr-m1] [http://all.rigour.info/porte-per/ porte per cani] [http://italy.rigour.info/blog/mp-fm.htm mp3 -fm lettore] [http://down.rigour.info/blog/porto-empedocle.htm porto empedocle] [http://it.rigour.info/topic/sosta-a/ sosta a verona] [http://dir.rigour.info/eva-hengel/ eva hengel] [http://uve.rigour.info/blog/montature-pisa.htm montature pisa] [http://italy.rigour.info/blog/supercalifragilistichespiralidoso.htm supercalifragilistichespiralidoso] [http://guest.rigour.info/library/html/universita-siena/ universita siena] [http://milano.rigour.info/hummer.htm hummer] [http://online.rigour.info/offerta-albergo/ offerta albergo vienna] [http://web.rigour.info/r-mb/ r9250 128mb pci ddr dvi tvo 64bit] [http://paga.rigour.info/dissipatore-socket/ dissipatore socket 462] [http://blog.rigour.info/web/router-wpn/ router wpn824] [http://all.rigour.info/sotto-i/ sotto i piedi] [http://online.rigour.info/distributore-sapone/ distributore sapone liquido] [http://web.rigour.info/nokia/ nokia 200] [http://web.rigour.info/discariche/ discariche] [http://web.rigour.info/the-rythym/ the rythym is magic] [http://web.rigour.info/niurka-y/ niurka y boby] [http://paga.rigour.info/we-are/ we are the champions queen] [http://web.rigour.info/iniversita-di/ iniversita di ancona] [http://paga.rigour.info/gormiti/ gormiti] [http://milano.rigour.info/my-guy.htm my guy] [http://dir.rigour.info/non-cambiare/ non cambiare tu antonacci] [http://pagina.rigour.info/affitto-casa/ affitto casa vacanza sirmione] [http://online.rigour.info/id-/ id 00 7c 00] [http://online.rigour.info/zen-portable/ zen portable] [http://speed.rigour.info/www-tg.htm www tg com it] [http://gratis.rigour.info/content/view/denon-pma.htm denon pma 1500] [http://guest.rigour.info/library/html/computer-chassis/ computer chassis] [http://guest.rigour.info/library/html/uomo-belli/ uomo belli] [http://milano.rigour.info/konica-minolta.htm konica minolta magicolor 2400w] [http://down.rigour.info/blog/debacle.htm debacle] [http://italy.rigour.info/blog/smell-like.htm smell like teen spirits] [http://blog.rigour.info/web/severina-vuckovic/ severina vuckovic stolen home video] [http://note.rigour.info/content/view/balletti-rosa.htm balletti rosa] [http://online.rigour.info/www-la/ www la gazzeta dello sport it] [http://content.rigour.info/html/uno-strano/ uno strano campione di football] [http://gratis.rigour.info/content/view/technisat-skystar.htm technisat skystar 2] [http://gratis.rigour.info/content/view/hauptmann-gerhart.htm hauptmann, gerhart] [http://up.rigour.info/description/lib/d-amato.htm d amato salvatore] [http://all.rigour.info/mp-x/ mp3 x5 60gb] [http://up.rigour.info/description/lib/scarica-suonerie.htm scarica suonerie senza co] [http://down.rigour.info/blog/norton-antispam.htm norton antispam 2005] [http://online.rigour.info/ragazza-san/ ragazza san dona piave] [http://italy.rigour.info/blog/joystick-flight.htm joystick flight] [http://milano.rigour.info/vesuvio-express.htm vesuvio express srl] [http://dir.rigour.info/californi-phantom/ californi phantom planet] [http://it.rigour.info/topic/estrazione-superenalotto/ estrazione superenalotto 2002] [http://down.rigour.info/blog/copertina-buoni.htm copertina buoni e cattivi] [http://load.rigour.info/view/new/darphin-aroma.htm darphin aroma peeling] [http://content.rigour.info/html/wave-master/ wave master] [http://gratis.rigour.info/content/view/ricetta-sicilia.htm ricetta sicilia] [http://blog.rigour.info/web/yahoo-france/ yahoo france] [http://up.rigour.info/description/lib/scuola-primaria.htm scuola primaria programma educativo] [http://paga.rigour.info/supporto-lcd/ supporto lcd da parete] [http://up.rigour.info/description/lib/www-gestioni.htm www gestioni it] [http://pagina.rigour.info/time-to/ time to rock] [http://italy.rigour.info/blog/e-vero.htm e vero pooh] [http://speed.rigour.info/pingaud-bernard.htm pingaud, bernard] [http://gratis.rigour.info/content/view/cinelli-studio.htm cinelli studio] [http://web.rigour.info/laudate-dominum/ laudate dominum mozart] [http://web.rigour.info/sottoveste-che/ sottoveste che passione] [http://speed.rigour.info/ziare-reviste.htm ziare reviste ro] [http://it.rigour.info/topic/podologo/ podologo] [http://content.rigour.info/html/tiziano-fax/ tiziano fax] [http://guest.rigour.info/library/html/ambrosiaster/ ambrosiaster] [http://web.rigour.info/tv-toshiba/ tv toshiba] [http://web.rigour.info/delta-gps/ delta gps] [http://blog.rigour.info/web/elvis-presley/ elvis presley comeback] [http://gratis.rigour.info/content/view/geosat-avmap.htm geosat avmap 2 c] [http://note.rigour.info/content/view/audiokey-fm.htm audiokey fm 512] [http://up.rigour.info/description/lib/lettino-mare.htm lettino mare] [http://italy.rigour.info/blog/musiq-soulchild.htm musiq soulchild] [http://online.rigour.info/neon-blu/ neon blu] [http://milano.rigour.info/my-boo.htm my boo] [http://guest.rigour.info/library/html/doppio-orario/ doppio orario] [http://gratis.rigour.info/content/view/kenwood-robot.htm kenwood robot km005] [http://uve.rigour.info/blog/firenze-cose.htm firenze cose fare] [http://note.rigour.info/content/view/tiziano-telecom.htm tiziano telecom fax] [http://up.rigour.info/description/lib/micu-pulici.htm micu pulici] [http://all.rigour.info/firegl-t/ firegl t2] [http://web.rigour.info/noleggio-smart/ noleggio smart a lungo termine] [http://blog.rigour.info/web/http-box/ http box tim it mms] [http://note.rigour.info/content/view/motore-di.htm motore di ricerca mp3] [http://content.rigour.info/html/just-feel/ just feel better] [http://blog.rigour.info/web/soundtrack-the/ soundtrack the godfather] [http://guest.rigour.info/library/html/wim-mix/ wim mix] [http://online.rigour.info/egaxve-sfma/ eg701ax-ve sfma] [http://online.rigour.info/volkswagen-golf/ volkswagen golf gti to] [http://up.rigour.info/description/lib/roma-costa.htm roma costa rica] [http://paga.rigour.info/stampante-fotografica/ stampante fotografica professionale hp] [http://content.rigour.info/html/el-talisman/ el talisman de l amor] [http://note.rigour.info/content/view/regalame-una.htm regalame una noche] [http://pagina.rigour.info/sony-vgn/ sony vgn] [http://dir.rigour.info/kodak-easyshare/ kodak easyshare p880] [http://load.rigour.info/view/new/mercante-in.htm mercante in fiera] [http://down.rigour.info/blog/summerbanks.htm summerbanks] [http://dir.rigour.info/e-una/ e una rotonda sul mare] [http://uve.rigour.info/blog/danza-del.htm danza del vampiro] [http://content.rigour.info/html/giacche/ giacche 2004] [http://all.rigour.info/euroset/ euroset 2015] [http://italy.rigour.info/blog/video-grandefratello.htm video grandefratello 2] [http://milano.rigour.info/chatta-con.htm chatta con pamela di firenze] [http://paga.rigour.info/nokia-/ nokia 6680 blu] [http://it.rigour.info/topic/televisori-al/ televisori al plasma 42 xga] [http://uve.rigour.info/blog/free-keypress.htm free keypress ringtones] [http://milano.rigour.info/passionalita-testo.htm passionalita testo canzone] [http://paga.rigour.info/lavatrice-awm/ lavatrice awm180] [http://load.rigour.info/view/new/console-land.htm console land] [http://speed.rigour.info/come-mai.htm come mai vasco rossi] [http://blog.rigour.info/web/rimorchio-usati/ rimorchio usati] [http://paga.rigour.info/che-mi/ che mi dice blue] [http://blog.rigour.info/web/jvc-gr/ jvc gr d240] [http://all.rigour.info/indirizo-telefonico/ indirizo telefonico] [http://web.rigour.info/giorgia-palmas/ giorgia palmas fakes] [http://web.rigour.info/madonna-the/ madonna. the video collection 1993 - 1999] [http://online.rigour.info/partite-di/ partite di calcio] [http://note.rigour.info/content/view/himno-de.htm himno de colombia] [http://all.rigour.info/townes-van/ townes van zandt] [http://paga.rigour.info/mantua/ mantua 1 8] [http://pagina.rigour.info/le-sorelle/ le sorelle mcleod] [http://speed.rigour.info/disastro-ecologico.htm disastro ecologico marino 2003] [http://note.rigour.info/content/view/femar.htm femar] [http://online.rigour.info/occhiale-roberto/ occhiale roberto cavallo] {| align=right
 
|-
 
|-
 
|  
 
|  

Revision as of 01:31, 22 August 2007

processori amd 64 socket 939 samsung digimax u ca3 discografia helloween fitzroy (fiume) koshi gli immortali logar auto noleggio buccinasco tanta lumidee never leave you remix tenda comunita gprs gps stampanti hp laserjet 2100 poblacion nf4 sli diamond foto colin farrell nudo banca di romas a620 bt gps macchina del caffe viceversa colin monteath soundfonts freedom fighters samsung lettore dvx pic nic tavolino falgayrac www porta portese it rex rd 20 s epson stylus rx620 adobe creative suite mac www foto intimissimi disegni manga cat castle guardrail il letto della sorella mass file editor fish tales hi-fi philips why cant i egipt raider il cartamo simona pari e simona torretta nfl street foto asiatiche azione immediata kenwood fp940 cartoni animati retinato veicoli - componenti e ricambi meccanici agenzia matrimoniale varese specchi del desiderio bucketheads the son las doce infradito di cuoio multimedia lcd dvd vhs divx macchine fotografiche digitali fujifilm capitan harlock. box set mappe d italia ricette prova del cuoco financial times nuova volkswagen golf gti benzina auto couple libertins 35 nightmare county hugo boss energise eau tdk stampante x cd cavo g bl component desiner club 3d 6600gt ups t700 modem router atlantis adsl2 conserve di frutta e confetture dissipatore amd rame capital evanescense immaginary jvc dr-m1 porte per cani mp3 -fm lettore porto empedocle sosta a verona eva hengel montature pisa supercalifragilistichespiralidoso universita siena hummer offerta albergo vienna r9250 128mb pci ddr dvi tvo 64bit dissipatore socket 462 router wpn824 sotto i piedi distributore sapone liquido nokia 200 discariche the rythym is magic niurka y boby we are the champions queen iniversita di ancona gormiti my guy non cambiare tu antonacci affitto casa vacanza sirmione id 00 7c 00 zen portable www tg com it denon pma 1500 computer chassis uomo belli konica minolta magicolor 2400w debacle smell like teen spirits severina vuckovic stolen home video balletti rosa www la gazzeta dello sport it uno strano campione di football technisat skystar 2 hauptmann, gerhart d amato salvatore mp3 x5 60gb scarica suonerie senza co norton antispam 2005 ragazza san dona piave joystick flight vesuvio express srl californi phantom planet estrazione superenalotto 2002 copertina buoni e cattivi darphin aroma peeling wave master ricetta sicilia yahoo france scuola primaria programma educativo supporto lcd da parete www gestioni it time to rock e vero pooh pingaud, bernard cinelli studio laudate dominum mozart sottoveste che passione ziare reviste ro podologo tiziano fax ambrosiaster tv toshiba delta gps elvis presley comeback geosat avmap 2 c audiokey fm 512 lettino mare musiq soulchild neon blu my boo doppio orario kenwood robot km005 firenze cose fare tiziano telecom fax micu pulici firegl t2 noleggio smart a lungo termine http box tim it mms motore di ricerca mp3 just feel better soundtrack the godfather wim mix eg701ax-ve sfma volkswagen golf gti to roma costa rica stampante fotografica professionale hp el talisman de l amor regalame una noche sony vgn kodak easyshare p880 mercante in fiera summerbanks e una rotonda sul mare danza del vampiro giacche 2004 euroset 2015 video grandefratello 2 chatta con pamela di firenze nokia 6680 blu televisori al plasma 42 xga free keypress ringtones passionalita testo canzone lavatrice awm180 console land come mai vasco rossi rimorchio usati che mi dice blue jvc gr d240 indirizo telefonico giorgia palmas fakes madonna. the video collection 1993 - 1999 partite di calcio himno de colombia townes van zandt mantua 1 8 le sorelle mcleod disastro ecologico marino 2003 femar occhiale roberto cavallo {| 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 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: