• 0 Posts
  • 1 Comment
Joined 8 months ago
cake
Cake day: August 28th, 2025

help-circle
  • fleck@lemmy.worldtoScience Memes@mander.xyzControl theory
    link
    fedilink
    English
    arrow-up
    0
    ·
    13 days ago

    PIDs for can be very fun. And essentially its just 5 or so lines of code, which is something I wish they told us in uni (instead, it was mostly theory, as in the meme). I recently built a kiln which goes to 1000-something °C with a PID controller and I just set the parameters by vibes, not even some formal method. And it just works. So here is my resource: The (bit messy) controller code for my oven The code is obviously a bit more than those few lines, but I just wanted to say that the implementation is very simple, which I would have liked to know when I started out with this.

    Edit: just found a bug after looking at the code again haha, so thank you :D