Introduction: Circuit Playground Nerf Target

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

Step 1: Customize Target in Tinkercad

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/

Step 2: How to Print the Target With 2 Colors Using One Nozzle

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.

Step 3: 3D Print Target Parts

Let's print the base parts for the target.

Step 4: Building the Target

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

Step 5: Circuit Playground Project Box (optional)

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.

Step 6: Programming the Target

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.

Step 7: Game 1 - 1 Player Game

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

Step 8: Game 2 - 2 Player Game

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

Step 9: Game 3 - Puzzle Game

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

Step 10: Optional Audio Jack

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.

Step 11: Conclusion

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

Toys and Games Contest

Participated in the
Toys and Games Contest