Coder Social home page Coder Social logo

OPC for ESP8266 about opc HOT 11 CLOSED

ildemartinez avatar ildemartinez commented on July 21, 2024
OPC for ESP8266

from opc.

Comments (11)

ProximaB avatar ProximaB commented on July 21, 2024 1

Yes, it works check the link https://github.com/ProximaB/OPC

  1. Download OPC for Arduino from http://www.st4makers.com/ and open it with admin privileges.
  2. Upload NodeMCU example to your Esp8266. Notice that you need to edit ssid and password of WiFi before).
  3. Check what is the IP of Esp8266, you can use serial to obtain it.
  4. In the OPC for Arduino add Ethernet and type I and port of your esp, save it.
  5. Test if its working with eg. Kassl dOPC Explorer.Tip: This explorer works only if you put it in : C:\Program Files\Kassl\

from opc.

debashisiitbt avatar debashisiitbt commented on July 21, 2024 1

Dear ProximaB

Thanks a lot for your support but still I am facing a problem in compiling the sketch for NodeMcu board it is giving a message during compiling.

exit status 1
'OPCNodeMcu" does not name a type

from opc.

ruk-shan avatar ruk-shan commented on July 21, 2024 1

'OPCNodeMcu" does not name a type

i have the same issue... Any solutions.

from opc.

ProximaB avatar ProximaB commented on July 21, 2024 1

'OPCNodeMcu" does not name a type

i have the same issue... Any solutions.

I suppose that It doesn't linking proper OPC source files.
I'm not able to compile the code and run it but just for testing purposes and because opc is small library try following steps.
Copy OPC.ino and OPC.h to your current working directory and use it directly.

At that time I was using visualMicro for Visual Studio, it was great but I think it's not necessarily good thing to depends on that.

If you would like to help please fork my repo and clean that out. Thanks 😊

from opc.

ProximaB avatar ProximaB commented on July 21, 2024

@ildemartinez Could you check issue tab at https://github.com/ProximaB/OPC

from opc.

carlostorrez avatar carlostorrez commented on July 21, 2024

Ya tienes algun avance del OPC para el ESP8266?

from opc.

ildemartinez avatar ildemartinez commented on July 21, 2024

Sorry for the delay!!! great work!!!

from opc.

debashisiitbt avatar debashisiitbt commented on July 21, 2024

The OPC Master library in this link https://github.com/ProximaB/OPC has the file NodeMcu Example Sketch but not having the command for connecting the NodeMcu to Wifi or provision for setting up the ssid and password or IP.

from opc.

debashisiitbt avatar debashisiitbt commented on July 21, 2024

Yes, it works check the link https://github.com/ProximaB/OPC

  1. Download OPC for Arduino from http://www.st4makers.com/ and open it with admin privileges.
  2. Upload NodeMCU example to your Esp8266. Notice that you need to edit ssid and password of WiFi before).
  3. Check what is the IP of Esp8266, you can use serial to obtain it.
  4. In the OPC for Arduino add Ethernet and type I and port of your esp, save it.
  5. Test if its working with eg. Kassl dOPC Explorer.Tip: This explorer works only if you put it in : C:\Program Files\Kassl
    The OPC Master library in this link https://github.com/ProximaB/OPC has the file NodeMcu Example Sketch but not having the command for connecting the NodeMcu to Wifi or provision for setting up the ssid and password or IP.

from opc.

ProximaB avatar ProximaB commented on July 21, 2024

@debashisiitbt check out this line of code myNodeMcu.setup("Internet_57", "123456789", 80);

from opc.

ruk-shan avatar ruk-shan commented on July 21, 2024

Thank you very much. I managed to compile it and upload it to my esp8266.
It connects to wifi network and my Linux pc able to ping it. However when i try with UAExpert to connect, it fails to connect. (I changed the port to 4840). Am I missing something here?

from opc.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.