The Pied Piper Mouse Trap

Distance-measuring sensor activates a mouse trap which plays music while luring a mouse out of the house. The Arduino microcontroller reads the motion-sensor and controls the music Box. An approaching mouse activates the trap. The bait on the tip of the paper slip lures the mouse step by step, while the progression of the perforated note paper generates the melody. Playing the music from the Der Rattenfänger von Hameln opera by Viktor Nessler.