Here is a circuit and project;
http://rentron.com/PICX1.htm

The data sheet helps too