I'm looking to build a sensor which will detect the level of liquid in a tube.
It does not have to be precisely accurate, just detect whether the level is approximately above a certain height.
The liquid level can be seen in the red oval
I thought about monitoring this with a webcam and using opencv to detect the liquid level. but this seemed a bit overkill. Especially if I have to have a dedicated PC to process the images.
Surely there's a simpler solution.
Perhaps a component I can attach to a raspberry PI or arduino board ...
I'm not very familiar with laser sensors so I don't know what is suitable.
As long as it's reliable ...
EDIT
I should add that the tube contains toluene which is flammable, and it is vacuum sealed. So we can't just drill into it. Some kind of optical/laser sensor might be OK, as long as it can recognise a clear liquid.