Technical Details of USB IO Modules

Technical Details and Documents of the LucidControl USB IO Modules

This section gives more technical insight into the LucidControl USB IO Modules. It consists of articles that could be helpful using our products

Interfacing LucidControl USB IO Modules over Network

The article Accessing USB IO Module in a Network by using Linux and socat explains how a Device Server (e.g. a Raspberry Pi) can be used in order to interface LucidControl USB IO Modules via network or the Internet. It shows also how an encrypted connection can be realized between Client and Device Server by using socat.

The article Sharing USB IO Modules on Linux with the Raspberry Pi shows how a Device Server (e.g a Raspbrry Pi) can be set up by using ser2net. The Device Server roots all network traffic on a specific socket to a connected device like our LucidControl USB IO Module.

In the article Accessing USB IO Modules remotely by SSH (Secure Shell) it is explained how LucidControl USB IO Modules are interfaced using the LucidIoCtrl command line tool and SSH on a Raspberry Pi. The article covers also security aspects and shows how PuTTY can be used on a computer running Windows

In the article Connect to a remote IO Module with Windows we show how a Windows computer can connect to a Device Server (e.g. the Raspberry Pi) via the network. It shows also how the com0com comport redirector can be used in order to setup serial ports on Windows that are connected to a Device Server and our LucidControl USB IO Modules.

Raspberry Pi

The article Raspberry Pi 2 B Power Supply USB IO Module concentrates on power issues of the Raspberry Pi and the importance of using good USB cables and power supplies, especially when higher currents are drawn from the USB ports. We measured the voltage drops at certain points in the circuit and explain how the max_usb_current parameter can be used in order to increase the current supplied by the USB ports of a Raspberry Pi 2 B

In the article LucidControl USB IO Module with Constant Device Name we show how constant device names can be realized with Linux. If multiple similar devices are connected to a Linux computer, they are enumerated by a random manor and the user has to sort the device names manually. In the article we explain how devices can be sorted and get a constant device name assigned by creating a symbol link with the udev tool. It explains also how the serial number of the LucidControl USB IO modules can be used in order to create unique device names.

General Programming

The article Real-Time Data Acquisition (DAQ) and Temperature Logging with LucidControl shows how temperature logging can be realized with LucidControl USB IO Modules. It could also be interesting for users who wants to build a GUI in Java with Eclipse and the Standard Widget Toolkit. We provide also an example that shows how JFreeChart and swt-xy-graph can be used for data logging.

In the article Create Raspberry Pi SWT GUI Applications with Java and Eclipse we explain how a GUI can be developed for the Raspberry Pi by using Eclipse and SWT

In the article How to access Serial Ports in Java we show the possible ways interfacing the serial port with Java. We share our experiences with the CommonAPI implementation, RXTX and the jSSC (Java Simple Serial Connector) solutions