In this project, we are going to make the hardware of this game and use an Arduino microcontroller. When the hook of the handle will touch the loop, a signal will be sent to the microcontroller and it will sound a buzzer.
How to make a Buzz Wire game Using Arduino?
If you don’t know how to play this game, the goal of this game is to take the hook of the handle from one end of the wire loop to the other end of the loop without touching it to the loop. If the hook touches the loop of the wire, a buzzer will sound and the player will have to start again from the beginning of the loop. A person who does this in the shortest time is considered to be the winner.
Step 1: Collecting The Components
If you want to avoid any inconvenience in the middle of a project, the best approach is to make a list of all the components that will be used and going through a brief study of their working. A list of all the components that we are going to use in our project is as follows:
Step 2: Studying The Components
Now, as we have a complete list of all the components, let us move one step forward and go through a brief study of the working of every component. Arduino nano is a breadboard-friendly microcontroller board that is used to control or carry out different tasks in a circuit. We burn a C Code on Arduino Nano to tell the microcontroller board how and what operations to perform. Arduino Nano has exactly the same functionality as Arduino Uno but in quite a small size. The microcontroller on the Arduino Nano board is ATmega328p. if you don’t have an Arduino Nano, you can also use Arduino Uno or Arduino Maga. A Piezo Buzzer is an audio signaling device or a loudspeaker in which a piezoelectric effect is used to produce sound. A voltage is applied to the piezoelectric material to produce an initial mechanical motion. Then the resonators or the diaphragms are used to convert this motion into an audible sound signal. These speakers or buzzers are comparatively easy to use and have a wide range of applications. For example, they are used in digital quartz watches. For ultrasonic applications, the operate well in the range of 1-5 kHz and up to 100 kHz.
Step 3: Making The Circuit
Step 4: Understanding the Working
When the whole hardware of the buzz wire game is made, all the connections of wires are made with the Arduino board. A High signal is sent to pin9 of the Arduino board. As this pin is connected to the wire loop of the board and the hook of the handle is connected to the positive pin of the buzzer, when these two will touch each other, a circuit will be completed and a voltage signal will through the loop wire to the hook of the handle and the positive pin of the buzzer. This will sound the buzzer even if the connection is for a small part of a second.
Step 5: Getting Started With Arduino
If you are not already familiar with the Arduino IDE, don’t worry because a step by step procedure to set-up and use Arduino IDE with a microcontroller board is explained below. To download the code, click here.
Step 6: Understanding the Code
The code is very simple and well commented. Still, it is briefly explained below.
- At the start, a pin is declared to be used on the Arduino board.
- void setup() is a function that is used to set the pins as INPUT or OUTPUT. It also sets the baud rate of the Arduino. Baud rate is the communication speed of the microcontroller board and in other words, we can say that it is the bits per second.
- void loop() is a function that runs again and again in a cycle. Here we are just sending a HIGH signal to the pin9 of the Arduino board. Now as you know how to make an awsome buzz wire game at home, enjoy making your own and playing it with friends or family. Let’s see who can manage the hand speed with time.
How To Make A Smoke Alarm For Your Kitchen Using Arduino?How To Make A Digital Thermometer Using Arduino?How To Make Obstacle Avoiding Robot Using Arduino?How To Make A Smart Stick For Blind People Using Arduino?