The Photon cannon serves as an automated defense for Protoss bases. They are equipped with special sensors that detect both cloaked and hidden units, on land and air. Once discovered, the enemies will be fired upon using an anitmatter sphere cannon. Photon Cannons that have lost their Psi supply will be rendered inoperative.