Source for Raspberry Pi demo released

We thought that it might be useful to show how our Raspberry Pi demo is done, so here are the sources.

As stated in previous posts, the java hardware communications are made using Pi4j library.

Most of the classes are the same as in SampleConsoleServer (sample that comes with the SDK packages). Note that depending on your SDK version the classes might not compile directly (as this was done with our SDK 2.0 beta, but they should be almost the same; if they do not compile for some reason, copy them from your SDK package). The WeatherStation.java contains the IO side of the server and WeatherStationServer.java contains the UA side.

 

Raspberry Pi demo updates

Our Raspberry Pi weather station demo has been upgraded. The system has been enclosed in a box and cables have received threaded cover layer. Two DS18B20 external temperature sensors have been added, one of them can be removed if needed (by a DB9 connector, with custom soldering). Three buttons have been added for adding interaction for exhibition visitors. Continue reading

Developing OPC UA for Android

I thought I’d share a few pointers about developing OPC UA on Android, since our Prosys OPC UA Java SDK has supported Android from version 1.3 onwards. In recent times we’ve had a surge of interest from Android users, who have helped us in understanding some typical use cases of developers on mobile platforms. In this vein, we’ve already shared some of our Android development effort in the form of our Christmas special that was available for a limited time as a preview for our full Android client. It allowed connecting to a Beckhoff programmable logic in our office via OPC UA (the PLC is running Beckhoff’s OPC UA server for Windows CE) and controling a signal light column, which was viewable via a webcam. Continue reading