« All blog posts

Source for Raspberry Pi demo released

13.03.2014


UPDATE (04.06.2015), samples updated for SDK version 2.1.2, available here.

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.

Bjarne Boström profile photo

Bjarne Boström

Software Engineer

Email: bjarne.bostrom@prosysopc.com

Expertise and responsibility areas: OPC UA product development and project work

Tags: Embedded, Java, OPC UA, Raspberry Pi, Demo

comments powered by Disqus

About Prosys OPC Ltd

Prosys OPC is a leading provider of professional OPC software and services with over 20 years of experience in the field. OPC and OPC UA (Unified Architecture) are communications standards used especially by industrial and high-tech companies.

Read more about us »

Newest blog posts

Why Do Standards Matter in Smart Manufacturing?

The blog post discusses the importance of standards in smart manufacturing, envisioning a future where auto-configurable systems in manufacturing rely on standardized data formats for seamless integration and reduced costs, with a focus on the OPC UA standard family as a key enabler.

OPC UA PubSub to Cloud via MQTT

Detailed overview of the demo presented at the OPC Foundation booth

SimServer How To #3: Simulate data changes on a server using an OPC UA client

A two-part step-by-step tutorial on how to write data changes on an OPC UA server using an OPC UA client.

View all blog posts »