Circuit diagram with battery and magnet