I have written a PID controller interface for the PIC, it's in the PIDC120 = IC: http://nautilus-integration.com/Datasheets/PIDC120.pdf If you're interested in adding autotune privately, I can send you the code. On Thu, Sep 1, 2011 at 11:31 AM, wrote: > I would suggest you check the libraries that Microchip have for the dsPic= devices, I have a feeling there is a PID library in there, but I haven't c= hecked. > > Other than that actual PID code seems simple enough. I suspect it is the = auto-tuning part that is the hard part. > > > > > -- > Scanned by iCritical. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .