LucidControl USB IO Module Web Demonstration

This demonstration shows how easy it is to use LucidControl USB IO modules over the Internet. All our modules can be accessed remotely via LAN or WWW as soon as they are connected e.g. to the Raspberry Pi®.

The application below allows controlling a live demonstration in our office where you can switch lights on and off.

Even if switching lights on and off isn’t that exciting I’m sure you have many better ideas what you want to control – maybe:

  • Dim lights or LEDs instead of switching only
  • Control your heating, switch it off when the sun begins to shine and build your own energy system
  • Measure the temperature of your potable water
  • Measure voltages from a wind sensor
  • Get pulses from a water flow sensor

All these are very common tasks which can be solved with our components.
[gn_heading style=”1″]Feel free to click![/gn_heading]

‘;
}
else
{
echo ‘‘;
}
?>


[gn_spoiler title=”Browser notes for live stream video” open=”1″ style=”1″]

Live video streams work not on Internet Explorer and a Java applet is necessary. Please approve the installation of this applet, otherwise it is not possible to show the live video stream.

[/gn_spoiler]


The live video stream shows the Raspberry Pi®, a LucidControl DO4 Digital Output Module – 4 channel digital output module controlling 3 lamps which are connected to the channels 0, 1 and 2 of the USB IO module. The states of all 4 channels are indicated by the 4 LEDs at the lower front panel area of the module.

The application above shows the user interface written in Java and SWT with 4 buttons for setting and clearing the output channels. A green button refers to a set output a red button refers to a cleared one.

By clicking on the “Channel 0” button not only the output is switched, but also the left lamp on top of the arrangement is switched on and off. The same happens with “Channel 1” and “Channel 2” button for the middle and the right lamp.

The complete presentation is running on the Raspberry Pi® which includes the control application as well as the video streaming. The video is captured by the program Motion which makes the live stream available to the web. Many articles about this topic can be found in the Raspberry Pi® forum. As web server Apache and Apache Tomcat are used. Especially Tomcat is needed because it runs the RAP application.

You are very welcome to check out how this works!