Editing PG31 GPS RS232 Dev Board

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 27: Line 27:
 
C2 ([[10uF Tantalum Capacitor]] in this case) is a basic decoupling cap. 10-100uF is adequate but should be rated for 15-25V.
 
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 [[Basic_Voltage_Regulators|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.  
+
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.
+
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.
 
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===
 
===RS232 Interface===
 
So we've got a nice clean output of 3.3V from the regulator, let's look at the RS232 connection:
 
So we've got a nice clean output of 3.3V from the regulator, let's look at the RS232 connection:
Line 54: Line 53:
 
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).
 
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.
+
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. Viola.
  
 
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 projects. Sit down, think about it, and once you've got it wired correctly, cut and paste into future projects.
  
 
----
 
----
 
 
===PG31 Footprint===
 
===PG31 Footprint===
 
[[Image:PG31-Footprint.jpg]]
 
[[Image:PG31-Footprint.jpg]]
Line 85: Line 83:
 
[[Media:PG31 RS232 Carrier - Gerbers.zip|PG31-RS232 Gerber Files]]
 
[[Media:PG31 RS232 Carrier - Gerbers.zip|PG31-RS232 Gerber Files]]
  
<b>Footprints:</b>
+
<b>Footprints:</b><br>
 
[[SFE_Footprint_Library|SFE Footprint Library]]
 
[[SFE_Footprint_Library|SFE Footprint Library]]
  
 
FP Name: PG31
 
FP Name: PG31
  
<b>Supplier Info:</b>
+
<b>Supplier Info:</b><br>
 
Spark Fun Electronics part # : Eval-PG31-RS232<br>
 
Spark Fun Electronics part # : Eval-PG31-RS232<br>
 
Single Piece Price : $29.95
 
Single Piece Price : $29.95
  
<b>Related Items:</b>
+
<b>Related Items:</b><br>
 
 
* [[PG31 GPS USB Dev Board]]
 
 
 
[[Category:Projects]]
 

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)