Here's a tutorial that 1114 programmer, Mike DiRamio, did on PID a couple of years ago.
Part 1
Part 2
The accompanying code and powerpoints are available on our website, which is currently down. I'll update this post with the links to those once the site is back up.