Communications
From SensorWiki
| Sensors | Interfaces | Communications | Tutorials | References |
|
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 communications device class (http://en.wikipedia.org/wiki/USB_communications_device_class) on wikipedia
- Universal Serial Bus Class Definitions for Communication Devices (http://www.usb.org/developers/devclass_docs/usbcdc11.pdf)
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
- Interfacing the IBM-PC Parallel Printer Port (http://www.doc.ic.ac.uk/~ih/doc/par/)
- IEEE 1284 Info (http://www.fapo.com/ieee1284.htm)
| Sensors | Interfaces | Communications | Tutorials | References |
