Skip to content
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

Bare minimum example for RPI #14

Open
mbobinger opened this issue Apr 16, 2022 · 1 comment
Open

Bare minimum example for RPI #14

mbobinger opened this issue Apr 16, 2022 · 1 comment

Comments

@mbobinger
Copy link

mbobinger commented Apr 16, 2022

Hi Guys, could you please include a bare minimum PID controller based on this REPO for the RPI?

I have found a blog entry for Onion here: https://onion.io/2bt-pid-control-python/

Please also check my question on stackoverflow that I opened in the meantime: https://raspberrypi.stackexchange.com/questions/137099/how-to-pid-control-a-heater-with-ssr-raspberry-pi-and-a-heater

Can you guide me a bit here? Maybe that's already a tutorial.

@grayerbeard
Copy link

grayerbeard commented Apr 17, 2022

@mbobinger A bare minimum PID, in my experience, just uses P and D. The I term can be problematic as anything holding control can make it build up dangerously .

So P is just difference times a constant to target and D is just rate of change times a constant.

So you just take in a measurement every scan and calculate the two and add....... and adjust to get good result. .
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants