My son and I play hockey in our house, also known as knee hockey, and he asked one day about the horn at NHL rinks when they score. He wanted to know if we could get one. Instead of buying a rediculously loud goal horn (was never going to happen) I decided to build one instead.
Step 1: Step 1: Gather Materials
1- (Adruino Uno)
5- (Male-Male Jumper Wires)
1- (10K Ohm Resister)
1- (Push Button)
1- (Piezo Button)
Step 2: Step 2: Put the Circuit Together
Add components as shown in the picture above.
Piezo Buzzer does have a positive side that need to be hooked up to the Arduino at pin 8. It is the white wire in the real picture and the Red wire in the Tinkcad picture.
Step 3: Step 3: the Code
Here is a link to the Hockey Goal Horn code.