user29252: I'm building a kind of pin ball machine, and I need to detect when the ball has hit the wall with the sensor attached.
The ball will hit the wall with a small impact, not large enough to push a button probably. What sensor would be the best to use in this case?
I thought about ultrasonic but I'm not a fan of the constant chirping. Can a light sensor be used here? Eg if there's 10% light left, we assume the ball has reached the wall.


user20245: 
The ball will hit the wall with a small impact...

Consider using the well proven pinball bumper design omitting the hammer feature:

In many pinball machines a "rubber ring" is stretched in front of one or more "leaf switches".  When the ball hits the "rubber ring" one or more of the "leaf switches" closes (or opens depending on if the "leaf switch" is N.O. or N.C.).  There are many example for connecting switches to an Arduino.

29252: <p>I'm building a kind of pin ball machine, and I need to detect when the ball has hit the wall with the sensor attached.</p>
<p>The ball will hit the wall with a small impact, not large enough to push a button probably. What sensor would be the best to use in this case?</p>
<p>I thought about ultrasonic but I'm not a fan of the constant chirping. Can a light sensor be used here? Eg if there's 10% light left, we assume the ball has reached the wall.</p>
<p><a href="https://i.stack.imgur.com/eWV4s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eWV4s.png" alt="enter image description here" /></a></p>
 20245: <blockquote>
<p>The ball will hit the wall with a small impact...</p>
</blockquote>
<p>Consider using the well proven pinball bumper design omitting the hammer feature:</p>
<p><a href="https://i.stack.imgur.com/dx8Gl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dx8Gl.png" alt="enter image description here" /></a></p>
<p>In many pinball machines a &quot;rubber ring&quot; is stretched in front of one or more &quot;leaf switches&quot;.  When the ball hits the &quot;rubber ring&quot; one or more of the &quot;leaf switches&quot; closes (or opens depending on if the &quot;leaf switch&quot; is N.O. or N.C.).  There are many <a href="https://www.arduino.cc/en/Tutorial/BuiltInExamples/Button" rel="nofollow noreferrer">example for connecting switches to an Arduino</a>.</p>
