Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteris

How to connect an Arduino based PLC with a OPC - Scada Compilant

Resultado de imagen de scada


On this post it is showed how to connect an Arduino based PLC with any OPC SCADA compilant. To achieve it you can use M-Duino family productsand also Ardbox family products..



             Ethernet or 20 I/Os PLC:      Ethernet PLC        20 I/Os PLC     

 Industrial Shields boards:   Industrial Shields Boards

 OPC server for Arduino       OPC server for Arduino

How to install OPC Server?

OPC Server allows you to connect your Arduino with any OPC Scada Compilant. Just use the OPC.h library in your Arduino sketches, publish your items and provide data for each item you published in real time. You could retrieve/send information from/to your SCADA HMI software for building industrial applications.

Follow the next instructions to install the OPC Server on this link of  Software Tools for Makers.

Once OPC Server is installed we can proceed to install OPC libraries for Arduino IDE.


How to install OPC libraries on Arduino IDE?

To install OPC libraries follow the next lines:

  • Open Arduino IDE
  • Go to Sketch –> Include library –> Manage libraries
  • On library Manager search “OPC”
  • Click on install  


How to use?

Software Tools for Makers has developed this software. On their web site there are a few examples of how to use with dOPC Explorer, Matricon OPC Explorer and WinCC. Industrial Shields PLC’s use an official Arduino Leonardo within Ardbox family and Arduino Mega within M-Duino family.

For example on our internal test we have used a WinCC SCADA system and M-Duino following  the Software Tools for Makers example.

Software Tools for Makers example use an Arduino Uno. To make it work this example with Industrial Shields PLC’s we just need to change the Arduino Uno pins for the Mega or Leonardo pins or if you are using our boards use directly the M-Duino or Ardbox pins. Once these changes are done we can proceed to test it.

See also

How to install and use Rapid Scada on Touchberry Pi and BananaTouch

Do you want more information?

Open Source technology allows you to develop your installations.

Just fill the form and we will contact you as soon as we can.