Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
(revert to 14:02, 28 September 2007)
Line 1: Line 1:
[http://pfadfinder-s8.org/mailinglist/attachments/image/awtleo.html free mobile ringtones] [http://eqia.com/bank/image/vcfchp.html barcelona cheap hotel] [http://affectplus.com/sessions/cache/qqubjn.html free webcam] [http://www.ro-man.com/tradeshop/images/infobox/banners/jgqpmc.html free games slots] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/ibwgkl.html sexo amateur] [http://www.anime-extreme.net/images/avatar/smiles/ksojkl.html discount wedding favor] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/fjbwba.html corner computer desk] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/nsgrff.html cheap health insurance] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/wkxtfl.html womens vibrators] [http://rubber-plastics-manufacturers.com/cp/avatars/nlbujw.html side effects of provigil] [http://naturalspascanada.com/lma/templates/image/lamgbs.html bargain network] [http://dottaauction.com/photos/2006-359/image/qrauaq.html ask jeeves] [http://www.ro-man.com/tradeshop/images/infobox/banners/aogalu.html ronnie coleman] [http://cosmickaos.com/kaosguestbook/backups/cache/lxvbad.html frees sex movies] [http://cosmetic-packaging-manufacturers.com/cache/any/trgumr.html hippa] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/wnuuow.html web cam live chat girl] [http://cripo-ua.com/dump/backup/cache/fshbna.html wedding flower bouquet] [http://affectplus.com/sessions/cache/xxdvgc.html large womens boot] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/mwvshg.html e cards] [http://imdcsudan.org/old/gallery2/g2data/cache/image/sothak.html coach purses] [http://flyingaggies.org/gallery/albums/oops/photo/ssouaa.html thailand girls] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/fmrqre.html cardizem] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/minjxp.html bigbreast lovers] [http://imdcsudan.org/old/gallery2/g2data/cache/image/gtjjas.html home based nursing jobs] [http://www.anime-extreme.net/images/avatar/smiles/vrwemd.html food nutrition] [http://cripo-ua.com/dump/backup/cache/hafsci.html diet] [http://dottaauction.com/photos/2006-359/image/dswaux.html peugeot] [http://dreadneck.com/gallery3/upgrade/image/iiidos.html buy in phentermine uk] [http://rgvtechs.com/Autos/images/gif/vaunbh.html michigan dnr] [http://bigskyregion.org/ExtCalendar/include/image/ppoudb.html adult diaper] [http://www.anime-extreme.net/images/avatar/smiles/dijtlw.html pharmacy technician salary] [http://led-autolight.com/cache/Car_Air_Compressor/cmoglk.html aol music] [http://dreadneck.com/gallery3/upgrade/image/dsphxj.html jenn air outdoor gas grill] [http://www.ro-man.com/tradeshop/images/infobox/banners/xjdhan.html paracetamol] [http://affectplus.com/sessions/cache/sldutk.html discount tires] [http://troop270.com/site/cache/tmp/wnhujj.html cell phone survailance] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/ovogxq.html jewellery] [http://rubber-plastics-manufacturers.com/cp/avatars/sdnrxm.html tmobile cellular phone] [http://eqia.com/bank/image/dmmche.html elmo tmx] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/agptdh.html ambien online] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/jaujru.html duromine] [http://led-autolight.com/cache/Car_Air_Compressor/uncjrm.html notre dame ring tones] [http://cripo-ua.com/dump/backup/cache/qheqsn.html airwalk sandal] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/lsobwc.html missouri newspapers] [http://dreadneck.com/gallery3/upgrade/image/iehopx.html hotel lancelot rome] [http://cripo-ua.com/dump/backup/cache/gbodqg.html free fonts] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/bhnapq.html norton antivirus download] [http://dreadneck.com/gallery3/upgrade/image/muaxsh.html fucking video] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/lkltci.html advance cash] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/rmmvat.html toronto phone directory] [http://naturalspascanada.com/lma/templates/image/quigdb.html mp3] [http://flyingaggies.org/gallery/albums/oops/photo/chcurq.html american airline reservation] [http://dottaauction.com/photos/2006-359/image/skxbwp.html hyundai canada] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/tcxdfq.html bad credit] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/fuveru.html hidden camera sex] [http://cosmetic-packaging-manufacturers.com/cache/any/cwvaaq.html baird and warner real estate chicago] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/taffbh.html table setting] [http://cripo-ua.com/dump/backup/cache/ipqcoi.html 18k gold replica rolex solid] [http://mqantiques.com/aboutchinese/contact/etmltc.html extended stay motel] [http://cosmickaos.com/kaosguestbook/backups/cache/hbjidi.html city furniture] [http://socks-manufacturers.com/about/image/ilbrhl.html suddenly slim] [http://rgvtechs.com/Autos/images/gif/sgcjxw.html used car value] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/ppumek.html big natural tits] [http://naturalspascanada.com/lma/templates/image/dvdmdf.html housesforsale] [http://rgvtechs.com/Autos/images/gif/qwbkue.html vending machines] [http://mqantiques.com/aboutchinese/contact/oxudcw.html japanese garden lantern] [http://led-autolight.com/cache/Car_Air_Compressor/dvlwhd.html seven jeans] [http://www.ro-man.com/tradeshop/images/infobox/banners/otfhxv.html best home businesses] [http://www.anime-extreme.net/images/avatar/smiles/fexbst.html suzuki motorcycle part online] [http://eqia.com/bank/image/huuufh.html rifle colorado] [http://www.anime-extreme.net/images/avatar/smiles/gtcgad.html fiat panda] [http://snowclubs.com/nyssa/mojo/image/lkpihg.html elin nordegren picture] [http://f-ccc-zion.com/ExtCalendar/include/image/rufkwa.html cheap tenuate] [http://snowclubs.com/nyssa/mojo/image/thahdr.html tera patrick] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/hdnijj.html florida mortgage rate] [http://dreadneck.com/gallery3/upgrade/image/rovkrp.html buy sell canada car] [http://www.schmittziesart.de/gbook2/fonts/image/kgbtkd.html plow] [http://www.ro-man.com/tradeshop/images/infobox/banners/fqgckt.html nirvana picture] [http://dreadneck.com/gallery3/upgrade/image/gobfal.html three wheel bicycle] [http://led-autolight.com/cache/Car_Air_Compressor/uaxwlw.html video porno clip] [http://mayafoods.com/shop/catalog/temp/text/xsunem.html airfares cheap first class] [http://troop270.com/site/cache/tmp/uplgih.html bridal shower game] [http://rgvtechs.com/Autos/images/gif/vdehpp.html mexican pharmacy online purchase] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/mokqkt.html xxx hot sex] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/xbnegr.html xxx anal] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/edljrw.html bridal bouquets fresh flower] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/lgdeoq.html kill time] [http://led-autolight.com/cache/Car_Air_Compressor/pnhifp.html gay mpegs] [http://www.anime-extreme.net/images/avatar/smiles/osivcw.html cheerleader uniforms] [http://www.ro-man.com/tradeshop/images/infobox/banners/pufmcs.html dirt bikes for sale] [http://dottaauction.com/photos/2006-359/image/tpnjpf.html toddler bed] [http://marzeporgohar.org/folders/folder_23/image/bseulo.html all inclusive resorts bahamas] [http://snowclubs.com/nyssa/mojo/image/oqwjal.html my amature sex movies] [http://www.anime-extreme.net/images/avatar/smiles/mvmfmo.html free physic reading] [http://schonborn.com/log/archives/0000000001/lwnlco.html craigslist los angeles] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/wsqklc.html nude babes] [http://schonborn.com/log/archives/0000000001/afjbem.html womens ankle boots] [http://mayafoods.com/shop/catalog/temp/text/qcjehh.html poison] [http://snowclubs.com/nyssa/mojo/image/vksvbo.html toyota corolla] [http://pfadfinder-s8.org/mailinglist/attachments/image/ltxnwc.html florida flights] [http://men-who-wear.abjur.cn/ men who wear panties] [http://hot-black-lesbians.moon-ray.cn/ hot black lesbians] [http://wedding-decorations.indevout.cn/ wedding decorations] [http://maryland-phone-service.emetic.cn/ maryland phone service] [http://father-son.drongo.cn/ father son] [http://big-fat-boobs.counite.cn/ big fat boobs] [http://cooking-light.emetic.cn/ cooking light] [http://elena-anaya.erhear.cn/ elena anaya] [http://angalina-jolie.charie.cn/ angalina jolie nude] [http://adopt-atlanta.gosailor.cn/ adopt atlanta dog] [http://rental-agreement.erhear.cn/ rental agreement] [http://pacific-specialty.abjur.cn/ pacific specialty ins] [http://god-must-have-spent.erhear.cn/ god must have spent a little more time on you] [http://que-son-los-valores.gosailor.cn/ que son los valores sociales] [http://big-booty-black.counite.cn/ big booty black girls] [http://glastonbury.indevout.cn/ glastonbury] [http://phoenix-homes.moon-ray.cn/ phoenix homes for sale] [http://debt-management.counite.cn/ debt management solution] [http://roberta.counite.cn/ roberta] [http://business-maps.drongo.cn/ business maps] [http://goth-girls-nude.drongo.cn/ goth girls nude] [http://japan-brochures.tiddle.cn/ japan brochures] [http://babysitter-sex.charie.cn/ babysitter sex stories] [http://real-estate-website.emetic.cn/ real estate website marketing] [http://pravachol.counite.cn/ pravachol] [http://cigars-international.erhear.cn/ cigars international] [http://fast-gas-scooter.tiddle.cn/ fast gas scooter] [http://free-hardcore.gosailor.cn/ free hardcore thumbnail galleries] [http://employment-background.tiddle.cn/ employment background check] [http://classic-literature.tiddle.cn/ classic literature] [http://pan-nude.charie.cn/ pan nude] [http://dirty-sexual-acts.counite.cn/ dirty sexual acts] [http://fireplaces.moon-ray.cn/ fireplaces] [http://when-was-paper.charie.cn/ when was paper money invented] [http://girl-nudist.gosailor.cn/ girl nudist] [http://joyce-jimenez.counite.cn/ joyce jimenez] [http://american-woman.counite.cn/ american woman stay away from me lyrics] [http://indian-porn.charie.cn/ indian porn galleries] [http://pee-knickers-accident.gosailor.cn/ pee knickers accident] [http://wood-ceiling-finishes.indevout.cn/ wood ceiling finishes] [http://ebay-profit.charie.cn/ ebay profit] [http://term-life-insurance.drongo.cn/ term life insurance] [http://monsters-ball.drongo.cn/ monsters ball] [http://avg-free-firewall.gosailor.cn/ avg free firewall] [http://sexy-adult-halloween.indevout.cn/ sexy adult halloween costume] [http://mario-brothers.erhear.cn/ mario brothers] [http://video-of-plant.emetic.cn/ video of plant cell] [http://little-boys.emetic.cn/ little boys naturism] [http://ashanti-look-nude.charie.cn/ ashanti look nude] [http://summers.moon-ray.cn/ summers] [http://travis-band.tiddle.cn/ travis band website] [http://leeann-tweeden.indevout.cn/ leeann tweeden] [http://teen-sex.emetic.cn/ teen sex] [http://wood-shutters.drongo.cn/ wood shutters] [http://adrianne-curry.abjur.cn/ adrianne curry] [http://super-cheats.moon-ray.cn/ super cheats] [http://free-gyno.tiddle.cn/ free gyno] [http://hot-guys-in-briefs.gosailor.cn/ hot guys in briefs] [http://animate-clipart.counite.cn/ animate clipart] [http://a-world-of-art.drongo.cn/ a world of art] [http://abstract-black-wallpaper.counite.cn/ abstract black wallpaper] [http://hacking-adult.gosailor.cn/ hacking adult friend finder] [http://louise.gosailor.cn/ louise] [http://carry-on-my-wayward.abjur.cn/ carry on my wayward son] [http://big-ass-big-tits.abjur.cn/ big ass big tits] [http://csi-miami.gosailor.cn/ csi miami] [http://horse-shampoo.moon-ray.cn/ horse shampoo] [http://embroidery-machines.erhear.cn/ embroidery machines] [http://dude.indevout.cn/ dude] [http://fingered-pussy.abjur.cn/ fingered pussy] [http://tag-heuer.tiddle.cn/ tag heuer] [http://medical.erhear.cn/ medical] [http://teenboat.indevout.cn/ teenboat] [http://album.emetic.cn/ album] [http://angelena-jolie.charie.cn/ angelena jolie] [http://seether-mp3.emetic.cn/ seether mp3] [http://pantie.gosailor.cn/ pantie] [http://outbound-transfer.indevout.cn/ outbound transfer] [http://uncut-dick.emetic.cn/ uncut dick] [http://profit-margin.tiddle.cn/ profit margin ratios] [http://teens-shirtless.abjur.cn/ teens shirtless] [http://victorian-clothing.erhear.cn/ victorian clothing] [http://extremehole.erhear.cn/ extremehole] [http://pink-floyd-reunion.moon-ray.cn/ pink floyd reunion] [http://harry-potter-fanfics.emetic.cn/ harry potter fanfics] [http://extreme-sapphic.tiddle.cn/ extreme sapphic movies] [http://zoe-page-3-model.charie.cn/ zoe page 3 model] [http://suge-knight.counite.cn/ suge knight] [http://man-treat.counite.cn/ man treat] [http://plaboy.drongo.cn/ plaboy] [http://dizney-porn.abjur.cn/ dizney porn] [http://ngk-spark-plug.moon-ray.cn/ ngk spark plug] [http://milfcruiser.abjur.cn/ milfcruiser] [http://sympathy-poems.tiddle.cn/ sympathy poems] [http://brazilian-wax.erhear.cn/ brazilian wax] [http://baggett.gosailor.cn/ baggett] [http://kissing-cousins.indevout.cn/ kissing cousins] [http://save-the-best-for.moon-ray.cn/ save the best for last] [http://archives.counite.cn/ archives] [http://new-play-station.abjur.cn/ new play station 2 system] {| align=right
{| align=right

Revision as of 03:27, 4 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: