Arduino-PID-Library
Arduino-PID-Library copied to clipboard
The link to the documentation is broken it just leads to the Arduino Playground homepage.
Are PID coeffitients for PonM and PonE equal? Or they differ? I'm sure that all pid tuning methods do work for both, but i'm trying to synthesize coeffs. instead of...
double Setpoint, Input, Output; PID myPID(&Input, &Output, &Setpoint, 0, 0, 0, DIRECT); setup() { Input = 10; Setpoint = 10; double Kp = 10; // CHANGED double Ki = 0;...
I was reading the source code in `PID_v1.cpp` in conjunction with associated blog posts on Brett's site, and I spotted something interesting. On line 71-72 of `PID_v1.cpp`, we have the...
Thank you for the implementation @br3ttb. I'd like to know, whether you could modify the library, thus it officially support microseconds update intervals too? Some controllers ans applications would benefit...
Flesh out the logic of https://github.com/br3ttb/Arduino-PID-Library/blob/master/examples/PID_RelayOutput/PID_RelayOutput.ino to clearly accommodate both active-LOW and active-HIGH relays per https://github.com/br3ttb/Arduino-PID-Library/issues/136 ```diff diff --git a/examples/PID_RelayOutput/PID_RelayOutput.ino b/examples/PID_RelayOutput/PID_RelayOutput.ino index 17fbe1a..7c19203 100644 --- a/examples/PID_RelayOutput/PID_RelayOutput.ino +++ b/examples/PID_RelayOutput/PID_RelayOutput.ino @@ -18,6...
https://github.com/br3ttb/Arduino-PID-Library/blob/9b4ca0e5b6d7bab9c6ac023e249d6af2446d99bb/examples/PID_RelayOutput/PID_RelayOutput.ino#L51-L59 Is the relay example intended to turn the relay on during the first part of the window and off for the remainder? With a windowSize of 5000, and an...
Based on the discussion in https://github.com/br3ttb/Arduino-PID-Library/pull/132#issuecomment-1452803503 I realized that a low impact way of handling the issues would be to just move some features out of the black box. Moving...
If Output is maxed due to a very large error (like when the controller first starts), it looks like Integral will continue to wind up (outputSum increasing) until it ALSO...
At https://github.com/br3ttb/Arduino-PID-Library/releases/tag/v1.2.0 I found an asset zip file. When this is saved and extracted, the cpp file starts with /********************************************************************************************** * Arduino PID Library - Version 1.1.1 (not 1.2.x) *...