Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:examples:communication:rs232 [2010/04/13 06:17] raivo.sellen:examples:communication:rs232 [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<pagebreak>
 ====== RS-232 ====== ====== RS-232 ======
  
Line 23: Line 24:
 ===== Practice ===== ===== Practice =====
  
-On the board of the controller module of the HomeLab is one RS-232 type male plug. Through that can controller be connected to computer or to an other controller. For connecting to a computer a usual not inverted cable must be used, which one end is male and other one is female. For connection to an other controller a cable must be used where RX and TX and current control signals are perpendicularly inverted and both plugs are female. The inverted cable is also called zero modem cable.  The following is an example program of using UART serial interface.  When the program is started, it transmits a welcome through a RS-232 interface and displays messages, which are received. LCD and USART libraries are used.   +The Controller module board is equipped with one RS-232 type male plug. Through that can controller be connected to computer or to an other controller. For connecting to a computer a usual not inverted cable must be used, which one end is male and other one is female. For connection to an other controller a cable must be used where RX and TX and current control signals are perpendicularly inverted and both plugs are female. The inverted cable is also called zero modem cable.  The following is an example program of using UART serial interface.  When the program is started, it transmits a welcome through a RS-232 interface and displays messages, which are received. LCD and USART libraries are used.   
  
 <code c> <code c>
 // //
-// Connecting the controller module of the HomeLab to a computer through RS-232.+// Connecting the Controller module of the HomeLab to a computer through RS-232.
 // The example is using digital input-output module with LCD. // The example is using digital input-output module with LCD.
 // The text inserted in the terminal of the computer is displayed on the LCD. // The text inserted in the terminal of the computer is displayed on the LCD.
en/examples/communication/rs232.1271139427.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0