An animation illustrating how a float switch can be used in different positions in a tank of water to detect whether the tank is full or empty. Two float switches are placed at the top and the bottom of the tank.
View the discussion thread.