Note that capacitor can be changed depending on the length of buzz that you desire
The Mag Sword is a pure component based project. The absence of code allows for easier trouble shooting, easier repair, and make the Mag Sword easier to produce. The Mag Swords themselves are covered in magnetic sensors that cause the buzzer to go off whenever the sensors come in contact with a magnet. Using a transistor and a capacitor we can extend the buzz and LED light,
Figure 1: Magnetic Read Switch placed in the foam
A breadboard with the circuit
Magnetic Read Switch Placed in Foam