Hey guys.

My group and I are doing some work with IR sensors and sounds for our semester project. We've been using this PD for the first time ever, and we used this guys blog for help.


This is the part we're at:

We got it working with the button thing, and had stable numbers, but when we connected our sensor instead of the button, our numbers were really unstable.
Is there a way to get our sensors numbers more stable? Or is this just the way it is?
The sensor we're using is Sharp GP2Y0A02YK0F.

Any help is much appreciated.

Best Regards, Litcandle.