Circuit Playground Nerf Target

by AlexV102 in Circuits > Arduino

1753 Views, 13 Favorites, 0 Comments

Circuit Playground Nerf Target

target@0.5x.jpg

This project is expanding on my Project Box Instructable, a responsive Nerf Target using Project Box with lights and sound, and uses the Adafruit Circuit Playground as the brains.

Supplies

target_tools.jpg

Customize Target in Tinkercad

Screen Shot 2022-04-01 at 10.54.48 AM.png
Target_diameters.jpg
Screen Shot 2022-04-01 at 10.27.18 AM.png
Screen Shot 2022-04-01 at 10.58.57 AM.png
Screen Shot 2022-04-01 at 11.09.50 AM.png
Screen Shot 2022-04-07 at 10.26.24 PM.png

Before we start printing any of the parts, we need to customize the target. I will show you three ways to do that in Tinker Cad below.

This video will show how to make a target insert.

This video will show how to edit the "Target no insert.stl" file and add a custom face to it.

This video will show how to get a Silhouette of an image and create an insert face from it.

image to svg: https://convertio.co/png-svg/

How to Print the Target With 2 Colors Using One Nozzle

IMG_4303.jpg
IMG_4304@0.5x.jpg

If you want to make your artwork visible on your target, you're going to want to print in 2 colors. If you don't have a printer that can print in two colors, this video from Crazy Will Tech Show will show you how to do it.

3D Print Target Parts

Screen Shot 2022-04-01 at 11.22.57 AM.png
Screen Shot 2022-04-01 at 11.26.19 AM.png
Screen Shot 2022-04-01 at 2.53.34 PM.png
Screen Shot 2022-04-01 at 2.54.26 PM.png
Screen Shot 2022-04-01 at 2.54.00 PM.png

Let's print the base parts for the target.

Building the Target

microswitch.jpg

We are going to use Pin 1 and Pin 3 on the micro switch.

Circuit Playground Project Box (optional)

logo.jpg

If you want to protect the circuit playground, follow the instructions for this project box. It will also allow you to see the the LED pixels while playing the games.

Programming the Target

Screen Shot 2022-03-21 at 10.33.05 PM.png

Now that we have the target assembled, we can start writing the programs. I have created 3 programs that we can use with our target. Game One is a single player game with the objective to hit the target 10 times in order to win. Game Two is a two player game to see who can successfully hit the target first a total of 5 times. Game Three is a "Crack the Code" game where you set up multiple targets and you have to hit the targets in the right order.

Game 1 - 1 Player Game

Screen Shot 2022-04-24 at 11.17.18 AM.png
game1.png

This is a one player game with the objective to hit the target 10 times in order to win.

Make code Link: https://makecode.com/_P5UgL2CdpE1J

Game 2 - 2 Player Game

Screen Shot 2022-05-02 at 9.59.54 PM.png
game2.png

In this game, two players will compete to see who can successfully hit the target first a total of 5 times.

Code Link: https://makecode.com/_6a7d6qRAJ8uo

Game 3 - Puzzle Game

Screen Shot 2022-04-25 at 8.59.36 AM.png
game3.png

This Puzzle is a fun "Crack the Code" Game that would be an exciting game to play at a party.

Code Link: https://makecode.adafruit.com/50881-11141-21451-28619

Optional Audio Jack

speaker.png
audio2.png
audio1.png
audio4.png
audio3.png

There are two ways to get audio output - one is via the small built-in speaker and the other is by using alligator clips to connect a headphone or powered speaker to the A0/AUDIO pin. We are going to cut a set of alligator clips and connect them to 3.5mm female audio jack so we can connect external speakers. For this step, you will need the audio jack, solder seal wire connectors, wire cutters and heat gun. By using the solder seal wire connectors, the result is a clean connection with no soldering needed. The photos show the finished product.

Conclusion

What other game ideas can you come up with? Please comment below with your suggestions.