Skip to content

Arduino Opta PID controller with ModbusTCP interface

License

Notifications You must be signed in to change notification settings

milnepe/opta-pid

Repository files navigation

opta-pid

Arduino Opta PID controller with ModbusTCP interface

Installation

Copy the Arduino script to the Opta and setup the shared variables.

Install Python scripts to your ModbusTCP host.

$ cd python/opta-pid
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip install pyModbusTCP

Configure

Start Opta Run configuration client with PID constants and setpoint

(venv) $ python write_registers.py

Simulation

Run plant simulation

(venv) $ python plant_temperature_simulator.py

Tune PID

Check output log in ./output.log and tune PID constants

About

Arduino Opta PID controller with ModbusTCP interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published