Thank you, Uncle Bob. I actually did not ground the case of the sensor to the circuit ground because I did not think that would be so crucial, but I will try that now. Honestly, I do not understand why that would cause the circuit to do this, but if it works, I will report back. If it does not work, I will also report back ... but with a nice picture

.