jmann3400:
Have you considered the HC-Sr04 ultrasonic sensor? If not, I'll post a link below.https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
Tried it already, but because it is sound waves it will not work in a tube cause the soundwaves will be bounced all over the place.
But thanks anyway