Introduction: Basketball Hoop Game

"This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)"

This project is to design, 3D print, and build and basketball hoop game. The game is simple, all you need to do is score a goal press the button and the person will raise his hand to high five you.

Please don't hesitate to watch my video of the project working as well as other details that may help you build your own at https://youtu.be/R8RZyPKhvs8

Step 1: What You Need.

1) Arudino

2) Breadboard

3) Wires

4)Step Motors

5) LCD Screen

6) Plastic to use for the 3D printer

Step 2: Step 1 (Designing)

First, you need to design the shape and mechanics of the basketball hoop you want using Autodesk inventor.

Step 3: Step 2 (Electric System)

In This step you need to build your electric system.

1) Power the breadboard and create a circuit using the 5V pin and ground.

2) Make sure you power the Motors and LCD as well.

3) Connect each device such as LCD, Motor, one of the control pins in the Arduino to control it.

Step 4: Step 3 (Programing)

1) I start by including my library so it can function properly. You can also see that there is several defines where I define each servo to attach and also the LCD.

2) I include servo 1 and 2 to control the arms For example, I defined pin 9 to control the servo which I built in my electric system.

3)I have a pin mode for that button so it's an input so it could know when the button is pressed to do the actions it is required

4) My void setup has the servos set up at angle zero and they will increase to angle 180 when the button is pressed so every time the button is pressed the hands will go up 180° and come back down however from my LCD I also have it to print "goal" whenever there's a score.

You can also fid many other functions and examples at www.Arduino.com

Step 5: 3D Printing

After you have have designed your project you will need to 3D print your parts and start assembling it with the electric systems LCD, and motors. You can use epoxy to stick your peaces together and make the magic work!

Please don't hesitate to watch my video of the project working as well as other details that may help you build your own at https://youtu.be/R8RZyPKhvs8