The serial port is a connection port through which data transfers in or out one bit at a time. Data signals are transferred using two lines, one for transmitting signals (Tx) and one for receiving signals (Rx). Serial ports use the RS-232 standard (also known as recommended standard 232) to determine how data is transmitted.
Serial ports are commonly used for the control, configuration and/or analysis/debugging of RS-232 supported devices. The serial port is a type of device that uses an UART chip (universal asynchronous receiver/transmitter). Data signals are received (Rx) from the communicating device’s transmit (Tx) line and is send/transmitted (Tx) to the communicating device’s receive (Rx) line.
Serial port connections are used for remote connections to a device. This allows access to a device, using another device containing an interface (third party interface). Commonly used interfaces include PC based software and touch screen devices. In the audiovisual (AV) field, control processors are also commonly used to be able to connect other devices (i.e. Bluetooth, IR and Ethernet connected devices) to integrate control of RS-232 devices.
Recommended standard 232 defines the electrical characteristics, timing and the meaning of data signals and the physical size and pinout of connectors. Other data characteristics include the communication direction (“full duplex” will send and receive data at the same time and “half duplex” will take turns to send and receive data), with or without parity, and/or stop bits.
Serial communication is done by signals representing 1 bit at a time. Each bit is represented by a ‘0’ or a ‘1’. Voltages are used to represent these bits. Bits are determined by ‘inverted logic’ (when compared with TTL/normal logic). By the RS-232 standard, a bit value of ‘1’ is represented by a negative voltage – anywhere from -3 to -25V – while bit value of ‘0’ transmits a positive voltage that can be anywhere from +3 to +25V.
The more extreme voltages of an RS-232 signal help to make it less susceptible to noise, interference and degradation. This means that an RS-232 signal can generally travel longer physical distances than their TTL counterparts, while still providing a reliable data transmission.
Serial ports on PCs
Some personal computers still has one or two serial ports. In the past, serial ports have been commonly used in PCs to connect to devices such as modems. On most PCs the data signals swing from -13 to +13V. Zero voltage has no meaning (except it usually means that the unit is powered off). Due to faster and cheaper technology, serial ports has been discontinued by some motherboard manufacturers as standard ports on PCs.
Advantages & disadvantages of the RS-232 interface
Although this technology is fairly old (introduced in 1960), serial ports and the RS-232 interface are easy to use and well known. The hardware for serial ports is simple to hook up, doesn’t need a lot of wires, is still readily available and is fairly cheap.
Compared with more modern interfaces, RS 232 it is quite slow. There is no clock, meaning the data transmitted/received is asynchronous. Only one device can be connected at a time.
TTL serial connections
Although there are many similarities, RS-232 serial connections are different from TTL (transistor-transistor logic) serial connections. Connecting TTL (3 – 5V) devices directly to a serial port (of, for example, a PC – 13V) may damage the device. PCs can, however, safely use TTL for serial communication by using USB to TTL serial converters (e.g. The FTDI USB to TTL serial converter module).
More microelectronic related posts
22 July 2018
Improve your knowledge on anything from programming to business skills with Lynda.com’s huge range of professional video courses.
22 June 2018
See how to add the #ESP8266 board to the #Arduino IDE... #electronics
5 June 2018
Read more about using the UART interface... #microcontrollers #IoT
5 June 2018
Read more about the FTDI USB to TTL serial converter module... #BehindTheScenes #diy #microelectronics
19 December 2017 | Updated 5 June 2018
Check out the inexpensive ESP-01 Wi-Fi module... ESP8266 #microcontrollers #DIY
6 December 2017 | Updated 1 January 2018
Read more about #ESP8266 5V Wi-Fi relay switch modules... #IoT #HomeAutomation #DIY #microelectronics