Swimming is a great way to exercise ... Obviously, the solution is an electronic lap counter, which [Peter] promptly set about creating. The build is based around an ultrasonic distance sensor ...