|
|
(2 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | [http://mala-gorie.ibelgique.com/article/bling-bling-watches.html bling true watch] [http://canyondrey.ibelgique.com/topic/jungs.html center garden jungs] [http://sanadche.ibelgique.com/blog/meridian-phone.html meridian phone] [http://jeanietalmadge.coolpage.biz/styles/anal-gay-sex-gallery.html anal gay sex gallery] [http://myrtiswillis.iespana.es/general.html general practice] [http://carleehallum.ifrance.com/comments/roast-chicken-dinner.html roast chicken dinner] [http://bernarao.my3gb.com/about-days-of-our.html about days of our lives] [http://azzietorgerson.ifrance.com/the-daily-mail.html the daily mail newspaper uk] [http://shenikaangelo.freezoka.com/madonna-getting.html madonna getting fucked] [http://yokowaldrup.ifrance.com/insertions-weird.html insertions weird] [http://tandraverdugo.ifrance.com/wiki/spring-hill-suite.html spring hill suite old montreal] [http://malvinapenney.coolpage.biz/machinist-employment.html machinist employment] [http://chuvaaak.iespana.es/q/bravo-network.html bravo network schedule] [http://moot-hest.iespana.es/sony-style.html sony style malaysia] [http://rutheself.325mb.com/entre-amis-french.html entre amis french] [http://jeanietalmadge.coolpage.biz/styles/block-phone-number.html block phone number] [http://tee-docs.isuisse.com/web/tom-robbins.html domain myspace.com robbins tom] [http://lexiehorton.ifrance.com/katie-poole.html katie poole] [http://malvinapenney.coolpage.biz/properties-for.html properties for sale in northern spain] [http://sidneyfranco.coolpage.biz/styles/fragrance.html fragrance] [http://katerinethrower.freezoka.com/resources/college-fuck-fest.htm college fuck fest videos] [http://letishablumberg.iespana.es/q/white-horse-parsons.html white horse parsons green] [http://rosalyndishman.coolpage.biz/adware-free-download.html adware free download] [http://malvinapenney.coolpage.biz/catamaran.html catamaran] [http://tee-docs.isuisse.com/web/euro-currency.html euro currency future] [http://wilmaredding.freezoka.com/data/teen-cheerleaders.html teen cheerleaders] [http://sidneyfranco.coolpage.biz/styles/makie.html makie] [http://jeanietalmadge.coolpage.biz/styles/drawings-gay-men.html drawings gay men] [http://waltraudguill.ifrance.com/web/paris-city-map.html city lonely map paris planet] [http://shenikaangelo.freezoka.com/hooter-girl-pantyhose.html hooter girl pantyhose] [http://carleehallum.ifrance.com/comments/first.html first premier bank] [http://edelmirashiffle.ifrance.com/directory/pikmin-2.html pikmin 2] [http://canyondrey.ibelgique.com/topic/long-distance-phone.html long distance phone plan] [http://coribergquist.ifrance.com/pages/site-map-website.html site map website] [http://shushoffner.ayudauni.net/resources/racquetball.html racquetball] [http://rosalyndishman.coolpage.biz/angela-summers.html angela summers] [http://canyondrey.ibelgique.com/topic/review-nonpharmacological.html review nonpharmacological interventions] [http://lindseyellingsw.325mb.com/description/orthodontist-average.html orthodontist average] [http://waltraudguill.ifrance.com/web/chigger-bites-treatment.html chigger bites treatment] [http://angelesmetcalf.ayudauni.net/q/illinois-county.html illinois county court records] [http://selphie-jazz.ibelgique.com/sixties-party-food.html sixties party food] [http://katerinethrower.freezoka.com/resources/legitimate-home.htm legitimate home based business] [http://canyondrey.ibelgique.com/topic/o-zone.html o zone] [http://rosalyndishman.coolpage.biz/synthetic-peptide.html synthetic peptide vaccines] [http://shushoffner.ayudauni.net/resources/rightbrain-left.html rightbrain left brain] [http://azzietorgerson.ifrance.com/sobek.html sobek] [http://loving-skate.isuisse.com/pages/sting-websites.html sting websites] [http://loving-skate.isuisse.com/pages/anal-beautiful-girl.html anal beautiful girl] [http://waltraudguill.ifrance.com/web/subphrenic-area.html subphrenic area] [http://rosalyndishman.coolpage.biz/just-my-size-coupons.html just my size coupons] [http://jeanietalmadge.coolpage.biz/styles/halo-movie.html halo movie] [http://rosalyndishman.coolpage.biz/slutty-teachers.html slutty teachers] [http://meridethdavid.ayudauni.net/lib/free-tv.html free tv] [http://myrtiswillis.iespana.es/stephanie-abrams.html stephanie abrams] [http://itinerantsphinx.iespana.es/blog/amc-movie.html amc movie theater location] [http://cdn-slave.isuisse.com/blog/total-suspended.html total suspended solid tss] [http://loving-skate.isuisse.com/pages/lymphokines-definition.html lymphokines definition] [http://itinerantsphinx.iespana.es/blog/loss.html weight loss diet] [http://jeanietalmadge.coolpage.biz/styles/spice-girls.html spice girls] [http://ashtonlemos.ifrance.com/pages/interest-loan-personal.html interest loan personal reporting] [http://jeanietalmadge.coolpage.biz/styles/making-log-furniture.html making log furniture] [http://poni-tto.isuisse.com/pages/shiny-disco-balls.html shiny disco balls who da funk] [http://moot-hest.iespana.es/eucharist-symbol.html eucharist symbol] [http://myrtiswillis.iespana.es/i-am-canadian.html canadian government] [http://sidneyfranco.coolpage.biz/styles/smokey-robinson.html smokey robinson] [http://gwenluttrell.ifrance.com/wiki/the-red-chord.html chili chord hot pepper red snow] [http://keelynall.ifrance.com/content/japanese-colonization.html japanese colonization korea] [http://rosalyndishman.coolpage.biz/banger-sisters.html banger sisters] [http://waltraudguill.ifrance.com/web/el-universal.html el universal de mexico] [http://katerinethrower.freezoka.com/resources/youth-bows.htm youth bows] [http://gwenluttrell.ifrance.com/wiki/leather-corset.html leather corset dress] [http://myrtiswillis.iespana.es/man-bulging-speedo.html bulging gay in man speedo] [http://melbagilliland.freezoka.com/content/crystal-growing.html crystal growing experiment] [http://malvinapenney.coolpage.biz/legs-sexy-stockings.html legs sexy stockings] [http://mala-gorie.ibelgique.com/article/mom-son-sex.html mom son sex gallery] [http://char-zheckz.ibelgique.com/fred-meyers.html fred meyers] [http://malvinapenney.coolpage.biz/radio-1.html radio 1] [http://mala-gorie.ibelgique.com/article/khmer.html khmer] [http://donnettegoodyea.ayudauni.net/october-sky.html october sky] [http://x-accipiter.isuisse.com/small/sexy-hott.html sexy hott] [http://tee-docs.isuisse.com/web/the-twist.html game text twist] [http://poni-tto.isuisse.com/pages/cartoon-woman.html cartoon woman] [http://letishablumberg.iespana.es/q/nokia-6100-wallpaper.html nokia 6100 wallpaper size] [http://coribergquist.ifrance.com/pages/dillards.html dillards] [http://sidneyfranco.coolpage.biz/styles/invisible-braces.html invisible braces] [http://chuvaaak.iespana.es/q/samurai-lifestyles.html samurai lifestyles] [http://rosalyndishman.coolpage.biz/nokia-cell-phones.html nokia cell phones] [http://loving-skate.isuisse.com/pages/subway.html subway] [http://meridethdavid.ayudauni.net/lib/waterfalls.html waterfalls] [http://loving-skate.isuisse.com/pages/rooms-for-rent.html rooms for rent in brooklyn ny] [http://cdn-slave.isuisse.com/blog/yuk-yuks.html yuk yuks london] [http://donnettegoodyea.ayudauni.net/anakin-and-amidala.html anakin and amidala] [http://yokowaldrup.ifrance.com/weather-australian.html weather australian] [http://loving-skate.isuisse.com/pages/jayne.html jayne kennedy] [http://keelynall.ifrance.com/content/equipment-for.html equipment for tennis] [http://canyondrey.ibelgique.com/topic/chubby-men.html chubby men] [http://katerinethrower.freezoka.com/resources/falta-deseo-sexual.htm falta deseo sexual] [http://itinerantsphinx.iespana.es/blog/unique-web-designs.html unique custom web design services] [http://lestenger.ifrance.com/resources/acrophobia.html acrophobia] [http://poni-tto.isuisse.com/pages/alumaframe.html alumaframe] [http://turoush.ifrance.com/juggies.html juggies] [http://jeanietalmadge.coolpage.biz/styles/incredibles-naked.html incredibles naked] [http://wilmaredding.freezoka.com/data/oxford-chinese.html oxford chinese dictionary] [http://rosalyndishman.coolpage.biz/instant-th.html instant th] [http://loving-skate.isuisse.com/pages/you-see-nothing.html you see nothing] [http://azzietorgerson.ifrance.com/banknotes.html banknotes] [http://edelmirashiffle.ifrance.com/directory/viscosity-of-fluids.html viscosity of fluids] [http://selphie-jazz.ibelgique.com/eddie-murphy-boogie.html eddie murphy boogie in your butt] [http://rosalyndishman.coolpage.biz/cut-off-shorts.html cut off shorts] [http://tandraverdugo.ifrance.com/wiki/sale-leaseback.html sale leaseback] [http://ariericher.my3gb.com/library/canada-customs.html canada customs and revenue agency] [http://jeanietalmadge.coolpage.biz/styles/gear-lubes.html gear lubes] [http://malvinapenney.coolpage.biz/luxury-cruise.html luxury cruise] [http://sanadche.ibelgique.com/blog/curtain-pole-brackets.html curtain pole brackets] [http://shushoffner.ayudauni.net/resources/examples-of-bridal.html examples of bridal hairstyles] [http://ashtonlemos.ifrance.com/pages/wheel-of-time.html wheel of time] [http://virgiewojtowicz.ayudauni.net/wiki/london-rail-fares.html london rail fares] [http://jeanietalmadge.coolpage.biz/styles/tanned-pussy.html tanned pussy] [http://mala-gorie.ibelgique.com/article/drift-cars.html car drift import soarer ueno] [http://poni-tto.isuisse.com/pages/kibri.html kibri] [http://fayniblett.ifrance.com/parliament-lyric.html parliament lyric] [http://char-zheckz.ibelgique.com/stock-number.html stock number for army military cot] [http://shonnaculbert.ifrance.com/lib/seguin-texas-florist.html seguin texas florist] [http://edelmirashiffle.ifrance.com/directory/free-cam.html free cam] [http://tee-docs.isuisse.com/web/key-skills-support.html key skills support unit] [http://rosalyndishman.coolpage.biz/ecommerce-solutions.html ecommerce solutions] [http://moot-hest.iespana.es/jodi-gordon.html jodi gordon model] [http://katerinethrower.freezoka.com/resources/assult-rifle.htm assult rifle] [http://letishablumberg.iespana.es/q/skulle.html skulle] [http://waltraudguill.ifrance.com/web/nfs5-car-downloads.html nfs5 car downloads] [http://char-zheckz.ibelgique.com/kyodo-news-service.html kyodo news service] [http://rosalyndishman.coolpage.biz/chicago-the-movie.html chicago the movie] [http://char-zheckz.ibelgique.com/poker-online.html equal opportunity] [http://jeanietalmadge.coolpage.biz/styles/velvet-top.html velvet top] [http://jeanietalmadge.coolpage.biz/styles/ceiling-light-fixtures.html ceiling light fixtures] [http://tandraverdugo.ifrance.com/wiki/light-lez.html light lez] [http://tee-docs.isuisse.com/web/pink-martini.html dvd martini pink] [http://jeanietalmadge.coolpage.biz/styles/dotties-weight.html dotties weight loss zone] [http://chuvaaak.iespana.es/q/interior-specialists.html interior specialists carlsbad] [http://x-accipiter.isuisse.com/small/all-exclusive-cruises.html all exclusive cruises tours to alaska] [http://poni-tto.isuisse.com/pages/blue-film.html blue film] [http://katerinethrower.freezoka.com/resources/accumulation.htm accumulation distribution stocks] [http://canyondrey.ibelgique.com/topic/womens-weekly.html womens weekly cook books] [http://rosalyndishman.coolpage.biz/georgia-sex-offenders.html georgia sex offenders] [http://sanadche.ibelgique.com/blog/board-of-studies.html nsw board of study] [http://itinerantsphinx.iespana.es/blog/smoke-shops.html gas pipe smoke shop] [http://cdn-slave.isuisse.com/blog/mcallister-park.html mcallister park lacey washington] [http://sidneyfranco.coolpage.biz/styles/doggy-style-porn.html doggy style porn] [http://selphie-jazz.ibelgique.com/nadolol-80-mg.html nadolol 80 mg] [http://shenikaangelo.freezoka.com/better-search-engine.html better search engine rank] [[Image:Main-Eval-PG31-RS232.jpg|PG31 RS232 Dev Board]]
| + | {| align=right |
− | | + | |- |
| + | | |
| + | [[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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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: