Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(Undo revision 11550 by 58.147.0.228 (Talk))
Line 1: Line 1:
[http://mipafford.ifrance.com/lib/gaylord-texan.html gaylord texan] [http://my-rss.freehostia.com/web/alan-jackson.html alan jackson] [http://danyelmcmann.ifrance.com/resources/boy-orgasm.htm boy orgasm] [http://dahliacomerford.ifrance.com/lib/truck-driving-job.html truck driving job] [http://nat-z.freehostia.com/small/free-sex-thumbs.html free sex thumbs] [http://aftermida.freehostia.com/content/robert-smith.html robert smith] [http://balthrop.ifrance.com/description/star-trek-movies.html star trek movies 2005] [http://mariamgetz.ifrance.com/kg.html kg] [http://balthrop.ifrance.com/description/bullfrog.html bullfrog] [http://mipafford.ifrance.com/lib/blunt.html blunt] [http://tata-tjan.freehostia.com/suvs.htm suvs] [http://mariamgetz.ifrance.com/ameriquest.html ameriquest] [http://my-rss.freehostia.com/web/jazz-riffs.html jazz riffs] [http://sunshine-queen.freehostia.com/view/team-america-songs.html team america songs downloads] [http://my-rss.freehostia.com/web/young-hentai-schoolgirls.html young hentai schoolgirls] [http://avelinabranum.ifrance.com/topic/older-men-with.html older men with young girls] [http://veronikac.jino-net.ru/small/monsters.html monsters] [http://serega-baranka.jino-net.ru/garfield-the-cat.html garfield the cat] [http://balthrop.ifrance.com/description/plaid-skirt.html plaid skirt] [http://nat-z.freehostia.com/small/motor-cortex-brain.html motor cortex brain] [http://sunshine-queen.freehostia.com/view/free-porn-previews.html free porn previews] [http://balthrop.ifrance.com/description/kirsten-dunst-playboy.html kirsten dunst playboy] [http://mariamgetz.ifrance.com/tools.html tools] [http://gladygendreau.ifrance.com/description/arms-coat-english.htm arms coat english free] [http://my-rss.freehostia.com/web/excellence-resorts.html excellence resorts] [http://bel4onok-spb.jino-net.ru/library/tie-rod-pictures.html tie rod pictures] [http://serega-baranka.jino-net.ru/smallest-string.html smallest string bikini] [http://aesher.freehostia.com/teen-banging.html teen banging] [http://aesher.freehostia.com/i-hate-my-ex-girlfriend.html i hate my ex girlfriend] [http://dahliacomerford.ifrance.com/lib/volleyball-rules.html volleyball rules] [http://veronikac.jino-net.ru/small/hydrosols.html hydrosols] [http://nat-z.freehostia.com/small/she-male-gang-bang.html she male gang bang] [http://mcjonath.freehostia.com/lib/celtic-design-tattoos.htm celtic design tattoos] [http://mcjonath.freehostia.com/lib/treatment-of-vertigo.htm treatment of vertigo] [http://danyelmcmann.ifrance.com/resources/micheal-w-smith.htm micheal w smith biography] [http://avelinabranum.ifrance.com/topic/mommy-son-fuck.html mommy son fuck] [http://nat-z.freehostia.com/small/auto-auctions.html auto auctions] [http://aesher.freehostia.com/interracial-cartoons.html interracial cartoons] [http://bulatovmz.freehostia.com/data/free-quilt-block.html free quilt block patterns] [http://veronikac.jino-net.ru/small/cell-phone-prepaid.html cell phone prepaid verizon] [http://aftermida.freehostia.com/content/i-wanna-rock.html i wanna rock] [http://mcjonath.freehostia.com/lib/shameless.htm shameless] [http://danyelmcmann.ifrance.com/resources/club-america.htm club america] [http://balthrop.ifrance.com/description/fucked-teen.html fucked teen] [http://veronikac.jino-net.ru/small/mature-sex-stories.html mature sex stories] [http://mcjonath.freehostia.com/lib/coreldraw-activation.htm coreldraw activation code] [http://balthrop.ifrance.com/description/boys-youngest.html boys youngest cute] [http://serega-baranka.jino-net.ru/matrix-online.html matrix online] [http://tata-tjan.freehostia.com/adult-check.htm adult check] [http://nat-z.freehostia.com/small/teen-amateur.html teen amateur] [http://bulatovmz.freehostia.com/data/hiddenheaven.html hiddenheaven] [http://balthrop.ifrance.com/description/sports-nutrition.html sports nutrition] [http://balthrop.ifrance.com/description/folate.html folate] [http://dahliacomerford.ifrance.com/lib/daniella.html daniella] [http://sunshine-queen.freehostia.com/view/renee-olstead.html renee olstead] [http://bel4onok-spb.jino-net.ru/library/ejaculation-female.html ejaculation female movies free] [http://sybilcasiano.ifrance.com/view/lesbian-books.html lesbian books] [http://balthrop.ifrance.com/description/hilary-duff-xxx.html hilary duff xxx] [http://danyelmcmann.ifrance.com/resources/cycle-trader.htm cycle trader] [http://bulatovmz.freehostia.com/data/microsoft.html microsoft] [http://tata-tjan.freehostia.com/horsefuckers.htm horsefuckers] [http://gladygendreau.ifrance.com/description/war-what-is.htm war what is it good for] [http://aftermida.freehostia.com/content/hunky-male-models.html hunky male models] [http://gladygendreau.ifrance.com/description/victorian-decorating.htm victorian decorating] [http://therapia90.ifrance.com/firm.html firm] [http://nat-z.freehostia.com/small/ton.html ton] [http://sunshine-queen.freehostia.com/view/le-cartel.html le cartel] [http://my-rss.freehostia.com/web/deb.html deb] [http://aftermida.freehostia.com/content/projector-lamps.html projector lamps] [http://dahliacomerford.ifrance.com/lib/4x4-toyota-for-sale.html 4x4 toyota for sale] [http://dahliacomerford.ifrance.com/lib/desiree.html desiree] [http://gladygendreau.ifrance.com/description/akwid.htm akwid] [http://sybilcasiano.ifrance.com/view/simon-cowell.html simon cowell] [http://dahliacomerford.ifrance.com/lib/sex-dvd.html sex dvd] [http://therapia90.ifrance.com/raam-mp3s.html raam mp3s] [http://avelinabranum.ifrance.com/topic/hoodhunter.html hoodhunter] [http://bel4onok-spb.jino-net.ru/library/film-porno.html film porno] [http://avelinabranum.ifrance.com/topic/cfnm-pics.html cfnm pics] [http://mipafford.ifrance.com/lib/benicar.html benicar] [http://veronikac.jino-net.ru/small/xxx-video-games.html xxx video games] [http://bel4onok-spb.jino-net.ru/library/wetpanties.html wetpanties] [http://therapia90.ifrance.com/barn-owl.html barn owl] [http://therapia90.ifrance.com/sofa-tables.html sofa tables] [http://aftermida.freehostia.com/content/older-women-seducing.html older women seducing young boys] [http://danyelmcmann.ifrance.com/resources/free-lolita-porn.htm free lolita porn] [http://mariamgetz.ifrance.com/kansas-city.html kansas city] [http://mariamgetz.ifrance.com/harder.html harder] [http://serega-baranka.jino-net.ru/information-on.html information on sponge] [http://aftermida.freehostia.com/content/dark-magician-girl.html dark magician girl topless] [http://dahliacomerford.ifrance.com/lib/santana-mp3.html santana mp3] [http://nat-z.freehostia.com/small/peru-calling.html peru calling card japan] [http://dahliacomerford.ifrance.com/lib/wcw.html wcw] [http://bel4onok-spb.jino-net.ru/library/lifeway.html lifeway] [http://gladygendreau.ifrance.com/description/famous-photographers.htm famous photographers] [http://nat-z.freehostia.com/small/woman-fucking.html woman fucking horse] [http://veronikac.jino-net.ru/small/atlas-communications.html atlas communications] [http://aesher.freehostia.com/nokia-ring-tones.html nokia ring tones] [http://mcjonath.freehostia.com/lib/university-of.htm university of virginia] [http://serega-baranka.jino-net.ru/arizona-realtor.html arizona realtor] [http://danyelmcmann.ifrance.com/resources/rope-knots.htm rope knots] [http://serega-baranka.jino-net.ru/life-insurance.html life insurance rates] [http://nat-z.freehostia.com/small/fuel-injection.html fuel injection cleaning] [http://mipafford.ifrance.com/lib/esurance.html esurance] [http://sybilcasiano.ifrance.com/view/88by88.html 88by88] [http://lana-lapusya.freehostia.com/aeromexico-airlines.html aeromexico airlines] [http://serega-baranka.jino-net.ru/period-inside-quotations.html period inside quotations] [http://mcjonath.freehostia.com/lib/rate-my-butt.htm rate my butt] [http://avelinabranum.ifrance.com/topic/earn-money-fast.html earn money fast] [http://sunshine-queen.freehostia.com/view/goth-cum.html goth cum] [http://dahliacomerford.ifrance.com/lib/memphis-escorts.html memphis escorts] [http://my-rss.freehostia.com/web/free-bible.html free bible] [http://dahliacomerford.ifrance.com/lib/black-eyed-peas.html black eyed peas where is the love] [http://dahliacomerford.ifrance.com/lib/gastric-bypass.html gastric bypass] [http://serega-baranka.jino-net.ru/very-old-grannies.html very old grannies fucking] [http://sunshine-queen.freehostia.com/view/the-postal-service.html the postal service] [http://aftermida.freehostia.com/content/add-laminating-site.html add laminating site supply] [http://gladygendreau.ifrance.com/description/coin.htm coin] [http://sunshine-queen.freehostia.com/view/demeter.html demeter] [http://mipafford.ifrance.com/lib/plato-contributions.html plato contributions] [http://bel4onok-spb.jino-net.ru/library/heroes-of-might.html heroes of might and magic downloads] [http://serega-baranka.jino-net.ru/king-tut-tour.html king tut tour] [http://nat-z.freehostia.com/small/pomegranate-juice.html pomegranate juice] [http://serega-baranka.jino-net.ru/cheap-sofa.html cheap sofa] [http://dahliacomerford.ifrance.com/lib/sex-drive.html sex drive] [http://dahliacomerford.ifrance.com/lib/make-fake-breasts.html make fake breasts] [http://mcjonath.freehostia.com/lib/extended-auto.htm extended auto warranty] [http://mipafford.ifrance.com/lib/flash-downloads.html flash downloads] [http://aftermida.freehostia.com/content/outdoor-patio.html outdoor patio furniture] [http://avelinabranum.ifrance.com/topic/adjustable-loan.html adjustable loan mortgage rate calculator] [http://bel4onok-spb.jino-net.ru/library/michael-london.html michael london biography] [http://mipafford.ifrance.com/lib/marrakech-parc.html marrakech parc] [http://nat-z.freehostia.com/small/lemonade-tycoon.html lemonade tycoon] [http://therapia90.ifrance.com/website-stats.html website stats] [http://aftermida.freehostia.com/content/dic.html dic] [http://mcjonath.freehostia.com/lib/wooden-blinds.htm wooden blinds] [http://avelinabranum.ifrance.com/topic/varit.html varit] [http://sybilcasiano.ifrance.com/view/innovation-tools.html innovation tools] [http://mcjonath.freehostia.com/lib/windsor-mountain.htm windsor mountain international summer camp] [http://my-rss.freehostia.com/web/ebony-thong-models.html ebony thong models] [http://veronikac.jino-net.ru/small/beer-making-supplies.html beer making supplies] [http://mariamgetz.ifrance.com/female-fingering.html female fingering techniques] [http://tata-tjan.freehostia.com/product-design.htm product design] [http://sybilcasiano.ifrance.com/view/free-live-sex.html free live sex cam] [http://mariamgetz.ifrance.com/extreme-cum.html extreme cum] [http://balthrop.ifrance.com/description/nude-underage.html nude underage girls] [http://bulatovmz.freehostia.com/data/decoupage.html decoupage] [http://mipafford.ifrance.com/lib/crotchless-pvc.html crotchless pvc] [http://dahliacomerford.ifrance.com/lib/beastiality-pics.html beastiality pics] [http://balthrop.ifrance.com/description/kicked-my-ass.html kicked my ass] [http://avelinabranum.ifrance.com/topic/ky-jelly.html ky jelly] [http://mcjonath.freehostia.com/lib/lesbian-housewives.htm lesbian housewives dildos] [http://gladygendreau.ifrance.com/description/chef-knives.htm chef knives] [http://nat-z.freehostia.com/small/teen-relationships.html teen relationships] [http://sunshine-queen.freehostia.com/view/miami-beach-picture.html miami beach picture nude] [http://gladygendreau.ifrance.com/description/mariner-parts.htm mariner parts] [http://dahliacomerford.ifrance.com/lib/sex-voyeur.html sex voyeur] [http://lana-lapusya.freehostia.com/train-rides.html train rides] [http://therapia90.ifrance.com/rainbow-sandals.html rainbow sandals] [http://mcjonath.freehostia.com/lib/mature-titties.htm mature titties] [http://nat-z.freehostia.com/small/silicosis.html silicosis] [http://gladygendreau.ifrance.com/description/infloor-heating.htm infloor heating] [http://aftermida.freehostia.com/content/lincoln-aviator.html lincoln aviator rims] [http://gladygendreau.ifrance.com/description/prostate-massage.htm prostate massage gay] [http://bel4onok-spb.jino-net.ru/library/pornstar-sex.html pornstar sex] [http://mcjonath.freehostia.com/lib/market-research.htm market research student spending] [http://aesher.freehostia.com/rachel-bilson-naked.html rachel bilson naked] [http://bel4onok-spb.jino-net.ru/library/smilies.html smilies] [http://danyelmcmann.ifrance.com/resources/onlinegames.htm onlinegames] [http://veronikac.jino-net.ru/small/watch-winders.html watch winders] [http://bulatovmz.freehostia.com/data/appendix.html appendix] [http://aesher.freehostia.com/acd-phone-system.html acd phone system] [http://bel4onok-spb.jino-net.ru/library/tongue.html tongue] [http://bulatovmz.freehostia.com/data/colorado-springs.html colorado springs] [http://mipafford.ifrance.com/lib/pills-breast.html pills breast] [http://serega-baranka.jino-net.ru/automobile.html automobile] [http://sunshine-queen.freehostia.com/view/twin-lesbian.html twin lesbian] [http://dahliacomerford.ifrance.com/lib/escort-service.html escort service nyc] [http://gladygendreau.ifrance.com/description/new-car.htm new car] [http://bel4onok-spb.jino-net.ru/library/girls-bums.html girls bums] [http://aesher.freehostia.com/m1-carbine.html m1 carbine] [http://aesher.freehostia.com/twilight-zone.html twilight zone] [http://bel4onok-spb.jino-net.ru/library/men-shaving-their.html men shaving their genitals] [http://tata-tjan.freehostia.com/pret-voiture.htm pret voiture] [http://my-rss.freehostia.com/web/transunion.html transunion] [http://mipafford.ifrance.com/lib/astrology-software.html astrology software] [http://danyelmcmann.ifrance.com/resources/the-police.htm the police] [http://therapia90.ifrance.com/lolita-naked.html lolita naked] [http://tata-tjan.freehostia.com/josh-kelley.htm josh kelley] [http://aftermida.freehostia.com/content/nevada-corporation.html nevada corporation] [http://therapia90.ifrance.com/rape-movies.html rape movies] [http://my-rss.freehostia.com/web/eat-ass.html eat ass] [http://veronikac.jino-net.ru/small/republican-national.html republican national lawyers association] [http://mcjonath.freehostia.com/lib/the-world.htm the world] [http://aftermida.freehostia.com/content/micro-server.html micro server] [http://tata-tjan.freehostia.com/sarah-naked.htm sarah naked] [http://veronikac.jino-net.ru/small/ashanti-uncensored.html ashanti uncensored] [http://lana-lapusya.freehostia.com/machine-quilting.html machine quilting] [http://gladygendreau.ifrance.com/description/mosquito-repellents.htm mosquito repellents] [http://bel4onok-spb.jino-net.ru/library/nude-woman-pictures.html nude woman pictures] [http://mipafford.ifrance.com/lib/christian-symbols.html christian symbols] {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  
Line 40: Line 40:
 
[[Image:PG31-SerialConnection.jpg|PG31 Serial Connection]]
 
[[Image:PG31-SerialConnection.jpg|PG31 Serial Connection]]
  
This show
+
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
 
s 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:
 
  
 
[[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 havin
+
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
 
g to solder the 2-pin headers into a board that may not need them.
 
  
 
----
 
----

Revision as of 13:27, 1 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

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: