Sponsored Content
Full Discussion: Serial Lines Explained
Top Forums UNIX for Dummies Questions & Answers Serial Lines Explained Post 302912179 by edfair on Wednesday 6th of August 2014 11:32:31 AM
Old 08-06-2014
Since most serial communications is via a UART this might help with the data transfer part:
Universal asynchronous receiver/transmitter - Wikipedia, the free encyclopedia

The UART voltage swings are between 0 and 5 volts. This signal is inverted and expanded to higher voltages by line drivers for transmission and inverted again and reduced to 0/5 swings by line receivers on the receiving end.

The transmitted signal starts degrading immediately and at higher transmission speeds it can be expected to be useless beyond 50 feet due to RC effects. (with a scope you would see rounding of what started as sharp shapes of voltage transitions)
 

We Also Found This Discussion For You

1. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
dc(4)							     Kernel Interfaces Manual							     dc(4)

Name
       dc - serial line/mouse/keyboard

Syntax
       device	 dc0  at ibus?	vector dcintr

Description
       The  serial line controller provides four ports, with modem control on two of the ports.  The DECstation 3100 and DECstation 2100 only pro-
       vide partial modem control.  The DECstation 5000 provides full modem control. The ports are used as follows:

       Port	 Usage
       0	 Graphics device keyboard at 4800 BPS
       1	 Mouse or tablet at 4800 BPS
       2	 Communications port 1 (w/modem control)/local terminal
       3	 Communications port 2 (w/modem control)/local terminal

       Each communication port from the serial line controller behaves as described in and can be set to run at any of 16 speeds.  For the  encod-
       ing, see

       When  a	graphics device is not being used as the system console, communications port 2 becomes the system console.  In this configuration,
       the port can only be used at 9600 BPS and no modem control is supported.

       The serial line driver operates in interrupt-per-character mode (all pending characters are flushed from the silo on each interrupt).

Restrictions
       Speed must be set to 9600 BPS on the console port and 4800 BPS on ports used by graphics devices.  The serial  line  driver  enforces  this
       restriction; that is, changing speeds with the command may not always work on these ports.

Files
       console terminal

       local terminal

       local terminal

See Also
       console(4), devio(4), tty(4), ttys(5), MAKEDEV(8)

								       RISC								     dc(4)
All times are GMT -4. The time now is 05:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy