PG31 GPS RS232 Dev Board

From OpenCircuits
Revision as of 13:41, 25 November 2007 by 194.69.1.23 (talk)
Jump to navigation Jump to search

hyundai swingers anime hentai ab lounge winter tire pet urns hair style picture 3d wallpaper las vegas realestate green day old pussy mitsubishi galant raymond weil watches sex stories guaranteed approval bad credit loan bridal wear high school diploma online natural remedies work at home assembly universal studios spyware free promethazine mexican recipes yellow freight full games free download callaway golf center lasvegas bratz kidz claims processing shower valve inmate locator women looking for marriage sex teen pics goglee costume rentals quest phone company hondaaccord australia honda mopeds cheap dirt bikes timex watches home made amateur porn how to install shingles discount bedding cricket wireless pussy movies diva jewellery storage pods telecommunications spyware removers blackass diet coke wireless internet booster free chat web cam ryanair cheap flights celeb gallery georgia single backgrounds precose casino slot bvlgari assioma sexy men new jersey postcards books california car columbia house camas music downloads solitaire 13 amateur adult video free calendars sexy woman photo crocs oldsmobile cutlass supreme white big cocks red hot chilli peppers wedding programs delta airline flight nude women photos flights to las vegas milo manara used bmw time share citalopram hydrobromide blackcat scans office xp cd key missouri newspapers debt consolidation loans enterprise car rental britney spears nude rolex watch lamp parts printable wedding shower invitations pussys divorce laws yamaha venture 1983 adidas shoes folding tables videobox young lesbian sex raptor 660 girls bending over here twocows acne solution name that tune sex in the tub free facials no credit card porn cottage furniture pussy and boobs catherine zeta jones nude fist fight bionca very young vagina kelley clarkson map magnum boots nicest ass warehouse management software selena steele vitamins and herbs hello kitty party supplies asian girls kissing medical billing and coding course online destin florida vacation rentals adult fuck free latin porn here here largest dildo mature fisting here treat painful feet free teen sex movies rar files manga girls scooby porn country stampede home bangbus rene sesso orale playboy pics dildo vibrators nude personal ads roofing materials slate hog tied here colorado clothing addicted sofia vergara nude cum squirt hot housewifes nigger sex under the bridge webcamgirls home perv free lesbian action csi theme song good porn stars lingerie sexy sheer jenna jameson lesbian bikini contests nude cock ship in a bottle physical abuse cuban cigars city of plano erotic disney vomit sex anal comics horney girls hilary duff fake nude sheep sex hot shit home perfect wife indiana female escorts buy fragrance beads online here teenage lesbian glendale storage rentals addicted simple plan big breast lovers best penis enlargement pills child care software shower porn nakedbabes porn clips bukkakke moulin rouge soundtrack lesbian porn sites nudist pic super hero sex nudist photo gallery aaaa anime schoolgirls winnipeg public library survivor nudes horse racing games sell my house chopper free music ringtones zyrtec d truck trader waltham pocket watch cheap airplane tickets download free movie add url free mobility scooter hard drive mechanic gold latest nokia mobile phone automotive paint free sex movie password icoo loader boats for sale lifestyle fitness centers tudor watches lingerie sexy crohns disease travel chanel shemale dvd map of florida wholesale toys space poster sexygirl coin values home alarm dildo pussy [http://emilmijares.com/images/thumbs/pics/jrq 1000 bgt.html aol videos] japanese comic books asian whore new york post buick engines work clothes download free motorola ringtones college scholarships car classic grundy insurance free templates sexy pictures big tex trailers dte energy music theater passions sewing machine obesity room divider wholesale mahjong free online tv cover girls form atropine lawyer hud homes jet blue northwest airline ticket christian singles online overseas pharmacy dilantin bondage videos michel viet asian clip free porn video doxycycline psp porn mp3 audio book fat thick women eph200 diet pills anna nicole smith nude health and safety signs clubwear phentermine without a prescription in florida leptoprin friendfinder free bondage pics thiothixene quadriderm yom kippur noni juice lesbian movie download free kidney stones jobs online pregnancy test generic vicodin [http://a 1000 hsclass54.org/cp/images/digits/LED/leds/1/rcmxdj.html fortis watch] christina aguilera pic no deposit casino free us cellular ringtones splenda side effects pnc bank new jersey swimsuits gingseng what is rheumatoid arthritis acyclovir cream watch lesbians sex avelox celcom caller ringtone bathroom design hamilton watch sleep apnea symptoms treatment xenadrine rfa teen swimsuits sexual pleasure have a little faith in me horny twins xxx porn videos maryland real estate listing bulk flowers south dakota hunting guides kari wuhrer nude here naked eminem cyber love poems psp hacks bavarian nordic guys showering how to reduce stomach acid alissa milano nude columbia missouri beckham nude swan princess the spanking news bondage directory map russian lesbian juicygals girls hot busca sexo home direct track gps vehicle tracking home long puffy nipples handjob cumshot dirty butt gay russian boys wishing on a star sexy white girls tortured tits map page sexy nuns nude cruises party slut surplus camping equipment asian tranny girl squirt shemale escort [http://porno.eskout.cn/free-lesbia 1000 n-video.html free lesbian video] drafting machine south carolina sex offenders foot massager used car ratings here essay topics page daniela pestova nude twinkle twinkle little star erotic teen crafts for kids ass shaking home sonic xxx painful fuck temecula website design paris hilton sex clips jersey shore vacation rentals naked soccer moms page adult swingers karaoke software schoolgirl spanking page sexy swim suits sexy neighbors kelly clarkson a moment like this how to win lotto toyota dealer sacramento big brother 6 nude map city of las vegas herbal skin care weight gain birth control celebrity tits naked underage boys anal sex trailers luna pier jacket fuck daughter hamptons long island las vegas realty companies here grandma fucks grandson sexy secretaries windsor ontario japanese schoolgirls lolitas boys toon fucking here funny and sexy horse sex videos php flash map {| 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 1000 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 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

N 1000 ow 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: