Check tutorials forum, I wrote a tutorial about PIDs recently. I should even have a link in my signature.