How to connect Arduino based PLC with a OPC SCADA compilan

How to connect Arduino based PLC with a OPC SCADA compilan

On this post it is showed how to connect an Arduino based PLC with any OPC SCADA compilan. To do this you can use M-Duino familyand Ardbox family . This example require: Arduino based PLC OPC Server for Arduino OPC libraries for Arduino IDE   How to intall 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…

Read More Read More

How to install Chromium on Linux Panel PC

How to install Chromium on Linux Panel PC

In this post is showed how to install chromium on a Linux Panel PC. Our Linux Panel PC’s are Touchberry B3 PI 10.1″, BananaTouch Octacore M3 10.1″, BananaTouch M64 10.1″, TouchBerry Pi B3 7″ IN/OUT and HummTOUCH 10.1″ Linux. From the Panel PC we have to open the terminal and update the apt-get typing:

How to Install and use Rapid SCADA on Touchberry Pi and BananaTouch

How to Install and use Rapid SCADA on Touchberry Pi and BananaTouch

On this post is showed how to install Rapid SCADA on a Touchberry B3 PI 10.1″, BananaTouch Octacore M3 10.1″, BananaTouch M64 10.1″ and TouchBerry Pi B3 7″ IN/OUT. These products use an official Raspberry Pi 3 or an official Banana Pi products. These products have installed a Linux Debian Jessie. So,on this post we will see how to install Rapid SCADA on this OS. Rapid SCADA is free, open source, full featured SCADA software.  This post is divided for…

Read More Read More

RS-485 TEST ON M-DUINO PLUS

RS-485 TEST ON M-DUINO PLUS

In this post it is showed how to test the RS-485 on M-Duino PLUS version. The first thing that you need to know is that the  RS-485 PLUS version have full and half duplex communication. Controlling the dip switch you must select if you want to work on full or half duplex. There is internally installed a half duplex MAX485 and MAX485 transmitter. If you are working on full duplex you will use the MAX485 half duplex to receive data and MAX485…

Read More Read More

Ethernet test on M-Duinos PLUS version

Ethernet test on M-Duinos PLUS version

In this post it is showed how to test Ethernet communication on M-Duino PLUS version.  It’s necessary to install Arduino Ethernet2 library. See more infromation about Ethernet library functions on Arduino Reference. Connecting an M-Duino to a router through Ethernet and uploading the test sketch, the M-Duino is able to complete the test.   Next is showed the code:

RS-232 Test on M-Duino PLUS

RS-232 Test on M-Duino PLUS

In this post it is showed how to test the RS-232 M-Duino PLUS version. Connecting an M-Duino with other equipment through RS-232. On the code is showed that you must send a 0xA5 thought RS-232 to complete this test. Next is showed the code: ///////////////////////////////////////////////////////////////////////////// void setup() { Serial.begin(9600L); Serial.println(“mduino-plus test RS-232 started”); Serial2.begin(9600L); } ///////////////////////////////////////////////////////////////////////////// void loop() { while (Serial2.available()) { Serial2.read(); } Serial2.write(0xa5); delay(50); if (Serial2.read() == 0xa5) { Serial.println(“RS232 (Serial2) OK”); } else { Serial.println(“RS232 (Serial2) FAIL”);…

Read More Read More

TCP CLIENT ON ARDUINO BASED PLC

TCP CLIENT ON ARDUINO BASED PLC

On this post is showed how to connect to a server TCP from Arduino based PLC. The requirements of this post is just an M-Duino PLC with Ethernet connection and available TCP server .  Take a look an example of how to implement a TCP SERVER ON TOUCHBERRY PI 3 WITH NODE.JS Once the server is running, M-Duino can connect to the server. On this example it is used an M-Duino to connect with the Node.js server called server.js, the…

Read More Read More