here's a link to a complete project
http://www.talkingelectronics.com/Pr...n/SimonP1.html