PG31 GPS RS232 Dev Board
tdrug kfj-fpc101 512 telefonino con mp3 radio rose di manchester trust 215a speedlink adsl pci sito internet parma lg rz 32 tego calde lineamenti di diritto privato romano the oc theme lancia y 1.1 elefantino blu pearl dean un buco in fronte cpu sempron 2800 prenotazione appartamento roma online lesbiann ultimo cd di antonacci box esterno firewire neda ukraden lo strano percorso lirica vide dei iraq magneto vuela vuela ati v3100 128 voli scontati lot (dipartimento) binaurale ossessivita lo que tu me das video gratis de usher malavita organizzata consejos de ejercicios fisicos picture card fujifilm samsung syncmaster 730bf lazzurra monitor siemens 21 puzzle bubble bust a movie viaggio allaltro mondo testo e traduzione di fuck it un nuovo mod multiplayer per unreal tournament tony bagdad video oregon basic thibaudet, albert nokia 3100 cellulari club incontri tatuaggi alfabeti tg nudo copilul de aur mihaela pacman world lisa dergan universita di fisciano intel prescott samsung scx 4216f un uomo da abbattere vendita calzatura raccont cucklod solo single video in midi di un senso di vasco www keko com ar mouse and hood hop viera ciclopista adsl router porte conceptronic meteo belgio decapitazione ostaggio kenneth bigley gregoriani dec 12 real squirt yaris sol nero donne nude che fanno sesso con degli uomini kingston ddr2 kvr533d2e4 1g pump the up cod fisc space system lcd 30 arriva natale wrangler 4.0 a730 asus palmari demis fiat punto 1 3 dynamic la droga tra i giovani bajar musica de yandel frosinone singole korn earache my eye www vida tv com cosce pollo epson 870 logitech - driving force usb x tubi pex un tocco di classe prigioniero dts home theatre panasonic caffettiera americana la stanza di cloe af vr 80-400mm f 4 5-5 6 d ed dior anticellulite keanu reaves harri potter wintv pvr usb www hotmail c elettrodi laica accessori merioneth forni incasso - miele mini www screen sever com ultimas tardes con teresa led zeppelin mp3 xbox live communicator sanyo vpc c5 alps parma uomo con in citta gioco enalotto heli al1711 acer viale del tramonto (edizione speciale) anziani ragazze gioco internet o r o palmare 400mhz pinkworl com outcast web site viking dvd esterni toner 3030 verona enenti caterina stella edith modelle on line www hentei it colpo dopo colpo sexy matura ati radeon x550 repubblica quotidiano wwwfg cisco ws-c2950g-24 serena grandi miranda feruka lotus elise s esame di guida - tempo di roma tv samsung lcd 37 vista donna occhiali lets ngo figura euterpe dragostea dim tei ads gameforgeads adframe benassi bros feat sandy illusion mp3 peugeot 307 2 0 www webgif com scheda video ati sapphire x300 128mb letto in ferro battuto racconti porno animali tragica passione packard audiokey letto giano virginia mayo barrista norton internet security 2006 evoluzione mutui intermediazione creditizia beltrami encoder video hauppauge wintv-pvr 150 seat leon 150 cv processore extreme edition 840 peppini di capri svolta pericolosa punto 2000 santa cruz, alonso de- neon modena mahonia biglietto aereo fortaleza george clooney nudo www astagiudiziaria com route 66 nokia gps the alexandrov red army choir scentinel torres quevedo, leonardo er pantera compagnia aerea low cost gli ultimi dieci giorni di hitler feccia cartoon www marocco avventure peter pan hoel, sigurd copertina amici fidati fantasiawear fotos de claun lettore mp3 usb2 2 fm rec 1gb e voglio ruta nuda volo aereo milano trapani gandon, yves usb 5 1 aventures games left side alone fer leccato playstation this is football scarpe sesso macchina per zucchero filato pamela anderson free sex video processori amd 64 socket 939 samsung digimax u ca3 discografia helloween fitzroy (fiume) koshi gli immortali logar auto noleggio buccinasco tanta lumidee never leave you remix tenda comunita gprs gps stampanti hp laserjet 2100 poblacion nf4 sli diamond foto colin farrell nudo banca di romas a620 bt gps macchina del caffe viceversa colin monteath soundfonts freedom fighters samsung lettore dvx pic nic tavolino falgayrac www porta portese it rex rd 20 s epson stylus rx620 adobe creative suite mac www foto intimissimi disegni manga cat castle guardrail il letto della sorella mass file editor fish tales hi-fi philips [http://note.rigour.info/content/view/why 1000 -cant.htm why cant i] egipt raider il cartamo simona pari e simona torretta nfl street foto asiatiche azione immediata kenwood fp940 cartoni animati retinato veicoli - componenti e ricambi meccanici agenzia matrimoniale varese specchi del desiderio bucketheads the son las doce infradito di cuoio multimedia lcd dvd vhs divx macchine fotografiche digitali fujifilm capitan harlock. box set mappe d italia ricette prova del cuoco financial times nuova volkswagen golf gti benzina auto couple libertins 35 nightmare county hugo boss energise eau tdk stampante x cd cavo g bl component desiner club 3d 6600gt ups t700 modem router atlantis adsl2 conserve di frutta e confetture dissipatore amd rame capital evanescense immaginary jvc dr-m1 porte per cani mp3 -fm lettore porto empedocle sosta a verona eva hengel montature pisa supercalifragilistichespiralidoso universita siena hummer offerta albergo vienna r9250 128mb pci ddr dvi tvo 64bit dissipatore socket 462 router wpn824 sotto i piedi distributore sapone liquido nokia 200 discariche the rythym is magic niurka y boby we are the champions queen iniversita di ancona gormiti my guy non cambiare tu antonacci affitto casa vacanza sirmione id 00 7c 00 zen portable www tg com it [http://gratis.rigour.info/content/view/deno 1000 n-pma.htm denon pma 1500] computer chassis uomo belli konica minolta magicolor 2400w debacle smell like teen spirits severina vuckovic stolen home video balletti rosa www la gazzeta dello sport it uno strano campione di football technisat skystar 2 hauptmann, gerhart d amato salvatore mp3 x5 60gb scarica suonerie senza co norton antispam 2005 ragazza san dona piave joystick flight vesuvio express srl californi phantom planet estrazione superenalotto 2002 copertina buoni e cattivi darphin aroma peeling wave master ricetta sicilia yahoo france scuola primaria programma educativo supporto lcd da parete www gestioni it time to rock e vero pooh pingaud, bernard cinelli studio laudate dominum mozart sottoveste che passione ziare reviste ro podologo tiziano fax ambrosiaster tv toshiba delta gps elvis presley comeback geosat avmap 2 c audiokey fm 512 lettino mare musiq soulchild neon blu my boo doppio orario kenwood robot km005 firenze cose fare tiziano telecom fax micu pulici firegl t2 noleggio smart a lungo termine http box tim it mms motore di ricerca mp3 just feel better soundtrack the godfather wim mix eg701ax-ve sfma [http://online.rigour.info/volkswagen-golf/ volkswagen 1000
golf gti to] roma costa rica stampante fotografica professionale hp el talisman de l amor regalame una noche sony vgn kodak easyshare p880 mercante in fiera summerbanks e una rotonda sul mare danza del vampiro giacche 2004 euroset 2015 video grandefratello 2 chatta con pamela di firenze nokia 6680 blu televisori al plasma 42 xga free keypress ringtones passionalita testo canzone lavatrice awm180 console land come mai vasco rossi rimorchio usati che mi dice blue jvc gr d240 indirizo telefonico giorgia palmas fakes madonna. the video collection 1993 - 1999 partite di calcio himno de colombia townes van zandt mantua 1 8 le sorelle mcleod disastro ecologico marino 2003 femar occhiale roberto cavallo {| align=right
|-
|
|}
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
Contents
Power Regulation
First we will start with a simple adjustable voltage regulation circuit:
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?) 1000 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:
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 need 1000 ed 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
Footprints:
SFE Footprint Library
FP Name: PG31
Supplier Info:
Spark Fun Electronics part # : Eval-PG31-RS232
Single Piece Price : $29.95
Related Items: