Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comprehesive information on serial ports and programming?

What are some comprehesive sources on serial programming?

Ideally they would cover things like:

  • history of devices
  • current and future uses
  • how serial devices work
  • protocols
  • and, of course, how to program, preferably in C/C++
like image 843
Newton Falls Avatar asked Aug 23 '09 17:08

Newton Falls


People also ask

What is serial port and how it works?

In computing, a serial port is a serial communication interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in parallel.

What is serial ports used for?

A serial port is an interface that allows a PC to transmit or receive data one bit at a time. It is one of the oldest types of interfaces and at one time was commonly used to connect printers and external modems to a PC.

What are the types of serial ports?

There are two types of serial ports that are commonly found on a computer: DB-25 and DE-9.

What is a serial port and examples?

An asynchronous port on the computer used to connect a serial device to the computer and capable of transmitting one bit at a time. Serial ports are usually identified on IBM compatible computers as COM (communications) ports. For example, a mouse might connect to COM1 and a modem to COM2.


2 Answers

This Wikipedia article covers a lot of it, and has links to other information, including

programming for Linux and WIN32

and

Serial Port Communication in VB.NET Programming

In addition to that, Wikibooks has a free book on Serial Programming

like image 178
DOK Avatar answered Oct 02 '22 20:10

DOK


I learnt most of my unix serial comms from Stevens' Advanced Programming in the UNIX Environment.

like image 32
camh Avatar answered Sep 29 '22 20:09

camh