Patent ID: 7902469

Claim:
A switch for controlling detonations in a perforation gun comprising: a housing; a pressure port extending into the housing; a piston disposed in the housing, the piston having a portion of its surface area exposed to the pressure port wherein the piston is configured to slide from a first position to a second position in the housing upon pressure being applied to the piston from the pressure port; a first electrical contact disposed at least partially in the housing such that the first electrical contact is in electrical contact with the piston when the piston is in the first position and when the piston is in the second position; a second electrical contact disposed at least partially in the housing such that the second electrical contact is in electrical contact with the piston when the piston is in the first position and not in electrical contact with the piston when the piston is in the second position; a third electrical contact disposed at least partially in the housing such that the third electrical contact is in electrical contact with the piston when the piston is in the second position and not in electrical contact with the piston when the piston is in the first position; wherein the piston is electrically conductive so as to allow current to flow from the first electrical contact to the second electrical contact or from the first electrical contact to the third electrical contact; and wherein the first electrical contact, the second electrical contact, and the third electrical contact are electrically conductive.