Interfacing Magnetic Switch Arduino