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.