Editing 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 1: Line 1:
A simple RS232 example project that takes all the power it needs from the serial port. Use it to power your microcontroller and communicate between serial port and microcontroller.  Takes advantage of the fact that pc serial ports will accept 0-5V rather than the RS232 standard of around negative 10V to  positive 10V.  Very convenient - no external power required! Note that you may use either a 5.1V zener or a 5V regulator.
+
Kiss you!
[[Image:PicPcSerialSchematic.gif ]]
+
I think this is the best site in the net I have ever visited!
 +
Really, very nice site.
 +
I check it regularly!  
  
<br><br>In the circuit above, the two 1N4148 diodes prevent any negative voltage getting into the rest of the circuit if either DTR or RTS would happen to go negative. The two transistors function as transistor switches.  The transistors also act as inverters.  We need to invert things since the pc serial port uses positive voltage to represent binary 0 (RS232 SPACE) and negative voltage (or lucky for us 0 voltage) for binary 1 (RS232 MARK).  Of course the voltage regulator regulates the voltage with some decoupling capacitors.  A zener diode can also be used to regulate the voltage.  In my schematic, you can see that I developed this for my PIC projects, but other microcontrollers will probably have similar serial communications methods and similar supply voltage requirements.
+
[http://www.1url.in/11837 buy lipitor] |
<br><br>
+
[http://www.1url.in/11928 cheap tramadol] |
One thing I needed to do to use this with my solderless breadboard was to connect the metal on the bottom of the breadboard to ground. You may need a similar sort of grounded shielding near your circuitry if you use this.
+
[http://www.1url.in/11866 purchase accutane] |
 
+
[http://www.1url.in/11846 adipex online]
* NØXAS shows [http://botkin.org/dale/rs232_interface.htm how to replace the BJTs in this circuit with FETs], which is simpler and (now that FETs have plummeted in price) cheaper.
 
 
 
[[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)