PG31 GPS RS232 Dev Board

From OpenCircuits
Revision as of 08:16, 9 September 2007 by 189.21.156.2 (talk)
Jump to navigation Jump to search

www nike shox com import immagini di macchine d epoca imer pomezia palmare navigator gps casse per i pod manfrotto 714b tv plasma 37 lavapiatti candy chicco tappetino musicale il segno del comando epson r300 in milano isa gabry glenn medeiros bahebak moot palante learn chinese the philadelphia experiment baile perreo festivalbar verona 2004 matrix brondi cordless mercedes s 300 td pene nero hotel le grazie calcio la gabbia palmari da hp descargar musica tego calderon i m glad www segundamano elettrodomestici acciaio inox villani stefano i quattro elementi fiat 500 s sexy scarpe canciones de avril lavigne notepad aria giovannetti bricola asus en6800 jbuilderx alloggi praga roma lima gb maxtor basi notre dame vcr dvd samsung i mode cellulari nokia torcia elettrica scaffale acciaio lavatrice whirlpool 8kg calendario 2003 barbara chiappini tps seca files selva di val gardena stocking sex jetix soccer calcio graal i will always love you mp3 i aint got you rsmmc dual voltage 512 guadalhorce should kinds of card catalogue taraful din clejani eurocom dlink airplus dwl 900ap la legge della vita outkast miss jackson lettera ad un adolescente anche gli zingari vanno in cielo harry potter 53 istituto agrario d oltremare hys nao ikawa ariete fashion johnson samuel (scrittore in foto donne giapponesi gratis numa numa dance polo highline 2001 borse da donna trebles trebles export televisori christina milan centri dimagrimento roberto molinaro fratello da un altro pianeta buoni o catt samsung 110 sigma apo 70300mm f45 6 dg macro in porsche con il morto siamo due spermatozoi somewere over giostra saracino computer usati firenze ildegarda di bingen robie williams mp3 ischia albergo termali my dj sony dcrdvd92e navigatore gps colori giorgia palmas porno tamiflu online cheap sibutramine cheap oxycontin free ringtones buy ephedra music ringtones cheap prozac online lisinopril free monophonic ringtones lisinopril vigrx online cricket ringtones free ringtones cheap morphine buy dianabol texas holdem poker meridia cheap bontril sagem ringtones cheap norco venlafaxine buy bontril disney ringtones cheap tenuate free jazz ringtones buy zyban free telus ringtones kyocera ringtones cheap klonopin free polyphonic ringtones free mp3 ringtones cheap zithromax nokia ringtones cheap soma cheap tramadol cheap vigrx free lg ringtones sexy ringtones voice ringtones buy valium [http://egcti.upr.edu/help/img/bilixu.htm cheap add 1000 erall] cheap diflucan rap ringtones buy ortho cheap synthroid used bmw auto morphine online cheap cyclobenzaprine cheap clomid cheap valtrex buy soma love ringtones free downloadable ringtones cheap levitra free real ringtones country ringtones cheap ionamin fly ringtones tv ringtones jetblueairlines online vardenafil christian ringtones sony ringtones cheap tamiflu cheap xenical buy phendimetrazine cheap flagyl cheap ephedrine zovirax effexor fioricet online order darvocet cheap hydrocodone meridia online free jazz ringtones zoloft online order klonopin didrex cheap viagra free blackberry ringtones cheap flonase cheap lisinopril cheap zocor cheap accutane carisoprodol online free sprint ringtones order celexa buy propecia cheap levitra buy paxil paxil consolidate debt cephalexin online ionamin online nextel ringtones buy clonazepam cheap protonix cheap diethylpropion weird ringtones vicodin replay shirt world sex oral forex trading system valore aggiunto esoul srl johnny weir tragedie ghetto simonov konstantin valle vigezzo joy is [http://lulong.freehostia. 1000 com/content/jibboom.htm jibboom] cluadio baglioni auto verona the big lebowski grudg venta club cd di sarah brightman meriva opel maxdata 3000 pittaro cavo usb accessori samsung audio video sony computer so dimm memoria ram elena sofia ricci peugeot 206 20 gt fanana destruction derbi volvo c70 23 t5 fonoassorbente modding prestito pavia teddybear hey boy annibale ninchi puttana gratis ovamboland riassunto uno nessuno centomila hp tc 1100 samsung laser b n everithing i dio i do for you decoder digitali terrestri olimpus c 5060 i ll be messing you ultra ii samsung 913tm temi gratis per nokia genova corsa se telefonandomi fotos de amor www blacksonblondes com mark romanek the work of director d2 lacie hard disk e floppy foppapedretti seggiolini da tavolo bachata latina maby winans mario sve narodne martorell joanot pc barebone asus dongle bluetooth wireless maxdata favorit radio fm bluetooth john marshal johnson cdx 593 il commediante niamniam thorez mercedes 560 sec audigy2 zs pro parafin lisa andread the apprentice [http://oh 1000 -voice.freehostia.com/view/maschio-peloso.htm maschio peloso] frigoriferi ad incasso classe a suicide bombing video spogliarello in tv www georgle it digitale nikon biglietto aereo napoli catania unita di backup aspire 5024wlmi amd turion ml34 traumschiff surprise alessandro marangoni le canzoni dei roteo messaggero settembre 4 ww altavista com celebrita in topless gallery il sole nella stanza payer julius von la morte non conta i dollari dsc sony amstrad 32 pollici www fabian com io nuoto a farfalla acer lettore mp3 usb 256mb software musica pocket pc solo mp3 is it cause i m cool emma lanford insulina nvidia agp 8x 256 hush purple ufficio jesi {| 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.


1000 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 c 1000 omponents). 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 comput 1000 er 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 1000 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: