Arduino-PID-Library
Arduino-PID-Library copied to clipboard
I recently made a mechanical relay based PID with time proportioning control but I noticed some behavior in the sample that was unexpected, and this pull request is an attempt...
Would it be possible to use arrays with the constructors? I have six valves with different input, output and setpoints so I wanted to know if could do something like...
I modified SetSampleTime() to set the internal SampleTime variable to zero for an input argument of zero, without modifying ki or kd. This forces Compute() to generate a new output...
Passing in a value of '0' for SetSampleTime() doesn't actually do anything, as the 'if' statement is coded incorrectly. ``` void PID::SetSampleTime(int NewSampleTime) { if (NewSampleTime > 0) { double...
I'm using the PID Library for a balancing robot and it seems to be exhibiting strange behavior. You can view the complete code here: [https://github.com/owhite/balancing_bot/blob/master/src/balancing.ino](https://github.com/owhite/balancing_bot/blob/master/src/balancing.ino) but I believe the relevant...
Library's folder structure reorganized according [Arduino IDE 1.5: Library specification](https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification)
This is a small change to update Comput() so that it produces a non-zero output on the first call. The issue I noticed was that the PID output after the...
Hi, i'm trying to running this code from Rocketscream tiny reflow V2, but when the Compute() call is in the loop, simply the board do not boot up, the oled...
As per your article: http://brettbeauregard.com/blog/2011/04/improving-the-beginner%E2%80%99s-pid-derivative-kick/ You've choosen to do D on input. Most modern PID controllers use D on error. I think the kick experienced when a setpoint is changed...