user-img

Mirko Pavleski

  • 27 Projects
  • 12 Followers
  • Nov 28,2024
+ Follow

DIY simple HUNTER Led Game with Arduino

This is a custom version of the Hunter game with 10 LED and LCD display to show the score, followed by various sound effects.

DIY simple HUNTER Led Game with Arduino
 
  • thumbnail-img
 

Hardware Components

  • Arduino Nano R3

    X 1
  • I2C 16x2 Arduino LCD Display Module

    X 1
  • LED

    X 1
  • Buzzer

    X 1
  • Pushbutton

    X 1
  • Resistor 10k ohm

    X 1
  • Resistor, 470 ohm

    X 1

Tools, APP Software Used etc.

  • soldering kit

  • Arduino IDE

    Arduino IDE

    Arduino

Story

 Some time ago I presented you a simple to make, but interesting game, a 1D version simulation of "Pong game" made with Arduino and 10 LEDs. This time I'm going to use the same hardware with minimal pinout changes to show you how to make an equally fun and addictive game known as "Hunter". The goal of the game is to press a button at the moment when a pre-defined LED is lit and we get a point. 

This is a modified version of the Hunter, with two LEDs marked as the target. The Target LEDs are Blue, and the arrows indicate the direction of movement in which they are active. The LEDs "move" in the style of the Night Rider effect, where the first target (LED) is active when moving from left to right, and the second one vice versa, from right to left.

  Information about the game and the score is displayed on the 16x2 LCD Display. 

The first level is the easiest, and in each subsequent level the speed of movement of the LEDs increases. For each level we have 10 seconds to hit the target. With each passed level we get one point. If we fail to hit a target within 10 seconds, the game ends, the score is displayed on the screen, and after three seconds a new game begins. The movement of the LEDs, hitting the target, and the end of the game are followed by corresponding different sounds generated by a small buzzer.

   As I mentioned before, the game is very simple to make and contains only a few components:

 - Arduino Nano microcontroller board

 - I2C LCD Display 16x2

 - 10 LEDs

 - 2 Buttons (only one is enough, but in this case they are connected in parallel because they remained from the previous project)

 - Buzzer

 - And ten resistors of 470 ohms to limit the current of the LEDs

 I should mention here that you can also use only one resistor for all the LEDs. Namely, in this project, more than one diode is never lit at one time. In this special case, we connect the anodes directly to the Arduino pins and the cathodes to each other, and through a series resistor of 470 ohms to ground (the negative pole). Schematic diagrams for this case is given below.

 Аnd now let's see how this device works in reality: At the start of the game the LEDs start to move from left to right and vice versa in the style of effect night rider. Now you need to press one of the buttons at the moment when one of the  blue target Leds is lit. If we did it successfully, we go to the next level, where the Leds moves with higher speed. If we fail to hit the target in 10 seconds, the game ends and the final score appears, and after three seconds a new game starts.

  And finally a short conclusion:

This is a custom version of the Hunter game with 10 LED and LCD display to show the score, followed by various sound effects. It was made on the basis of a previous project, where the same hardware and box were used, and only the Arduino code was changed. In the next period I will try to make another interesting game, while again using the same hardware configuration from the previous two projects.

Code
Schematic and Layout
  • Schematic

    Schematic_with_10_Resistors_16946122226748560d0eb5f.jpg
    Download(0)

DIY simple HUNTER Led Game with Arduino

This is a custom version of the Hunter game with 10 LED and LCD display to show the score, followed by various sound effects.

115
 
2
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 2 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.