Communications

From SensorWiki

Sensors Interfaces Communications Tutorials References


Table of contents

Communications Protocols

This section of the wiki is devoted to methods of getting data from sensor interfaces to host computers.

RS232 serial

Serial data is generally buffered by the operating system in order to provide the highest possible data transfer rates. This usually adds to latency and jitter. However, RS232 often provides the simplest means to connect an inexpensive microcontroller to a host computer. A simple circuit (http://sodoityourself.com/max232-serial-level-converter/) can be used to convert from a microcontroller's TTL voltage levels to the RS232 standard.

  • Connector: DB9 or DB25
  • Max Transfer Rate: 115,200 bps

The RS232 Standard (http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html)

USB-CDC serial

Serial data is generally buffered by the operating system in order to provide the highest possible data transfer rates. This usually adds to latency and jitter.

  • Connector: USB



USB HID


USB HID data is generally given high priority in operating system kernels since its designed around human response times.

  • Connector: USB
  • Max Transfer Rate: 64 kbps


IEEE1284 Parallel Port

  • Connector: DB25, Centronics, or mini-Centronics



Sensors Interfaces Communications Tutorials References