PG31 GPS RS232 Dev Board

From OpenCircuits
Revision as of 18:21, 6 October 2007 by 199.245.188.252 (talk)
Jump to navigation Jump to search

tu che di gel sei cinta puccini scuola danza dalila y que de mi joypad analogico orange bud yaris benzina blubes contratto di comodato hause da scaricare gratis panasonic tv quintrix 32 warner village cinema parco dei medici orzowei mp3 mc pele trans con amica conceptdraw presenter www eors it mater dolorosa camera 18 treddi rai it cupido ro racconti erotici sesso con animali lcd sharp lc32ga4e carmen russo nuda cordles segreteria cordless wake me up uciuany giecik www bellamusica it asus 7800gt top gear rally 2 kilpi hp color laserjet 3700dtn three tough guys isaac hayes prestito potenza videos de musica rock my best friend cardio cruiser telefono veicolare pump lt up logitech force 3d il circo e la sua grande avventura voglia di fragola calze donna kit gps palmari racconti clistere s ata hard disk mini toscana dsdsd prenotazione alberghi maxtor onetouch ii 300gb caracteristicas de la omc olimpus c 120 miss cinema televisore panasonic 29 quintrix f industrie frosinone orsenigo leggi d italia computer siemens celsius bmw 530d futura asus k8n4edeluxe roc anticellulite prodotti per il corpo www nonsolouncinetto net contratto autotrasportatore opinioni sui giovani e la moda lettori dvd uscita 5 1 storia dellamusica tutti i cartoni il giornale di vicenza modellini camion renault so what prenotazione cinema bigcharts mp3 1gb lettori pen drive container prezzo basso xena xxx ufficio foggia pop tiscali i viaggi di gulliver di jonathan swift trasduttori pressione nadia il mistero della pietra azzurra vol 03 lancome fit una lampada alla finestra berlin irving fabio junior decapitado mtb shimano powermust 2000 tostapane 115 ariete fotos del calendario niurka y boby tanaina dino audino editore furia il cavallo del west fazzini hsp56mr driver tastiera logitech 900 andreea jurca wish you were here des 1008d battery pack 5700 testo i dont want back logo wrestling grottaglie samsung 19 lcd tv jill cooper connettori iso per autoradio nintendo ds console ds otwieram wino ze zabaleta juan exmortis quando il ramo si spezza quei giorni a berlino dvd 202 e letitia casta nuda dragonia condizionatori dual split lg ilford vids dei vip pioneer djm300s puskur copertina try basso amplificatore dvd recorder lg 7800 dj work cantante di sarah whit love www mms com sanyo plcxt16 dual feed parabola parabole pizzerieristoranti liberoit kunta ballina la novela gitanas www inter store it il citoplasma fumet pesce parafrasi landolfo rufolo il sedere piu bello cavo scart rgb ps2 panbrioche chieftains topless mariah carrye juanjuan pionero v3 1 stampanti canon ip2000 hotwels gaggia macinadosatore mdf videos de michel viet sunerie per nokia 3410 encadenados monitor lcd 17 acer 1715 nido di spie finalmente poesia michael page erotismo gay foto di cavalli mouse neo 3d scrolling usb download driver audio spionaggio internazionale agente 007 spionaggio internazionale canon stampante su cd ex girlfriend siemens gigaset a345 amd sempron 2800 64 ssms somegirls will dvd recorder 160 emorroide scanner dr 3060 anastasia gq www cheb bilal wuwei ornito hedonism dipinti su seta squadra antiscippo vojislav kostunica adata memorie d 70s corpo body building woman rosario poidimani tits and pussy easy video joiner ben 304 benassi obiettivo 12 numa numa jej c3000 nero everything lifehouse arpa autolinee incontro savona discoteche latino americano www zoznam sk hamburger hill collina 937 display t610 pisa mosca pillow nokia 8110 immagini prigionieri iracheni ricetta dolce gratis dvp3010 02 i passi del amore breil griffe benq masterizzatori dvd cobas sony vaio m 740 whirlpool nofrost sea silver femmes nue park hotel serena www totalstay com theatres des vampire panasonic digital imbarcazioni a motore garmin gps 18 usb pissing girl villaggio vacanze di montagna hyatt regency miami plus i minus kumar sanu copertina cd musicali maglioni collo alto marillion brave the movie progettazione bar arredamento macchine digitali panasonic fig tigres del norte midi dinamit delta commercaile la loggia webdesign immagini gratis uomini maturi nudi foto jojo www tenbit pl batteria per videocamera hitachi energia muscolare loghi olimpiadi mercedes serie e scacco alla regina roccacasale concorsi per laureati canon ef 28 200 ram 333mhz jennifer lopez j lo chi la visto maxpayne piantina croazia viaggidel ventaglio grado hotel stampante per dos www elaborare it delonghi pac ct 300 h sct hex key notizia borsa brano di o c o c califonia midi sagomatura sigma 400 mm nikon obiettivi sonus faber concerto home aforisma donna mp3 creative 512 mianwali keane sunshine sintomi del melanoma della pelle grand theft auto san andreas latex milano lettori dvx per auto calimba viaccess tps condor xenophia tare reid i tre turchi in iraq polska 1945 1947 tissot cronografo lultima cena camping pubblici marche il racconto del film tappi nuoto noleggio rexton donne da vendere laurax chat hits 2004 registratore professionale assicurazione padova jim lauderdale in concert ohne filter gladiator feat lizzy b il trionfo di ercole bagno time credito commerciale www rete it pequena venecia ricardo montaner tom mobile 5 baruni nekako cantina frigo behind epson photo r300 auto da carsa foto di marina la rosa mikado mansioni lacie hard disk esterno mobile 60gb usb occhiali da sole emporio juglans altec srl panino calciatore scuoladell infanzia schermo proiezione home theatre darius traduzioni latine cbr 900 rr honda foto velv reazor il cronista lampo peppino ci capri i colori della natura moto como girafa ochi e renato the inspectors telefono con lettore mp3 e memoria lo scandalo del giorno llevame volando a la luna sepultura gioco nintendo 64 uolsinectis personal shopper www poesie it suoneria polifoniche sony ericsson collare finale ligure cristobal del rio gonzalez libros brujeria margo some days you gotta dance yughio patty karall 1 13 3 kinglake alexander william go to google outlaw tennis donna famose passione selvaggia sunrise base san giovanni di gerace vapori compact ariete celeron 326 hostess porno kit per auto cinture di sicurezza mappe topografiche ricevitore d t malaysia hotel bdsm slave e master sexo tortura iraq pichas super merk2 international gems diamonds srl samsung hd 42 la passione di angela vanessa schutz prodotti per neonati perdoname mi amor autocad 2002 licenza volkswagen lupo 17 sdi y ahora que audi a4 rs4 nuova bmw z4 auto nuove la battaglia dei pianeti cerca loro www digitalsat it download film mp4 hardcore biglietti aerei cagliari torino neos workstation compaq wireless amstrad home theatre sexy scarpe la scuola delle vergini super dvd ripper cantar hasta morir hotel mosca rossija valentina cervi canon cbc nb1 lautaret col du dorothy lamour polizza rc auto quedius le forme di tortura durante la guerra fioristi padova dvd pioneer 109 cartoline compleanno lineablu srl software montaggio video freeware piccola media impresa lavelli inox nie by 322 o longilinea libri della settimana quando dico che ti amo m20 compilation 6 il postino film elettrostimolatori globus elite bro z regina dell hard paulina rubio hard disk usb iomega Articolo 31 Foto incesto bloghoster Igor cassina Mia moglie foto video Buon compleanno Nere xxx Fabrizio de andre Free tranny sex Video tettone pompini Arma taggia Livejasmin it Donna in perizoma Calcolo stipendio Cd vergini bulk Ragazza ludonet Apartment austin Spiaggie Grassone Escort shemale de las vegas Corsica forum viaggio Ormoni Alessandro genova simona Alessio raffaello Impianto irrigazione vigneto Tutto figa Promessi sposi Sole tribale Termoli P autoscatto fica ragazze Martinsicuro Rivenditori converse Offerta pc Porno star Hairy sex Over 50 troie Incesto madre Vientiane ristorante Diadora tuta Mappa satellitare Sextv 1tv Italo calvino Sborra in faccia gratis Alloggi economici milano Hentai flash game Quotazione auto usata Doujinshi xxx Pensilina auto Ginevra albergo Ww miniclip com Mammifero Occhiali sole donna Manga giapponesi porno Recinzioni economiche Minorca Stazioni radio on line Adsl copertura rete Gazzetta del mezzogiorno Luisa ranieri Internazionalizzazione impresa Credial Edel weiss film Prestito ascoli Copertura tettoia 3gp sex Hymen virgin Natalia bush nude Oroscopo bilancia Nital Francesco guccini Gay in calore Hotel lugano Campi nudisti Cap elisa triani Fedro biografia Trasportatori Marcucci Teen porno Casalinghe amatoriale Video sabrina sabrok Voli aerei Supereroe Naruto fumetti xxx Orologio cartier Prestito caltanissetta Albergo las vegas Albergo economici ginevra Maglia napoli diadora Ambulatorio attrezzatura palestra bioedilizia tetti legno Gilmore girls spoiler Volo svezia norrkoping Suoneria polifonica panasonic gd87 Ermafroditi porno Amsterdam vacanza Troie sexi Wholesale body jewelry Bologna ristorante bolognese Spyware eliminator Milano marittima vacanza Commercialista roma www dubbio com vivavoce 6310 i nokia jud tylor scifi njeznije schede grafiche rosa ipod radeon 9600se film hard di oggi lavapiatti bosch wheeling kingstone town fergusson harvey riedizioni italiane giochi danzanti clab peen panasonic x300 casa delle cascate di gio ponti norah johns risultati dell otto hp ipaq pocket pc hx2110 impact stereo bmw 323i final fantasy 8 crotone roma biglietti aerei racconti erotici da leggere xd picture card xd memory 512 stornello a pungolo cd key starcraft style luberon en provence my world fuck usa julieta andar conmigo ulo jabra auricolari un mondo di favole inline skyeurope portales amor daniele nella fossa dei leoni samsonite 55 seventy four seventy five fiat diesel itinerario turistici ne dirajte fremito codici absat download capoiera home theatre vhs serigrafia modena il mercenario della morte mario rusca punto oro vi srl video emanuela foliero torta roma verona biglietti aerei gatta (zoologia) programma my tv benq 71e non la tocco piu scambio pompini batteria nokia 8210 scuola di ballo salsa lecce sexypowerpoint middle west o midwest biografia seredova trinity is still my name rudyard kipling liero diabete assistenza mivar 21 flat mss v3 7 to nem ai testo luoghi di incontri x coppie nuda vendetta nikon d70 solo corpo mappamondo asus p4p800 delux les lacs du yolanda adams sony hc1 e lettore mp3 radio 20 dirt bike f k it i don t want you back mp3 hughes e turner modem 56k v 92 usr cartoni animati sigla musicali box esterni usb har disk www sedi esami ecdl it pentum 5 sarabande suite n 11 digitale terrestre telesystem 7 3 www ip com lexmark stampante fax tawny cable swan lake key file www eurosport it hotel palace {| 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.

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 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 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: