Warning: Creating default object from empty value in /var/www/vhosts/st4makers.com/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28 OPC Server don’t connect to Arduino Mega - st4makers.com
I am using Windows 10 with the latest version of OPC Server 2.0 and with the latest OPC Lib for arduino as well.
I was able to run MatriknoOPC and OPC Server, but I am unable to proceed with the connection to the arduino board.
The log info just stop at Frame: and that is it.
MatriknoOPC cannot see any tag since the server does not connect. I have tried to change the configuration setting and the Read interval, but nothing works.
I used Arduino Serial port 6 Baud rate 115200 and flow control as None.
My arduino setup is Serial2.begin(115200,SERIAL_8O1); //For Serial Bluetooth
Could this be the odd parity issue? There is no setting for this on the configuration tab.
I am pretty sure the sketch is working fine, because I have loopback tested the serial communication.
As for the Sketch, I have used the MEGA sketch from the OPC example sketch with the Serial port change to Serial2.begin(115200,SERIAL_8O1);
Please help suggest what I can do to get it to work.