Buzzer is connected to ground and d4
Switch 1 is connected to ground and d6
Switch 2 is connected to ground and d7
Switch 3 is connected to ground and d8
When i turn on the arduino, do nothing
when i press switch 1, countdown 5 seconds then when it reaches 0, buzz 3 times
when i press switch 2, countdown 8 seconds then when it reaches 0, buzz 5 times
when i press switch 3, stop the countdown and reset
I do to and they just buzz along just fine. Mine are connected to an Arduino with several switches as well. I made an annotated schematic before wiring them and wrote the code. They communicate over CAN to the other nodes.
I suggest you do the Annotated schematic thing as your word salad is useless. Also show all connections, power, ground and power sources. Post links to technical information on each of the hardware devices. You realize without code we cannot debug it so post your code as well following forum guide lines.
We’re more than happy to help with your design or code, but we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly.
Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.