-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output goes to 0 when above setpoint. #124
Comments
As you can find in the documentation, the output window is by default 0-255, but you can easily change this. |
Yes, the default output range is set to the analogWrite(...) range of 0-255. If you want it to go negative, use SetOutputLimits: https://playground.arduino.cc/Code/PIDLibrarySetOutputLimits/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running in to an issue where the output is always 0 when the input is greater than the set-point, but seems to be working fine when it is below it.
I think at least one other person is having the same issue, found in the Google Group. (https://groups.google.com/g/diy-pid-control/c/Z9zokl6ngZQ)
The text was updated successfully, but these errors were encountered: