Arduino-PID-Library
Arduino-PID-Library copied to clipboard
Fixes https://github.com/br3ttb/Arduino-PID-Library/issues/8
My PID output goes crazy as my error approaches zero. What am I doing wrong? Kp=2 Ki=0.1 Kd=0.3 
1. Please add "lastTime = millis()-SampleTime;" to Initialize (bug) 2. Please consider to expose this private function to public use...in some use cases changing Kp,Ki,Kd to obtain optimized set there...
hi, I see glish on pid.Compute(); because input is updatd by an interruption happening on the middle of pid.Compute(), here 👍 " double input = *myInput; " has myInput is...
Would be useful to add a method to read back output limits. I'd submit a pull reuest, but it looks like those aren't being looked at...
I get the following message when I try to compile PID-basic This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6...
as you stated already by yourself, real 64bit double is overprecise and overtaxing for PID regulation, and actually on AVR your are using 32bit float instead because double is not...
I have an error when compiling. the solution is to change the line # include To # include On PIDlib.cpp Or # if defined(ARDUINO) && ARDUINO >= 100 # include...
Line #54 if (millis() - windowStartTime > WindowSize) Should be: if (millis() - windowStartTime >= WindowSize) Existing code will drop the relay output briefly when the = event sometimes occurs