THE Wire Loop Game

by JonathanJeon in Circuits > Arduino

476 Views, 4 Favorites, 0 Comments

THE Wire Loop Game

318066145_661627708780159_5185714805328902190_n (1).jpg
Wire Loop Game

As a kid, I would always play the wire loop game at my local carnival. The game involves guiding a loop through a series of pattern of a wire without touching the loop with the wire. My own version of the game uses an Arduino Nano 2040, coupled with the MPR 121 in order to remake this game. If the loop touches the wire, then the light strip lights up red and makes a noise. There is also a green timer in order to pace the user. This was extremely fun to build and well worth all the planning and effort.

Supplies

317998581_447267814285332_7425089643500849417_n.jpg
318362030_1132895104024893_5613675654662350965_n.jpg
318313321_2071895986332568_8321225723832793646_n.jpg

You will need:

  • About 3 feet of stripped wire
  • Arduino Nano 2040 (with Circuit Python installed)
  • Breadboard
  • Hamburger Speaker
  • Light Strip
  • Button
  • MPR 121
  • Alligator Clips
  • Male-to-Male Jumpers
  • Sandpaper
  • 1/8 inch Birch Wood
  • Laser Cutter
  • Portable Phone Charger w/ USB cable
  • Wood Glue
  • Hot Glue
  • Double-sided Tape

Draft Design

318307583_1283257422406671_4597405702544862577_n.jpg

Before I started, I knew I had to draft a rough sketch of my box before laser cutting. I thought about everything, including holes for the wire, the light strip, the USB Cable, the button, etc.

It was really helpful to think about the logistics of my idea before moving on and actually executing on it.

Laser Cut/Glue Box

318046902_811428903642018_4253379546471115023_n.jpg
318431476_1742658189453124_5849122173497969826_n.jpg

I used a website called MakerCase.com in order to design my box. I used Adobe Illustrator to put all the holes and cuts into my box that I had planned out in my sketch. In addition, I engraved the title of my project, "The Wire Loop Game" onto the top and front of my box.

Then, I imported the svg file into Trotec Ruby and used the laser cutter to cut out my box in 1/8' baltic wood.

Finally, I glued all the parts of the box together using wood glue and let it dry for a couple of hours.

The Wire

319114060_506498418209487_1614641439436929099_n.jpg
318556679_456247373344849_3244858901723009727_n.jpg
318328692_389090676732735_5849229825048868997_n.jpg

Getting the wire to conduct electricity was one of the more difficult tasks of the projects.

I realized that the copper wire I was planning to use was galvanized, meaning that I had to sand down the entire wire for it to properly conduct electricity and make it conductive to touch. Thus, I instead had to strip down a steel core wire using a wire stripper for the entire 3 length feet.

As for the remaining copper wire I had, I decided to use it for the "loop" for the game. I used sandpaper to expose the inside of the copper wire and created a loop with it.

Assembly

319197039_658353842506678_2398981123970535748_n.jpg

In order to assemble the entire project, I utilized the portable phone charger in order to to power up the Arduino board. I used jumper wires and alligator clips to connect everything. There is a pinout diagram of the Arduino Nano 2040 online. In my code, I used different pins as the signal for the speaker, the MPR 121, the button, and the strip.

I used double-sided tape to tape the light strip to the box, and used hot glue to glue the button onto the box.

Code/Sound Wav File

The code and the sound file is attached above.

Feel free to customize the sounds!

It is important to note that my sounds folder is called "sounds". If you have a different sound folder, then you should change that accordingly in the path = "sounds/" variable.

Have Fun!

That is it! Have fun with your completed build!

Feel free to customize the difficulty of your wire, or give yourself more time on the light strip timer.