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)))
(14 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://kidstogether.org/images/Theparentside/pics/1/qxuuim.html horse racing games] [http://laniteguide.com/images/thumbs/2x3/vrubjp.html sell my house] [http://www.jakujam.com/chimg/thumbs/irberf.html chopper] [http://theshopshots.com/clancys/fullthrottle/image/ico/ekammt.html free music ringtones] [http://ahsclass54.org/cp/images/digits/LED/leds/1/tptahg.html zyrtec d] [http://theshopshots.com/clancys/fullthrottle/image/ico/dgwogd.html truck trader] [http://laniteguide.com/images/thumbs/2x3/vilrxk.html waltham pocket watch] [http://laniteguide.com/images/thumbs/2x3/xbnish.html cheap airplane tickets] [http://kidstogether.org/images/Theparentside/pics/1/sspmvf.html download free movie] [http://www.jakujam.com/chimg/thumbs/deltxb.html add url free] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/lfjuek.html mobility scooter] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/hoaxru.html hard drive mechanic gold] [http://kalmbachpark.com/images/album/photo/jqkchp.html latest nokia mobile phone] [http://emilmijares.com/images/thumbs/pics/qjrfku.html automotive paint] [http://ahsclass54.org/cp/images/digits/LED/leds/1/sjadkw.html free sex movie] [http://emilmijares.com/images/thumbs/pics/ifauwi.html password icoo loader] [http://kalmbachpark.com/images/album/photo/opirtd.html boats for sale] [http://kalmbachpark.com/images/album/photo/ghjsum.html lifestyle fitness centers] [http://sccachaplain.org/images/thumbs/etc/pic/rlrvxb.html tudor watches] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/jmmoph.html lingerie sexy] [http://theshopshots.com/clancys/fullthrottle/image/ico/rjkcuf.html crohns disease] [http://sccachaplain.org/images/thumbs/etc/pic/vfwpuu.html travel chanel] [http://laniteguide.com/images/thumbs/2x3/ggfiai.html shemale dvd] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/gqlhbp.html map of florida] [http://theshopshots.com/clancys/fullthrottle/image/ico/bmilvo.html wholesale toys] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/akoana.html space poster] [http://laniteguide.com/images/thumbs/2x3/smowpj.html sexygirl] [http://emilmijares.com/images/thumbs/pics/iflqwp.html coin values] [http://kidstogether.org/images/Theparentside/pics/1/gitpfj.html home alarm] [http://www.jakujam.com/chimg/thumbs/ovfnxs.html dildo pussy] [http://emilmijares.com/images/thumbs/pics/jrqbgt.html aol videos] [http://kidstogether.org/images/Theparentside/pics/1/lvwfmh.html japanese comic books] [http://theshopshots.com/clancys/fullthrottle/image/ico/moqsrd.html asian whore] [http://theshopshots.com/clancys/fullthrottle/image/ico/ewwght.html new york post] [http://www.jakujam.com/chimg/thumbs/xktqrw.html buick engines] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/fkxnqx.html work clothes] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/fxbqqb.html download free motorola ringtones] [http://www.jakujam.com/chimg/thumbs/fhtcuh.html college scholarships] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/irkjti.html car classic grundy insurance] [http://sccachaplain.org/images/thumbs/etc/pic/xwdcvm.html free templates] [http://kidstogether.org/images/Theparentside/pics/1/dtktga.html sexy pictures] [http://ahsclass54.org/cp/images/digits/LED/leds/1/vufkfv.html big tex trailers] [http://sccachaplain.org/images/thumbs/etc/pic/wpnbcq.html dte energy music theater] [http://kidstogether.org/images/Theparentside/pics/1/daaaae.html passions] [http://sccachaplain.org/images/thumbs/etc/pic/ghkbfg.html sewing machine] [http://sccachaplain.org/images/thumbs/etc/pic/brmgli.html obesity] [http://kalmbachpark.com/images/album/photo/njncmq.html room divider wholesale] [http://kidstogether.org/images/Theparentside/pics/1/asvmfa.html mahjong] [http://theshopshots.com/clancys/fullthrottle/image/ico/hddtbv.html free online tv] [http://laniteguide.com/images/thumbs/2x3/saxafd.html cover girls] [http://kalmbachpark.com/images/album/photo/fbnwfr.html form] [http://www.jakujam.com/chimg/thumbs/bfeaob.html atropine] [http://kidstogether.org/images/Theparentside/pics/1/hjxrod.html lawyer] [http://kidstogether.org/images/Theparentside/pics/1/kxkslh.html hud homes] [http://sccachaplain.org/images/thumbs/etc/pic/dcgjjg.html jet blue] [http://ahsclass54.org/cp/images/digits/LED/leds/1/qampsu.html northwest airline ticket] [http://theshopshots.com/clancys/fullthrottle/image/ico/nuelns.html christian singles] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/ekkiut.html online overseas pharmacy] [http://sccachaplain.org/images/thumbs/etc/pic/pnurwg.html dilantin] [http://kalmbachpark.com/images/album/photo/tbsufk.html bondage videos] [http://kidstogether.org/images/Theparentside/pics/1/emgbni.html michel viet] [http://ahsclass54.org/cp/images/digits/LED/leds/1/pmqhvk.html asian clip free porn video] [http://sccachaplain.org/images/thumbs/etc/pic/hmsgxi.html doxycycline] [http://theshopshots.com/clancys/fullthrottle/image/ico/cfssug.html psp porn] [http://www.jakujam.com/chimg/thumbs/hkntqi.html mp3 audio book] [http://www.jakujam.com/chimg/thumbs/gscxgf.html fat thick women] [http://ahsclass54.org/cp/images/digits/LED/leds/1/xvqbhl.html eph200 diet pills] [http://kidstogether.org/images/Theparentside/pics/1/xbuudm.html anna nicole smith nude] [http://kidstogether.org/images/Theparentside/pics/1/whukkc.html health and safety signs] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/bkhwhe.html clubwear] [http://kidstogether.org/images/Theparentside/pics/1/tdvrdb.html phentermine without a prescription in florida] [http://laniteguide.com/images/thumbs/2x3/odhoti.html leptoprin] [http://laniteguide.com/images/thumbs/2x3/tekscx.html friendfinder] [http://kidstogether.org/images/Theparentside/pics/1/hqfloq.html free bondage pics] [http://emilmijares.com/images/thumbs/pics/rucbhm.html thiothixene] [http://emilmijares.com/images/thumbs/pics/qqdxtj.html quadriderm] [http://sccachaplain.org/images/thumbs/etc/pic/mefkmx.html yom kippur] [http://emilmijares.com/images/thumbs/pics/mkuqfo.html noni juice] [http://emilmijares.com/images/thumbs/pics/wxialx.html lesbian movie download free] [http://ahsclass54.org/cp/images/digits/LED/leds/1/lwasql.html kidney stones] [http://theshopshots.com/clancys/fullthrottle/image/ico/paohck.html jobs online] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/irhqef.html pregnancy test] [http://ahsclass54.org/cp/images/digits/LED/leds/1/evpidi.html generic vicodin] [http://ahsclass54.org/cp/images/digits/LED/leds/1/rcmxdj.html fortis watch] [http://www.jakujam.com/chimg/thumbs/gsuugt.html christina aguilera pic] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/bsrucb.html no deposit casino] [http://ahsclass54.org/cp/images/digits/LED/leds/1/bxratq.html free us cellular ringtones] [http://puppiesfromtheheart.com/Brook_files/image/thumbs/wenlgv.html splenda side effects] [http://theshopshots.com/clancys/fullthrottle/image/ico/ifpjdq.html pnc bank new jersey] [http://kalmbachpark.com/images/album/photo/qxiaca.html swimsuits] [http://theshopshots.com/clancys/fullthrottle/image/ico/fhrhlm.html gingseng] [http://ahsclass54.org/cp/images/digits/LED/leds/1/gwwrig.html what is rheumatoid arthritis] [http://theshopshots.com/clancys/fullthrottle/image/ico/wkgxia.html acyclovir cream] [http://laniteguide.com/images/thumbs/2x3/jcsqkc.html watch lesbians sex] [http://kidstogether.org/images/Theparentside/pics/1/stpjvj.html avelox] [http://ahsclass54.org/cp/images/digits/LED/leds/1/xcbhus.html celcom caller ringtone] [http://sccachaplain.org/images/thumbs/etc/pic/nipstu.html bathroom design] [http://emilmijares.com/images/thumbs/pics/seltei.html hamilton watch] [http://emilmijares.com/images/thumbs/pics/epwnnp.html sleep apnea symptoms treatment] [http://laniteguide.com/images/thumbs/2x3/etuhiv.html xenadrine rfa] [http://blondes.eskout.cn/teen-swimsuits.html teen swimsuits] [http://girl.eskout.cn/sexual-pleasure.html sexual pleasure] [http://hardcore.eskout.cn/have-a-little.html have a little faith in me] [http://teens.eskout.cn/horny-twins.html horny twins] [http://women.eskout.cn/xxx-porn-videos.html xxx porn videos] [http://nude.eskout.cn/maryland-real-estate.html maryland real estate listing] [http://naked.eskout.cn/bulk-flowers.html bulk flowers] [http://playboy.eskout.cn/south-dakota-hunting.html south dakota hunting guides] [http://teen.eskout.cn/kari-wuhrer-nude.html kari wuhrer nude] [http://www.plaitchiz.00show.com here] [http://girls.eskout.cn/naked-eminem.html naked eminem] [http://teen.eskout.cn/cyber-love-poems.html cyber love poems] [http://naked.eskout.cn/psp-hacks.html psp hacks] [http://porno.eskout.cn/bavarian-nordic.html bavarian nordic] [http://teen.eskout.cn/guys-showering.html guys showering] [http://naked.eskout.cn/how-to-reduce-stomach.html how to reduce stomach acid] [http://playboy.eskout.cn/alissa-milano-nude.html alissa milano nude] [http://naked.eskout.cn/columbia-missouri.html columbia missouri] [http://incest.eskout.cn/beckham-nude.html beckham nude] [http://fuck.eskout.cn/swan-princess.html swan princess] [http://sex.eskout.cn/the-spanking-news.html the spanking news] [http://girl.eskout.cn/bondage-directory.html bondage directory] [http://www.dicarrin.00server.com map] [http://porno.eskout.cn/russian-lesbian.html russian lesbian] [http://naked.eskout.cn/juicygals.html juicygals] [http://girl.eskout.cn/girls-hot.html girls hot] [http://hentai.eskout.cn/busca-sexo.html busca sexo] [http://www.daihaimric.00sf.com home] [http://playboy.eskout.cn/direct-track.html direct track gps vehicle tracking] [http://www.chemistrus.00family.com home] [http://playboy.eskout.cn/long-puffy-nipples.html long puffy nipples] [http://women.eskout.cn/handjob-cumshot.html handjob cumshot] [http://blondes.eskout.cn/dirty-butt.html dirty butt] [http://naked.eskout.cn/gay-russian-boys.html gay russian boys] [http://porn.eskout.cn/wishing-on-a-star.html wishing on a star] [http://xxx.eskout.cn/sexy-white-girls.html sexy white girls] [http://hardcore.eskout.cn/tortured-tits.html tortured tits] [http://www.pumixon.0pi.com map] [http://www.waphylli.0pi.com page] [http://blondes.eskout.cn/sexy-nuns.html sexy nuns] [http://girls.eskout.cn/nude-cruises.html nude cruises] [http://porno.eskout.cn/party-slut.html party slut] [http://hentai.eskout.cn/surplus-camping.html surplus camping equipment] [http://anal.eskout.cn/asian-tranny.html asian tranny] [http://porno.eskout.cn/girl-squirt.html girl squirt] [http://hardcore.eskout.cn/shemale-escort.html shemale escort] [http://porno.eskout.cn/free-lesbian-video.html free lesbian video] [http://teen.eskout.cn/drafting-machine.html drafting machine] [http://anal.eskout.cn/south-carolina.html south carolina sex offenders] [http://lesbian.eskout.cn/foot-massager.html foot massager] [http://hardcore.eskout.cn/used-car-ratings.html used car ratings] [http://home.sailormoon.com/zaoknom/ here] [http://teens.eskout.cn/essay-topics.html essay topics] [http://www.imensc.scriptmania.com page] [http://girl.eskout.cn/daniela-pestova.html daniela pestova nude] [http://blondes.eskout.cn/twinkle-twinkle.html twinkle twinkle little star] [http://playboy.eskout.cn/erotic-teen.html erotic teen] [http://nude.eskout.cn/crafts-for-kids.html crafts for kids] [http://lesbian.eskout.cn/ass-shaking.html ass shaking] [http://www.nastyaer.8k.com home] [http://teens.eskout.cn/sonic-xxx.html sonic xxx] [http://lesbian.eskout.cn/painful-fuck.html painful fuck] [http://lesbian.eskout.cn/temecula-website.html temecula website design] [http://hentai.eskout.cn/paris-hilton-sex.html paris hilton sex clips] [http://movies.eskout.cn/jersey-shore.html jersey shore vacation rentals] [http://fuck.eskout.cn/naked-soccer-moms.html naked soccer moms] [http://www.beepworld.de/members/draemon/ page] [http://playboy.eskout.cn/adult-swingers.html adult swingers] [http://women.eskout.cn/karaoke-software.html karaoke software] [http://xxx.eskout.cn/schoolgirl-spanking.html schoolgirl spanking] [http://www.dascobee.00movies.com page] [http://hardcore.eskout.cn/sexy-swim-suits.html sexy swim suits] [http://anal.eskout.cn/sexy-neighbors.html sexy neighbors] [http://anal.eskout.cn/kelly-clarkson.html kelly clarkson a moment like this] [http://porno.eskout.cn/how-to-win-lotto.html how to win lotto] [http://teen.eskout.cn/toyota-dealer.html toyota dealer sacramento] [http://hentai.eskout.cn/big-brother-6.html big brother 6 nude] [http://themockturtle.proboards55.com map] [http://nude.eskout.cn/city-of-las-vegas.html city of las vegas] [http://porno.eskout.cn/herbal-skin.html herbal skin care] [http://hardcore.eskout.cn/weight-gain-birth.html weight gain birth control] [http://hardcore.eskout.cn/celebrity-tits.html celebrity tits] [http://girls.eskout.cn/naked-underage.html naked underage boys] [http://sex.eskout.cn/anal-sex-trailers.html anal sex trailers] [http://women.eskout.cn/luna-pier-jacket.html luna pier jacket] [http://hentai.eskout.cn/fuck-daughter.html fuck daughter] [http://fuck.eskout.cn/hamptons-long.html hamptons long island] [http://blondes.eskout.cn/las-vegas-realty.html las vegas realty companies] [http://www.vispektor.00author.com here] [http://fuck.eskout.cn/grandma-fucks-grandson.html grandma fucks grandson] [http://women.eskout.cn/sexy-secretaries.html sexy secretaries] [http://naked.eskout.cn/windsor-ontario.html windsor ontario] [http://nude.eskout.cn/japanese-schoolgirls.html japanese schoolgirls] [http://xxx.eskout.cn/lolitas-boys.html lolitas boys] [http://xxx.eskout.cn/toon-fucking.html toon fucking] [http://www.kepairry.00space.com here] [http://hentai.eskout.cn/funny-and-sexy.html funny and sexy] [http://hentai.eskout.cn/horse-sex-videos.html horse sex videos] [http://nude.eskout.cn/php-flash.html php flash] [http://www.beep.com/members/zaxarmaster/ map] {| align=right
{| align=right

Latest revision as of 22:27, 30 December 2007

PG31 RS232 Dev Board

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:


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:


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]


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]


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.


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: