External data access addition of OPC UA

1 post / 0 new
Nate's picture
External data access addition of OPC UA

While these Raspberry PI's are quite handy, there are limited ways to get the sensor data off of them and in to a a Microsoft windows environment

I propose adding OPC UA support which is designed to be a cross platform communication protocol - more and more commonly used in industrial control applications.

Here's a link to an open source OPC UA

Here are the directions I used to install it on my raspberry pi

sudo git clone git://github.com/open62541/open62541
sudo apt-get install git build-essential gcc pkg-config cmake python python-lxml

# enable additional features
sudo apt-get install libexpat1-dev # for XML-encodingi
sudo apt-get install liburcu-dev # for multithreading
sudo apt-get install check # for unit tests
sudo apt-get install graphviz doxygen # for documentation generation

sudo cd open62541
sudo mkdir build
sudo cd build
sudo cmake ..
sudo make

# select additional features
sudo ccmake .. # enter g to build and exit
sudo make

It seems to be added, now I need to know how to configure it
Sorry but I'm not a programmer, if any of you programmers out there could take a look at this and let me know if this tutorial looks reasonable to try. Also, any advice on how to pick up some minimal skills so some of these tuturials make some more sense to me.


I want to figure out how to map the temps/pressures/weight etc that HiveTool collects to the OPC server, but I think baby steps can help me get there bit by bit. Eventually once I figure out how to map all of the variables ... the final step will to be to try to implement calling an external web service from the device... of course to get that to work, I'll need to figure out how to get my test system at home to accept incoming traffic, but I think that's doable with my asus router