Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(revert spam)
Line 1: Line 1:
[http://eleanorashell.00bp.com/software-ebooks.html software ebooks multimedia digital products] [http://spain.vizvaz.com/text/eternal-sunshine.html eternal sunshine lyric] [http://hoalarrison.00bp.com/addictedtocock.html addictedtocock] [http://eleanorashell.00bp.com/aerosmith-dont-wanna.html aerosmith dont wanna miss a thing] [http://omegamonnier.00bp.com/big-bitches.htm big bitches] [http://buskin.xxuz.com/content/transformer-energon.htm transformer energon] [http://spain.vizvaz.com/text/paris.html paris] [http://vermin.jungleheart.com/access-florida.htm access florida point wireless] [http://omegamonnier.00bp.com/deals-on-magazine.htm deals on magazine subscriptions] [http://vermin.jungleheart.com/plug-in-baby.htm plug in baby] [http://spain.vizvaz.com/text/merchant-credit.html merchant credit card accounts] [http://badged.ns02.biz/resources/www-nude-in.html www nude in public com members] [http://spells.ygto.com/loreena-mckennitt.html loreena mckennitt the highwayman lyrics] [http://voided.mefound.com/topic/a1-cell-creatine.html a1 cell creatine tech] [http://terrellorner.00bp.com/sex-is-zero.html sex is zero] [http://eleanorashell.00bp.com/skinny-tits.html skinny tits] [http://terrellorner.00bp.com/asian-lingerie.html asian lingerie models] [http://vermin.jungleheart.com/flash-memory.htm flash memory card] [http://defam.mynumber.org/karaoke-contests.html karaoke contests in michigan] [http://defam.mynumber.org/pocket-pc-themes.html pocket pc themes] [http://yvetteschnabel.00bp.com/britany-skye.htm britany skye] [http://terrellorner.00bp.com/mothers-tied.html mothers tied up] [http://vermin.jungleheart.com/out-cold-soundtracks.htm out cold soundtracks] [http://remove.ns01.info/styles/www-medica-com.html www medica com] [http://vermin.jungleheart.com/benefit.htm benefit] [http://vermin.jungleheart.com/juniper-sslvpn.htm juniper sslvpn] [http://vermin.jungleheart.com/bench-grinder.htm bench grinder] [http://terrellorner.00bp.com/inyuyasha-hentai.html inyuyasha hentai] [http://spain.vizvaz.com/text/javelin.html javelin] [http://omegamonnier.00bp.com/sex-trailors.htm sex trailors] [http://spells.ygto.com/swedish-body.html swedish body wraps] [http://omegamonnier.00bp.com/nudist-vacation.htm nudist vacation] [http://omegamonnier.00bp.com/naked-skydiving.htm naked skydiving] [http://buskin.xxuz.com/content/missouri-property.htm missouri property tax information] [http://voided.mefound.com/topic/dipset-anthem.html dipset anthem] [http://omegamonnier.00bp.com/clothed-female.htm clothed female] [http://reword.youdontcare.com/jc-witney.html jc witney] [http://vermin.jungleheart.com/travellers-checks.htm travellers checks american express] [http://omegamonnier.00bp.com/kids-in-shower.htm kids in shower] [http://vermin.jungleheart.com/summer-jobs-for.htm summer jobs for teenagers] [http://hoalarrison.00bp.com/wwwxxxvoguenet.html www.xxxvogue.net] [http://reword.youdontcare.com/car-alarm-system.html car alarm system] [http://eleanorashell.00bp.com/chubby-fucking.html chubby fucking] [http://badged.ns02.biz/resources/5stars.html 5stars] [http://terrellorner.00bp.com/free-adult-porn.html free adult porn videos] [http://colic.trickip.net/small/sun-ice-center.html sun ice center] [http://spells.ygto.com/2000-mitsubishi.html 2000 mitsubishi eclipse accessories] [http://remove.ns01.info/styles/petite-hotties.html petite hotties] [http://yvetteschnabel.00bp.com/cracking-the.htm cracking the millionaire code] [http://omegamonnier.00bp.com/girls-peeing-on.htm girls peeing on each other] [http://colic.trickip.net/small/buy-clonazepam.html buy clonazepam] [http://spain.vizvaz.com/text/washingtonmutual.html washingtonmutual] [http://terrellorner.00bp.com/free-teen-sex.html free teen sex mpegs] [http://omegamonnier.00bp.com/shaking-tits.htm shaking tits] [http://defam.mynumber.org/institue-of-financial.html institue of financial services] [http://reword.youdontcare.com/distance-formula.html distance formula] [http://buskin.xxuz.com/content/15-years-old.htm 15 years old] [http://colic.trickip.net/small/striped-hardboard.html striped hardboard panels] [http://defam.mynumber.org/gata.html gata] [http://remove.ns01.info/styles/keynote-speakers.html keynote speakers] [http://badged.ns02.biz/resources/paris-hilton.html paris hilton paparazzi] [http://defam.mynumber.org/kfws-web-server.html kfws web server] [http://remove.ns01.info/styles/alpinestar.html alpinestar] [http://defam.mynumber.org/paley.html paley] [http://defam.mynumber.org/sony-wifi-notebook.html sony wifi notebook computer] [http://colic.trickip.net/small/sola.html sola] [http://vermin.jungleheart.com/young-red-heads.htm young red heads nude] [http://spells.ygto.com/appears-code.html appears code entire here highlight that] [http://spain.vizvaz.com/text/wild-man-sex.html wild man sex] [http://spells.ygto.com/webmaster-affiliate.html webmaster affiliate program] [http://colic.trickip.net/small/racemic-epinephrine.html racemic epinephrine treatment] [http://remove.ns01.info/styles/she-hates-me.html she hates me] [http://terrellorner.00bp.com/gold-charm-bracelet.html gold charm bracelet] [http://omegamonnier.00bp.com/anime-suck.htm anime suck] [http://vermin.jungleheart.com/models-outdoor.htm models outdoor lingerie] [http://terrellorner.00bp.com/nada-used-car.html nada used car prices] [http://terrellorner.00bp.com/xxx-movie-trailers.html xxx movie trailers] [http://buskin.xxuz.com/content/alexander-picture.htm alexander picture sasha] [http://eleanorashell.00bp.com/birth-porn.html birth porn] [http://badged.ns02.biz/resources/910a-sony.html 910a sony] [http://terrellorner.00bp.com/yoursouthernbellecom.html yoursouthernbelle.com] [http://buskin.xxuz.com/content/exorcist.htm exorcist] [http://terrellorner.00bp.com/hentai-alien-sex.html hentai alien sex] [http://yvetteschnabel.00bp.com/ocean-temperature.htm ocean temperature] [http://reword.youdontcare.com/teen-parties.html teen parties] [http://colic.trickip.net/small/business-process.html business process automation] [http://eleanorashell.00bp.com/hsboyscom.html hsboys.com] [http://buskin.xxuz.com/content/enwikipediaorg.htm en.wikipedia.org scotland site] [http://yvetteschnabel.00bp.com/adult-art-erotica.htm adult art erotica] [http://eleanorashell.00bp.com/bare-naked-ladies.html bare naked ladies one week] [http://hoalarrison.00bp.com/real-estate-cave.html real estate cave creek] [http://buskin.xxuz.com/content/clothesline.htm clothesline] [http://badged.ns02.biz/resources/mustek-dvd-recorder.html mustek dvd recorder r100lb] [http://terrellorner.00bp.com/images-of-preteens.html images of preteens] [http://hoalarrison.00bp.com/foreskin-stretching.html foreskin stretching] [http://voided.mefound.com/topic/kentucky-maytown.html kentucky maytown] [http://badged.ns02.biz/resources/new-york-funeral.html new york funeral arrangements] [http://reword.youdontcare.com/calabasas.html calabasas] [http://buskin.xxuz.com/content/titty-fuck-movie.htm titty fuck movie] [http://eleanorashell.00bp.com/sex-slings.html sex slings] [http://omegamonnier.00bp.com/executive-order.htm executive order 9066] [http://omegamonnier.00bp.com/escortes-mtl.htm escortes mtl] [http://eleanorashell.00bp.com/preteen-nude.html preteen nude photo] [http://badged.ns02.biz/resources/symbols-in-gatsby.html symbols in gatsby about the american dream] [http://voided.mefound.com/topic/jonathan-crombie.html jonathan crombie movies] [http://omegamonnier.00bp.com/nude-justin-timberlake.htm nude justin timberlake] [http://spain.vizvaz.com/text/mathematics-formular.html mathematics formular] [http://terrellorner.00bp.com/malemoviepostcom.html malemoviepost.com] [http://omegamonnier.00bp.com/teasing-girls.htm teasing girls] [http://buskin.xxuz.com/content/serenity-adult.htm serenity adult] [http://colic.trickip.net/small/sleep-sound-in.html sleep sound in jesus lyrics] [http://eleanorashell.00bp.com/carribean-villas.html carribean villas] [http://badged.ns02.biz/resources/hottest-guys-colleges.html hottest guys, colleges] [http://terrellorner.00bp.com/columbia-missouri.html columbia missouri real estate] [http://colic.trickip.net/small/the-ants-go-marching.html the ants go marching one by one lyrics] [http://defam.mynumber.org/lullaby-lynch-stephen.html lullaby lynch stephen] [http://terrellorner.00bp.com/06-mustang.html 06 mustang] [http://omegamonnier.00bp.com/wwwninemsncomau.htm www.ninemsn.com.au] [http://reword.youdontcare.com/online-degree.html online degree program] [http://reword.youdontcare.com/samba-domain.html samba domain master browser] [http://voided.mefound.com/topic/skittles.html skittles] [http://omegamonnier.00bp.com/jaqueline-bisset.htm jaqueline bisset] [http://terrellorner.00bp.com/paedophilia.html paedophilia] [http://spain.vizvaz.com/text/reformed-books.html reformed books] [http://buskin.xxuz.com/content/beer-belly-challenge.htm beer belly challenge] [http://yvetteschnabel.00bp.com/heaven-los-lonely.htm heaven los lonely boys] [http://spells.ygto.com/lh-torana-pics.html lh torana pics] [http://yvetteschnabel.00bp.com/the-who-teenage.htm the who teenage wasteland] [http://vermin.jungleheart.com/excel-privacy.htm excel privacy recovery] [http://eleanorashell.00bp.com/hacked-xxx-passwords.html hacked xxx passwords backdoors] [http://omegamonnier.00bp.com/filtered-email.htm filtered email hosting] [http://terrellorner.00bp.com/hentai-bdsm.html hentai bdsm] [http://spain.vizvaz.com/text/gobman.html gobman] [http://defam.mynumber.org/jennifer-gardner.html jennifer gardner] [http://defam.mynumber.org/launchcom.html launch.com] [http://voided.mefound.com/topic/classic-guitar.html classic guitar] [http://spain.vizvaz.com/text/assad-syria.html assad syria] [http://eleanorashell.00bp.com/naughty-little.html naughty little girl] [http://omegamonnier.00bp.com/monstercockcom.htm monstercock.com] [http://hoalarrison.00bp.com/nonude-preteens.html nonude preteens] [http://voided.mefound.com/topic/arlene-bell.html arlene bell] [http://vermin.jungleheart.com/primitive-trees.htm primitive trees] [http://vermin.jungleheart.com/baby-shower.htm baby shower ideas] [http://buskin.xxuz.com/content/real-estate-agent.htm real estate agent in iowa] [http://colic.trickip.net/small/sparco-seats.html sparco seats] [http://voided.mefound.com/topic/santa-barbara.html santa barbara bowl ticket] [http://yvetteschnabel.00bp.com/flies-fly-fishing.htm flies fly fishing] [http://badged.ns02.biz/resources/usmd-hospital.html usmd hospital] [http://eleanorashell.00bp.com/positions-techniques.html positions techniques lovemaking] [http://vermin.jungleheart.com/youth-ministries.htm youth ministries] {| align=right
{| align=right

Revision as of 04:38, 21 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

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

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


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


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.


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: