Shop OBEX P1 Docs P2 Docs Learn Events
SX/B and SX as a PID? — Parallax Forums

SX/B and SX as a PID?

geekythinggeekything Posts: 53
edited 2007-10-25 17:07 in General Discussion
Has anyone done PID routines in SX/B? I'm comfy attaching a thermocouple but not so good with the software-side of PIDs [noparse];)[/noparse]

Or SX assembly would be fine and I'd translate it.

-marc

Comments

  • SteelSteel Posts: 313
    edited 2007-10-11 16:55
    This may sound silly, but what is a PID? The PID I know is a Product ID number in USB Descriptors.
  • BeanBean Posts: 8,129
    edited 2007-10-11 18:41
    PID is Proportional, Integral, Derivative.
    It is a control algorithm.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My goal is to live forever...Or die trying.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • PJMontyPJMonty Posts: 983
    edited 2007-10-12 04:12
    Steel,

    PID is typically (but not exclusively) used in servo loops to control the actual motor. Here's the Wikipedia entry:

    en.wikipedia.org/wiki/PID_controller

    Thanks,
    PeterM
  • CCraigCCraig Posts: 163
    edited 2007-10-12 13:09
    Andy Lindsay had some good posts a couple of months ago. It was for the BS2 and they worked great. I only tried the first samples until my son wanted his Boe-Bot back. Very good reading.


    http://forums.parallax.com/showthread.php?p=649354


    HTH, Chris
  • DunnseptDunnsept Posts: 115
    edited 2007-10-25 17:07
    sorry.. haven't been on the forums in ages. I implemented P and I (but ran out of code space for D) on an SX28 to use for my coffee roaster. I am going to ressurect it for controlling mash temps in my beer brewing setup. somewhere in the sandbox should be pics and I think the code from the coffee roaster (you'll have to search as it was quite a while ago)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    stand back! I have a slide rule and I know how to use it!
Sign In or Register to comment.