Aim of this project is to bring with a new cheaper way how to bring data from sensors and actuators to OPC UA.
It will be done by interconnecting sensors to microcontroller (ESP8266 or ESP32) and then transfering data over Wi-fi to Raspberry PI, which will be running Codesys Control for Raspberry PI and/or Node-Red.
This project is done by Petr Vávra and Cecilia Fili and supervised by Thomas Schichl in course of Industrial Project Work at the University of Applied Sciences Upper Austria in Winter semester 2018/19.
- Rotary encoder - LPD-3086
- Temperature sensor - DS18B20 (considered replacement)
- ESP8266
- ESP32
Wi-Fi
TCP/IP - Modbus and/or MQTT
MCU[0] --->
MCU[1] ---> ---> Codesys visualization
. ---> Raspberry PI ---> OPC UA (Codesys / Node-red)
. ---> ---> Node-Red Dashboard for visualization
MCU[n] --->
For programming microcontrollers we use PlatformIO IDE.
For programming of Raspberry Pi is used Codesys and Rapsberry Pi extension
The project is devided into the following folders:
- MicrocotrollerSketch
- sketch written in PlatformIO IDE handling the MCU level
- RaspberryPI
- sketch written Codesys for Raspberry PI
- documentation
- includes a link to a written documentation.