Tune PID
This commit is contained in:
parent
0b8e4d3a5c
commit
d846c930d4
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ DallasTemperature sensors(&oneWire); // declare sensors
|
|||
double pidset, watertemp, output;
|
||||
|
||||
// PID adjustment
|
||||
double Kp=2, Ki=5, Kd=1;
|
||||
double Kp=500, Ki=10, Kd=0;
|
||||
PID myPID(&watertemp, &output, &pidset, Kp, Ki, Kd, DIRECT);
|
||||
int WindowSize = 5000;
|
||||
unsigned long windowStartTime;
|
||||
|
@ -67,7 +67,7 @@ void setup() {
|
|||
lcd.print("Weckkubator 0.0.1");
|
||||
delay(3000);
|
||||
lcd.clear();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
|
Loading…
Reference in a new issue