Re: PID Controller using Microcontrollers

From: Tim Wescott (tim_at_wescottnospamdesign.com)
Date: 01/19/05


Date: Wed, 19 Jan 2005 09:43:40 -0800

Andrew Jackson wrote:

>>Need to get an algo/C Code for implementing PID controller in
>>Microcontrollers - if any one has it for AVR Microcontrollers,please
>>help me.
>
>
> Google is your friend. John Shaw's website (http://www.jashaw.com/pid/)
> contains useful information.
>
> Andrew
>
>
You can also see http://www.wescottdesign.com/articles/pidwophd.html.
All of the coding is in floating point with implementation on an integer
machine left as an exercise to the reader, but I think you'll find it
useful.

-- 
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com