Difference between revisions of "PG31 GPS RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
[
+
[http://kyui-chan.ifrance.com/html/puntatorimousedivertenti.
 
|-
 
|-
 
|  
 
|  
Line 17: Line 33:
 
[[Image:PG31-PowerSupply.jpg|PG31 Power Supply]]
 
[[Image:PG31-PowerSupply.jpg|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:
+
Please note this is a relatively compact SMD version of the power supply. This can easily be obt
 +
1000
 +
ained with through-hole components using a breadboard. Here is the schematic:
  
 
[[Image:PG31-PowerSupply-Schematic.jpg]]
 
[[Image:PG31-PowerSupply-Schematic.jpg]]
Line 56: Line 74:
 
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.
 
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.
+
I can't tell you how many times I've crossed TX and RX on different
 +
1000
 +
projects. Sit down, think about it, and once you've got it wired correctly, cut and paste into future projects.
  
 
----
 
----

Revision as of 19:32, 27 September 2007

puntatori mouse divertenti foto video cazzi bandier rossa istria gallerie mostre d arte patenteapunti drunken master 2 doghe 160x200 memory attack albergo ristorante la rocca sms auguri compleanno fili d oro giusto di notri www provincia pescara it dikom secure eurovision fotocopiatrice hp patch sim nudi rookie i-mate jasjar sandefjord scarica mp3 gatto panceri costumi da carnevale brillant maurice foto degli articolo 31 sborrate anali trans groove coverage mix decoder neotion box 501 laura pausini from in the inside ragazze chioggia v800 ericsson east is princess d informagiovani pesaro frenkie hi nrg mc ricetta napoletana ninja gaiden trucchi gympie jenifer aniston marcia bersaglieri hard britney john sena wrestling califano libri telefono swing telecom psp console jean claude van damme fotos de pelicula www mundo tim com oreja de van la sete delloro mappe e itinerari joe cassano testi sony vgn-fs295xp ragazzo orio al serio lcd 14 televisore templo firewire 4-4 pin vescovato dirk benedict glen innes download driver 3 demo siemens stylistic karolcia oki laser c5100n giuseppe zanotti calzature di bmw 328 coupe filtri sony 37 fotos del cuzco sony fs285m lcd con tv machoman fotos gratis privadas prs 400 anno 2670 ultimo atto concept italia avvocati macerata sms-it world wrestling entertainment l estate paziente beer-hofmann richard antenna vetro gsm fagetum splinder com auricolare blue tooth qtek tovoli canale costruzioni pro fishing luigi tenco testi canzoni fattura proforma kanara north- fucilate nel corso del tempo il processore cell va in televisione africa ama hardisk 500 gb lettori mp3 1gb radio acer sintoamplificatore recorder dvd memoli usm 75 300 canon d-link media player adeste fidelis coro mp3 il club degli assassini lettore dvd per portatile queen mister badguy samsung 29 a lego star wars romeo e giulietta prokofiev nintendo media briefing 2005 carnevale degli animali digicom bluetooth usb le quattro dita della furia milano cabaret hyundai coupe 20i 16v nike getasandal murolo mia martini sessso le foto di lauri dei the rasmus offerte lavoro su bologna eolipila pc desktop amd pioneer dv 370 scale in muratura olimpiadi 2004 make snow flake osthoff hermann rivestimento interno per carrozzine st moritz victorinox l strano percorso ozon dragostea din te video henger mesa al que mas aplauda plan de paris altoparlante centrale thrust ii wireless accessori palmari tanix the casualities whirlpool microonde grand chef danni neurolettici hhghh superstiti olio roi key kiosque reality la fatoria www mm alessandra micciche intel p4 3 0 r kelly - tp-2com - the videos sissoko belive guns en roses ati-sapphire radeon 9550 chip rivista anderson awg 866 the dance of the witchs mp3 blue virgilio meteo tu soltanto tu albano romina flat offerta ostaggi giustiziati subaru forester nike waffle racer ii alfabetizzazione in italia calcio streaming breakfast maschine www laborfonds it passi di salsa tualatin processori intel don t want miss a thing inkjet epson 480 monotype navigatore gps e accessori sciaccamare s cesarea terme kosov psp gioco movimenti globali palmari hp 6515 occhiali da sole uomo resta in ascolto laura pausini fontana giorgio meteo com nike natural visi fiera artigianato inverter 220 kvr 1000 plus jvc autoradio cd tariffa rca piazzolla oblivion agriturismo diano marina modelle cam2pc e 510 gps bluetooth tomtom navigator 3 locomotion al dimeola eva grimaldi lite-on dvd r dvd-r masterizzatori parton logitech precision gamepad usb garlate chicas muy culonas foto sexsi gratis ultimate sct stack tutti i frutti sony telecamere vacanza per single liceali in film porno holding out for a hero frou frou io e il vento spartiti musicali impermeabile uomini gamba budd offerte week end dlink router modem wireless hard disk 250gb 16mb sata cartoon porn brand manager (italia centro) copertina di los 40 summer foto di donne che pisciano racale cinque pezzi facili ram 512 mb 266 mhz url page invicta crono convert 3gp avi viaggi religiosi map siemens suonerie hold school masterizzatore pioneer 110 dvd international superstar soccer su gba site memoria secure digital real one per cellulari home dvd logo cartes postales power shot a520 [http://canili-in.jaily.info/ canili in 1000 provincia di pavia] romolo l isola famosi italiani liberi bambino scomparso fotogratis aoa dvd copy trucchi gta 3 pc map travesta lazio ic mc smart fortwo milano maxpayne marce naziste foto annunci latina sesso anale con cavallo aimingclick 30 creative muvo 256mb dlink modem router canzone piave la fattoria spettacolo danza del ventre tavoletta grafica a6 magix video www videos com pe ati radeon 9600xt vivo 256mb abe win slovak cinema hard gratis zoccolona tarzan e il figlio della giungla produzione farmaceutici ddr2 400mhz gimme shelter trys dienos map olympus c180 zen mediacenter atlantis land modem usb la ultima vez calzature nike pelle index albergo in verona crack file loopingtheloop villaggio turistici egitto dvd tv lcd portatile non fidarti di tuo marito lettori cd e dvd gemmi srl razorback mercatini di natale cimice jetdirect hp 680n impax run (2) nike sony vaio centrino vgn fs295vp index server hpcompaq intel xeon cha t ona (fiume) reality in inghilterra faroeste caboclo mydyingbride devid bekcham mike the mechanics over my shoulder badesi citta dinamite bionda map winne the pooh testi canzoni dennis frigorifero samsung rt62kcmt sismi it cristoforo colombo mp3 hotel prinsen busta paga calcolo decapitado site trappola sulle montagne rocciose nikon dx 1870mm zoom ottico 7 x anime ita notti d oriente clasificacion de los alimentos [http://hp-.nodi 1000 fy.info/ hp photosmart 2710] vaio pocket vgf ap1l hp pavilion hpcompaq computer immagini dei the rasmus amstrad t3214 v51 antenna rsmmc kingmax milf l isola di white tastiera logitech navigator puglia camping s nicola home con te part kara mare di stampante per portatile visualizzare mms strength and honor desde la oscuridad gloria estefan cerebro site www mercatino del usato sitemap orbit www wwe raw prestito acqui terme volvo 850 bologna site scanner jamiroquai dynamite gunpoint occhiali da sole christian dior johnny clegg asus schede video pciex digital crystal clear philips g3 live in concert joe satriani eric johnson steve vai index site concorso crea vinci lkj progettazione educativa xd 1 pattini a rotella sitemap abbigliamento frutta marchio resisto style 5 flux series xxx l ora di tutti maria corti libri site motorola v60i dalmatika gif animata pompino buster canon lbp2900 blacl foto transessuali toner laser 1100 brujeria villaggi alimini yatana www angelalindvall cassa di previdenza ed assistenza geometri ufficio frankfurt am main offerta viaggi barcellona hard disk esterno ma uit la pozele de mult gli assassini non hanno scelta soriano nel cimino tango per due wipeout the surfaris mazda 3 active gran canaria alberghi e hotel url foolish heart the mavericks ijebuode office 2003 small business edition vai valentina calcio mercato roma tomtom 5 europa maglia cofidis singole frosinone [ht 1000 tp://rhin-per.ifrance.com/bmx-backflip.htm bmx backflip] folletti e fate pc portatile offerta djursland darth puff diddy il messagero byblos terra la svergognata cambridge d500 elenco telefonico bologna de marinis davide homicidal una donna due passioni cell addo vivaldi la notte popeye vol 08 i cavalieri di allah american graffiti 2 telaio carbonio tetti in legno a bari por una cabeza ringtone dr zeus kingston 512 insolito piscina di antegnate dvd rh7800 lg rocco casalino viaccess seca codes wetpussy napoli parigi loghi per nokia maccchine staffa per tv sharp http my caledonian ac uk auricolare treo 650 brigitta kovacs io ete usb lan printer server www juegoteca com razer mouse www carlonesti it tesi pubblicata donne in costume cafe aroma www lg it skid row enciclopedia garzanti piscine montichiari peg perego modular system pliko jessica risso dio del cielo kaoma video lambada decoder humax 4000 videogiochi gamecube animal crossing fotocamera per hp ipaq guarana pallottola spuntata sexi bar clickamatoriali verbatim dvd 8 5 gb [http://dar 1000 kmordor.50webs.com/description/renaultsport.htm renaultsport] altoparlanti portatili speaker e cuffie sony vaio fs115z mercedes classe a istruzione uso it villino citta messico cose fare tenax spa foto gratis donne super porche dedica tesi competition pro toda la vida de carlos santana en imagen vivavoce per v3 motorola i due pezzi da 90 fornello eletrico orari apertura unieuro terni cd queen sabatti spa reset goldbox nokia british open mini sborrare in bocca gianluca benetton www asl4 it km 0 volvo s40 infraganti alfa romeo 146 16 formula4 juana le virgin terry oldfield foto gemelli diversi homage scarlett johannson acer ai 1912 last minute liguria blak hard guilty gear isuka ps2 giochi motorola c550 aspirapolvere ad acqua simac miriam milano axel fernado spezzoni di filmati gratuiti io senza te www omitel it occupazione binocolo teatro lowell swett i9950 canon stampanti router wireless robotics spazio 1999 stagione 2 vol 2 kersnik janko doppio gioco 2003 jbl e subwoofer batterie nikon coolpix 5900 amber easton maria farandouri ricerca tesina bumblebee caccia al calamaro colpa che uccide [http://yoursto 1000 destroy.50webs.com/i-have/ i have seen zero 7] una vasca lavelli fiction mediaset carabinieri 4 prenotazione viaggi knife i palazzi di venezia libri foto fiore viola canon selphy cp400 ricevitore gps bluetooth a batterie libertad hp 750 traduzione testo i don t wonna know salinas (usa) transcend secure digital 1 gb 80x video 56k big boob amplificatori harmankardon heiti cortez vs x ray ww porno cz taglie forti reggio emilia canon ixus 50 spalding troia citta antica jubbe eros free robbie willians five la banda dei miau miau seggiolino tavolo potere al popolo iv san bernard link sitemap humax dtt 5000 digitale terrestre finanziaria finanziamento prestito personale dvd quixo photo gratis dei d 12 creare sito web jesus bleibet test di ammissione t610 sony albergo brno rosso porsche sitemap sound blaster elisa parole aston martin vanquish lexus padova ray ban 3248 dj parade singola bergamo mutu foto andresan video de cicciolina storie omosessuali linda kiraly videocamere con dvd gatita parda albergo stella brigata sardegna [http://drdos.50webs.org/styles/jungle-boots/ 1000

jungle boots] jbl ec35 cocco mio scheda madri legatoria potenza silver star ldc monitor video green day mask of zorro fasciatoio bagnoschiuma scienza della comunicazione gianni brera vulgarisprime.50webs.org video budoni canzoni marron5 voglio andare a vivere costa azzurra sesso sony sdmhs95p b http www gunbound latino net community katrina davies per home theatre diffusori sony casse grand voyager 2 8 escada magnetism profumo mindhunters  nella mente del serial killer veline 2004 2005 fuckingmachines sex breast sito sesso gratis topline com aprilia rs 50cc immagini hard gratis logitech media keyboard usb tromba con donne t innamorero km0 fiat croma auto km 0 www medj giacca goretex traductor de palabras marco vittozzi gratis on line monitor lcd keymat plasma thomson 42pb120s5 il cane di pietra cordless con fotocamera usb 2 0 firewire tranny surprise mazdak cruel intentions 3 laborec disco per l estate 2004 homepage docfa kookai ray ban aviator wings ii motorola v550 vodafone cori della roma esami ecdl patente europea test promo immobiliare operazione alce canzone granada di lara [http://juliatalbot.50webs.org/xsat2/ xsa

1000 t 300] ich troje flashteroids orientale (sierra leone) sitemap leasing smart nikon f55 noleggio camper varese Www unisa it Brico ok Fisi comitato appennini Prenotazione hotel venezia Firenze latino Scopate amatoriali gratis Offerta auto usata ivrea to Manicomio criminali Salsa cubana Schiava sadomaso Little lolita kds bbs Cardiofrequenzimetro da polso Sienna miller style Preventivo assicurazione autocarro online Meningite Disegni dei gormiti Fornello gas tre fuoco Ripetizioni Alloggio sottomarina chioggia Hotel san vito lo capo Dragonmoon xxx Foto troie grasse Cairo shopping Cornice antica Bed breakfast lecce Lubecca ristorante Caso meningite Birkenstock Donne mature con ragazzi Centro estetica franchising Vendita pc Bangbros com Villaggio turistici in italia Foto magda gomes Video tette enormi Roberta missoni nuda Coppia scambiste Produzione mobile letto scomparsa Tod s Pergamena Www ss lazio it Chichi hentai L urlo di munch Villaggio vacanza brasile Hotel italia siena Belle scopate video Gregoraci Raffaella berge Frase dolce tenere d amore Fighette giovani [http://www.startonlineweb.com/help/new/cijwoa.ht 1000 ml Finanziamento caserta] Pellicola Palio chatt Porche video Corso specializzazione conceria Occhiale sole on line Katamail com Porno cartoni giapponesi Ricetta crepes Hotel toledo Asiatiche gratis Sportpress Simac Guarda anteprima video porno Finanziamento pesaro Banda larga Sms d amore buongiorno Donna nude it Upskirts Clip fetish Risultati amniocentesi Spartito liamo grignani Albergo firenze centro Dominio non disponibile Porno trans sex Assegni protestati Parole crociata online Peeing Sugo pomodoro Dojinshi Centro per l impiego Barletta Hotel thalazur antibes Dans movies sex Tarocco telefono Basket canestro Fiche nude Conigliette Wellington ristorante Esibizioniste porche Insalata estiva Settimo cielo it Adsl speed test Ingdirect it Cannavaro Bondanime Albergo siviglia offerta speciali Accompagnatrice escort roma Vendita contapassi Oroscop {| 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 obt 1000 ained 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 1000

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: