Arduino Quiz Game With Led Strip for Score and Two Buttons
Introduction: Arduino Quiz Game With Led Strip for Score and Two Buttons
Two teams answer questions by pushing their button.
They can score an amount of points equal to the random number of lights lit on their button.
This requires some strategic choices and luck. When the teamscores meet on the large led strip, they can take away points from the other team. First one to the other side wins!
There is also a secret party-mode for music rounds or after the quiz.
The quizmaster can manually add or substract bonuspoints.
Supplies
* Arduino Nano 5V (clone)
* 5 mall arcade buttons (team A, team B, Correct, Wrong, Reset)
* small 7seg display
* Optional: Nano V3.0 3.0 Controller Terminal Adapter Expansion Board
* 5V 2A power supply (I use a USB powerbank or wall outlet)
* telephone cable (4 wires. But you can use any wires)
* WS2812B neopixel strips with 144px/m (lengths: 5px, 5px, 48px). The main strip can be as long as you wish.
* R470 Resistor (optional. for safe communication between neopixels and Arduino)
* 1000mF capacitor (optional. for safe communication between neopixels and Arduino)
* 3.6mm wood for lasercutting
* (hot) glue
* 3D printer (for buttons and optional led diffuser)
Step 1: Lasercut the Console
Go to your local makerspace/fablab/... to lasercut the console box on 3.6mm wood (I used cheap multiplex)
Use this .svg to cut.
I'v added some small extra pieces to make glueing everything together easier.
It's not a tight fit, so you will probably need woodglue.
Glue everything together. I left the bottom open. But you can easily cut an extra piece of wood to close it.
Step 2: Cut the Led Strip
Cut the 1 meter (144 leds) strip in pieces of 48, 5 and 5 pixels. Use the rest for other projects.
Try to cut in such a way that you have enough metalic padding to solder your wires to. It's not super easy to solder on the pads. Use flux and a magnifying glass.
If you want to build your own console, you can use a strip as long as you wish, instead of the 48 pixels I used.
Step 3: Assemble the Circuit
Solder everything together.
For easy access, I use an Nano terminal adaptor expansion board. It's sturdier than a breadboard but more flexible to change or damage than soldering directly to the arduino nano.
I used these digital pins:
1. /
2. btnPlus (to judge an answer as being correct or to give team B bonuspoints)
3. 769
btnMin (to judge an answer as being wrong or to give team A bonuspoints)
4. bntB (arcade button for team Blue)
5. btnA (arcade button for team Yellow)
6. StripB (5 led strip on button Blue)
7. /
8. StripC (48 pixels led strip for showing the score)
9. btnR (Reset button. Hold to reset the game)
10. StripA (5 led strip on button Yellow)
11. DIO 7SEG (to 7segment display)
12. CLK 7SEG (to 7segment display)
Optional but advised
* Add a R470 Resistor between the neopixel input and pin8.
* Add a 1000mF capacitor between + and - of your power supply to prevent ledstrip from overcharging.
* Use screw terminals. This way it's easier to repair without soldering if someone pulls to hard on the wires and something breaks.
Step 4: 3D Print the Buttons
* Download the button bottom .3mf
* Download the button top .3mf
Print with at least 15% infill to make sure the button can take a hit.
I used regular PLA on my Ender 3.
Step 5: Glue Everything Together
Console
1. Glue or screw the nano expansion bord to the inside of the box.
2. Glue the led strip on the extra, long, piece of wood you lasercut.
3. Glue that wood to the small pieces you lasercut
4. Glue the small pieces to the back of the top-plate of the console. This way their is room for the wires from the led strip to go inside the box.
5. 259