-
Notifications
You must be signed in to change notification settings - Fork 5
Home
1- Create an account in: http://www.openstm32.org/HomePage
2- Install related software in: http://www.openstm32.org/Downloading%2Bthe%2BSystem%2BWorkbench%2Bfor%2BSTM32%2Binstaller
3- Clone Met4FoF-SmartUpUnit in System Workbench for STM32 and firsly compile it and secondly debug it and lastly just run it.
4- Set your static ip address in your network settings on your local machine ip in this example is : 192.168.0.1
5- Open your browser and enter below address: http://192.168.0.10/index.html
6- Training stm32 in: https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-online-training/stm32f7-online-training.html
**1- installing protobuf in anaconda: ** conda install -c anaconda protobuf
2-A LGPL Python OPC-UA Python Client and Server library, written entirely in python, available at: https://github.com/FreeOpcUa/python-opcua (install using pip install opcua)
3-A GUI client https://github.com/FreeOpcUa/opcua-client-gui (install using pip install freeopcua-client) and run opcu-client.exe for watching data streaming
**4-run a code for getting data from sensors in python: ** https://github.com/Met4FoF/Met4FoF-SmartUpUnit/blob/relativetime-devel/tools/protoBuff_UDP_encoder/proto_UDP_reader.py
5-Test ocpua-client is working with below code: https://github.com/FreeOpcUa/python-opcua/blob/master/examples/server-minimal.py
Note: change ip code to below ip: server.set_endpoint("opc.tcp://192.168.0.1:48400")