Buzzer Beater Simulator

NBA finals just opened, in NBA, sometimes players delivered "buzzer beater" to reverse the game for the championship and create a legend. The purpose of my machine is to simulate that "buzzer beater", you press the button and shoot before the buzzer buzz, simple as that.

Step 1: Materials

1. Arduino Leonardo x1

2. Breadboard x1

3.Big cardboard x2

4. Box cutter x1

5. Glue gun x1

6. Wires (some)

7. Button x1

8. LCD screen x1

9. Speaker x1

Step 2: Procedure

1. Insert the LCD screen

2. Insert the speaker

3. Insert the button

4. Use cardboard to make a box to contain Arduino

5. Make holes for wires, screen, and button.

6. Stick the backboard and the basket on the board

Step 3: Code

#include

#include

// For these LCD controls to work you MUST replace the standard LCD library from...

// https://github.com/marcoschwartz/LiquidCrystal_I2...

// Direct download https://github.com/marcoschwartz/LiquidCrystal_I2...

// Your project will not compile until this is done.

//

LiquidCrystal_I2C lcd_I2C_27(0x27,16,2);

void setup()

{ pinMode( 5 , INPUT);

lcd_I2C_27.init ();

lcd_I2C_27.backlight();

}

void loop()

{ if (digitalRead( 5 ))

{

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "5" );

delay( 1000.0 );

lcd_I2C_27.clear();

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "4" );

delay( 1000.0 );

lcd_I2C_27.clear();

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "3" );

delay( 1000.0 );

lcd_I2C_27.clear();

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "2" );

delay( 1000.0 );

lcd_I2C_27.clear();

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "1" );

delay( 1000.0 );

lcd_I2C_27.clear();

lcd_I2C_27.setCursor(0.0 , 0.0) ;

lcd_I2C_27.print( "0" );

tone(11, 440.0, 1000.0);

}

}

Step 4: Circuit Diagram

LOOK AT THE PICTURE.

Step 5: Final Product

YEAH

Share

    Recommendations

    • Sensors Contest

      Sensors Contest
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Pets Challenge

      Pets Challenge

    Discussions