|
|
Line 1: |
Line 1: |
− | [http://liable.portrelay.com/macromedia-flash.html macromedia flash movie downloads] [http://liable.portrelay.com/mammalian-circulatory.html mammalian circulatory system] [http://brief.portrelay.com/little-oral-annie.html little oral annie movie] [http://destin.my03.com/ramada-inn-at.html ramada inn at nag head beach] [http://slunk.almostmy.com/new/bead-jewelry-kits.html bead jewelry kits] [http://catdog20.hostinggratisvenezuela.com/abi-titmus-video.html abi titmus video] [http://skein.yourtrap.com/mil-std-810.html mil std 810] [http://devorasievert.w8w.pl/articles/newborn-guinea.html newborn guinea pig] [http://knight.portrelay.com/topic/anaconda-angela.html anaconda angela game] [http://lorettamcglade.w8w.pl/symantecstore.html symantecstore orderlookup] [http://novel.ftpserver.biz/concrete-pavers.html how to install concrete pavers] [http://devorasievert.w8w.pl/articles/rubber-band-man.html rubber band man] [http://unwise.ninth.biz/web/my-first-sex.html my first sex] [http://liable.portrelay.com/rave-party-flyer.html rave party flyer] [http://prater.dns05.com/lib/coffee-clipart.html clipart coffee free] [http://kerriecrook.w8w.pl/mts.html mts] [http://frame.portrelay.com/steelers-super.html steelers super bowl locker room hat] [http://unroot.my03.com/data/pontchartrain-fresh.html pontchartrain fresh water] [http://avrilkdo.hostinggratisespana.com/topic/colored-contacts.html colored contacts] [http://knight.portrelay.com/topic/finder-people.html yahoo people finder] [http://erset.ddns.ms/exotic-lesbians.html exotic lesbians] [http://eloisapettit.22web.net/library/boyslux.html boyslux] [http://olesinok.hostinggratisespana.com/library/wet-her-pants.html wet her pants in class] [http://thestarsgoblue.22web.net/html/nudists-pictures.html nudists pictures] [http://unroot.my03.com/data/slaughter-family.html slaughter family] [http://slunk.almostmy.com/new/nude-codes-for-playstation.html nude codes for playstation] [http://lulawork.w8w.pl/topic/tempo.html tempo] [http://unroot.my03.com/data/drowning-pool.html drowning pool - let the bodies hit the floor] [http://novel.ftpserver.biz/teen-cutie.html cutie young teen] [http://brief.portrelay.com/tax-on-property.html tax sale property] [http://angers.my03.com/description/ministry-of-commerce.html ministry of commerce industry government of india] [http://betsyharwood.w8w.pl/resources/registered-agent.html registered agent] [http://griscool15.orgfree.com/view/fin-whale.html fin whale] [http://sleek.portrelay.com/text/utena.html utena] [http://brief.portrelay.com/18-years-old.html 18 years old] [http://knight.portrelay.com/topic/penn.html penn station] [http://frame.portrelay.com/3gp-songs-video.html 3gp songs video] [http://deonseymour.coolpage.biz/wiki/free-online.html free online sex videos] [http://brief.portrelay.com/individuals-with.html individuals with disabilities education act] [http://angers.my03.com/description/that-hurts.html that hurts] [http://annual.portrelay.com/small/7-up-candy-bars.html 7 up candy bars] [http://novel.ftpserver.biz/teen-breasts.html teen girl breast] [http://chandaspalding.w8w.pl/home-inspection.html home inspection service] [http://anneliesechewni.22web.net/web/naked-men-masturbating.html naked men masturbating] [http://krolyaka.hostinggratisespana.com/chinese-supermodels.html chinese supermodels] [http://kanesharawlinso.coolpage.biz/small/sf-chronicle.htm sf chronicle] [http://destin.my03.com/swingset-plans.html free plan for wooden swing set] [http://anneliesechewni.22web.net/web/water-recycling.html water recycling and reuse] [http://slanj.hostinggratisvenezuela.com/runtime-errors.html runtime errors in internet explorer] [http://unroot.my03.com/data/news-gathering.html news gathering service] [http://annual.portrelay.com/small/bean-bag-game.html bag bean car disney game toss] [http://dismal.my03.com/text/quad-cities.html quad city times] [http://princeco.hostinggratisvenezuela.com/library/soapstone.html soapstone] [http://frame.portrelay.com/the-wire.html lime wire free download] [http://griscool15.orgfree.com/view/trains-germany.html trains germany map] [http://devorasievert.w8w.pl/articles/home-owner-insurance.html home owner insurance quote] [http://cover.my03.com/resources/wwwcursororg.html www.cursor.org] [http://dumbe.my03.com/directory/eyes-are-watching.html eyes god their watching] [http://shiver.myftp.info/pages/moms-sucking.html moms sucking] [http://eloisapettit.22web.net/library/throat-microphone.html throat microphone] [http://mollyschippers.w8w.pl/new/acdsee.html acdsee] [http://shammersa.orgfree.com/blog/tit-world.html tit world] [http://bated.portrelay.com/pet-containment.html wireless pet containment system] [http://ladies.dhcp.biz/masturbating-tips.html masturbating tip] [http://erset.ddns.ms/erotic-pics.html erotic picture] [http://anneliesechewni.22web.net/web/alexander-cedric.html alexander cedric] [http://chandaspalding.w8w.pl/indianapolis.html indianapolis clarian health] [http://shammersa.orgfree.com/blog/digimon-tamers-yaoi.html digimon tamers yaoi doujinshi] [http://destin.my03.com/alovera.html aloe vera juice] [http://princeco.hostinggratisvenezuela.com/library/jingles-music-radio.html jingles music radio] [http://mails.portrelay.com/q/drpeppercom.html drpepper.com] [http://frame.portrelay.com/plate-techtonics.html plate techtonics] [http://saith.my03.com/videos-of-magic.html card magic trick video] [http://lorettamcglade.w8w.pl/knight-online.html knight online] [http://frail.xxxy.info/resources/underage-lolita.html underage lolita porn underage porn, underage pussy] [http://yearns.my03.com/wiki/architect-houston.html architect houston landscape texas] [http://brief.portrelay.com/tammy-lee.html tammy lee] [http://lorettamcglade.w8w.pl/gas-light-fixture.html gas light fixture] [http://lorettamcglade.w8w.pl/amputation.html amputation] [http://slanj.hostinggratisvenezuela.com/learn-guitar.html learn guitar easy read] [http://mails.portrelay.com/q/movie-search.html movie search site] [http://shiver.myftp.info/pages/plus-sized-clothing.html plus sized clothing] [http://dumbe.my03.com/directory/karaoke-custom.html karaoke custom disc] [http://slunk.almostmy.com/new/free-lolita.html free lolita pictures] [http://lorettamcglade.w8w.pl/steel-buildings.html steel buildings construction for church] [http://anamariasavard.w8w.pl/articles/mourning.html mourning] [http://shiver.myftp.info/pages/female-catfights.html cat fight boxing female] [http://slanj.hostinggratisvenezuela.com/pearson-canada.html pearson canada airport] [http://eloisapettit.22web.net/library/free-trial-porn.html free trial porn] [http://annual.portrelay.com/small/medalhas.html medalhas] [http://novel.ftpserver.biz/dildo-cum.html dildo cum] [http://dismal.my03.com/text/truck-floor-mates.html truck floor mates] [http://liable.portrelay.com/microsoft-xbox-360.html microsoft xbox 360 core system] [http://catdog20.hostinggratisvenezuela.com/shaman-king-downloads.html shaman king downloads] [http://cover.my03.com/resources/sr-71.html sr-71] [http://kerriecrook.w8w.pl/sachs-bikes-usa.html sachs bikes usa] [http://chandaspalding.w8w.pl/elbaum-world.html elbaum world] [http://frail.xxxy.info/resources/diet-nutrition.html diet nutrition physique women] [http://ladies.dhcp.biz/naked-swimmer.html naked swimmer] [http://brief.portrelay.com/rough-crossing.html rough crossing tom stoppard review] [http://anneliesechewni.22web.net/web/alkaline-trio.html alkaline trio radio] [http://krolyaka.hostinggratisespana.com/wall-sconce.html wall sconce] [http://unroot.my03.com/data/ex-wives.html ex girlfriend and wife] [http://kerriecrook.w8w.pl/jessica-simpson.html jessica simpson boots video] [http://store.portrelay.com/pole-building-kits.html pole building kits] [http://liable.portrelay.com/perimenopause.html perimenopause definition] [http://erset.ddns.ms/schools-for-troubled.html schools for troubled youths] [http://lorettamcglade.w8w.pl/fort-hood-texas.html fort hood texas] [http://unroot.my03.com/data/vacillated.html vacillated] [http://annual.portrelay.com/small/orbitz.html orbitz airline ticket] [http://frame.portrelay.com/point-edward.html point edward charity casino poker tournament] [http://frame.portrelay.com/legal-creidit.html legal creidit repair] [http://erset.ddns.ms/california-limousine.html limousine wine tour napa california] [http://destin.my03.com/george-carlin.html george carlin] [http://angers.my03.com/description/dance-mix.html dance mix] [http://sleek.portrelay.com/text/13-year-old-average.html 13 year old average penis size] [http://destin.my03.com/tableware-supplier.html tableware supplier] [http://princeco.hostinggratisvenezuela.com/library/nice-butt-cheeks.html nice butt cheeks] [http://catdog20.hostinggratisvenezuela.com/native-american.html native american pictures] [http://tithed.my03.com/article/lorikeet.html lorikeet parrot] [http://slunk.almostmy.com/new/hot-asian-lesbians.html hot asian lesbians] [http://novel.ftpserver.biz/carmen-electra-sex.html carmen electra free sex video] [http://christinenanney.22web.net/preziosi.html preziosi] [http://shiver.myftp.info/pages/free-sex-sounds.html download free sex sound] [http://shammersa.orgfree.com/blog/free-monophonic.html free monophonic ringtone] [http://thestarsgoblue.22web.net/html/prescription-drug.html prescription drug plan] [http://catdog20.hostinggratisvenezuela.com/oro-valley-arizona.html oro valley arizona] [http://kerriecrook.w8w.pl/secret-friends.html secret friends cam girls] [http://saith.my03.com/racecar-classifieds.html racecar classifieds] [http://princeco.hostinggratisvenezuela.com/library/corduroy-skirt.html corduroy skirt] [http://devorasievert.w8w.pl/articles/skyhawk-case.html skyhawk case review] [http://erset.ddns.ms/fisting-gay.html free gay fisting] [http://haste.mrbonus.com/view/hand-job-video.html hand job video] [http://tithed.my03.com/article/robot-dance.html robot dance] [http://eloisapettit.22web.net/library/raven-naked.html raven naked] [http://annual.portrelay.com/small/teen-stress.html teen stress surveys] [http://angers.my03.com/description/paul-mauriat-mp3.html paul mauriat mp3 download] [http://slanj.hostinggratisvenezuela.com/sissy-galleries.html sissy galleries] [http://annual.portrelay.com/small/bobbies.html bobbies dropseat] [http://beaten.portrelay.com/q/tattslotto.html australian result tattslotto] [http://slanj.hostinggratisvenezuela.com/big-and-tall-mens.html big and tall mens clothing] [http://betsyharwood.w8w.pl/resources/channel-2-news.html channel 2 news] [http://angers.my03.com/description/nc-news-reporter.html nc news reporter whiteville] [http://lorettamcglade.w8w.pl/wild-girls-pool.html wild girls pool party] [http://princeco.hostinggratisvenezuela.com/library/girllove.html girllove] [http://beaten.portrelay.com/q/lee-latchford-evens.html lee latchford evens] [http://olesinok.hostinggratisespana.com/library/microsoft-access.html microsoft access is denied] [http://dismal.my03.com/text/red-lobster.html red lobster] [http://lorettamcglade.w8w.pl/napa-valley-real.html napa valley real estate] [http://cover.my03.com/resources/world-record-largemouth.html world record largemouth bass lake dixon] {| align=right
| |
− | |-
| |
− | |
| |
| [[Image:Main-Eval-PG31-RS232.jpg|PG31 RS232 Dev Board]] | | [[Image:Main-Eval-PG31-RS232.jpg|PG31 RS232 Dev Board]] |
− | |}
| + | |
| <b>Description:</b><br> 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. | | <b>Description:</b><br> 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. |
| | | |
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:
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?) 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.
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 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: