Quiz Game Controller using “Lights and Sounds Buzzers” and Arduino

Arduino Quiz Game Controller

Jeopardy style quiz games are favorites for creating excitement and educational instruction at the same time.  Teachers, summer camp counselors, and even industry educators find this type of game to help generate interest and involvement from the participants.

Arduino Quiz Game Controller

The idea behind the game is simple, but sometimes finding a device that will perform the “first to respond” lockout function can be problematic.  Here is YAQGC (Yet Another Quiz Game Controller 🙂 based on some pretty neat lighted buzzers and an Arduino put in to a project box.

While the “Lights and Sounds Buttons” from Learning Resources were designed as “stand alone” devices, a few modifications allows them to be connected to and controlled by an Arduino controller.  The “Lights and Sounds Buzzers” make a professional looking and fun implementation of a Quiz Game controller.

The buzzers are modified to plug into a base unit and provide “button press” signals and accept an “activation” signal.

The control box houses the Arduino Uno, the reset button, and four LEDs.

While the button modifications are a little tedious, intermediate soldering skills and patience will produce a nice looking and fun to use Quiz Game Controller.

In addition to capturing the first to respond “winner”, the controller also captures 2nd, 3rd, and 4th place in order of button press.  The order is indicated on the control box LEDs.  Of course the beauty of having a programmable controller is tuning it to just the way you want it.  Other game modes are possible, including “Wheel of Fortune” modes, although this version of the Arduino program only implements the “Jeopardy” style game.

Let’s get started!

YouTube demo of completed system

Background and instructions on www.projectnotions.com

 

Step 2: Button Modifications

Overview

The button is modified to accomplish three functions: * First, to bring to the control box a line when the button is pressed. * Second, to bring a line from the control box to the button to turn on the lights and sound. * Third, provide a relay that allows the sound to be turned off.

Because there are 4 things we want to do (ground, button press, activate lights, activate sound) and we only have 3 wires, we have to combing two functions using one wire. We accomplish this by taking advantage that the logic on the button does it’s own management of the lights and sounds function. When the “activate” line goes high for about 20ms the button logic activates the light and sound. By connecting a compact relay to this same line we can control the sound in an independent way.

Here are the states we manage on the “activate” line.

–   Low – The button is off. If it was previously activated, it will turn itself off after about 2.5 to 3 seconds.
High Pulse – We drive the activate button high for 20ms, and then drive it low again. The button logic will turn on the lights and sound for 2.5 to 3 seconds, but because we connected the speaker through the relay, the relay will only stay on for 20ms. So, we don’t really hear any sound because the relay has disconnected the speaker from the circuit.-
–   High Solid – We drive the activate button high for about 2.5 seconds. The relay keeps the speaker connected to the circuit for the entire duration of the button’s “activation time.” and we both see the lights AND heard the sound.

The button schematic is below.

With these modifications we can program the Arduino to mange the lights and sounds independently. Our initial program turned both lights and sounds on for the first cycle, and then just turned the lights on over and over again until the reset button was pressed or until the timeout expired.

It is somewhat of a tight fit in the button and we chose a 2.5mm stereo phone jack for the connector to minimize the space required. The four main changes are:

Arduino Quiz Game Controller schematic

Cut the pc board trace to separate the “button press” signal from the “activation line.”
Drill a hole, countersink it, and mount the phone jack.
Mount the compact relay.
Cut and solder the necessary wires.

Step by step instructions:
1. Collect the parts

4x Lights and Sounds Buzzers
4x Submini phone Jacks
4x Reed relays
Hookup wire

2. Disassemble the buttons

Remove the four feet from the bottom (A small flathead screwdriver might help.)
Remove the four screws
Remove the battery compartment cover
Repeat for each button

 

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]

Components

Here are the required parts:
– (quantity) Description
– (1) Set of “Lights and Sounds Buzzers” by Learning Resources
– (4) Mini Reed Relays (Radio Shack 275-0232 or similar)
– (1) Arduino Uno
– (1) Project Box
– (4) LEDs, one each in RedBlueGreenYellow (with included resistor or similar)
– (5) resistors, 2.2K (RS 275-1301 or similar)  (or any value you have from 220 to 2.2K should work)
– (8) 2.5mm stereo mini phone jacks
– (1) Reset Button, Normally Open, Momentary Contact (RS 275-609 or similar)
– (2) 3 feet 2.5mm Male To 2.5mm Male – Stereo
– (2) 6 feet 2.5mm Male To 2.5mm Male – Stereo
– (1) Project Box
– hookup wire

Tools include:
– Soldering iron
– screwdrivers (phillips and flat head)
– Dremel type tool for cutting and countersinking holes
– (computer to load the Arduino code)

[/box]

Control Box

The control box construction is fairly straightforward. To handle the 4 colored buttons we need:

–    Four submini phone jacks.
–    Four male to male 3.5mm stereo extension cords. Each button is connntected to the control box with one of these cords.
–    Four LEDS, one RED, one GREEN, one BLUE, and one YELLOW. We chose LEDs with included resistors to minimize wiring.
–    One Arduino UNO (or compatible)
–    One momentary contact push button, normally open to use as a RESET button.
–    One project box to put everything in.
–    One power supply. We found a 5V AC to DC power supply in our “project supply pile.” Note that the control box will get it’s power from the USB conector when connected to a computer for programming the Arduino.

The control box provides several functions:

–   It connects to the buttons to detect when the buttons are presssed.
–   It controls starting the button lights. (The lights stop on their own with the built in button logic.)
–   It controls whether the button sound is switched to the speaker or not.
–   Four colored LEDS on the control box indicate 1st, 2nd, 3rd, and 4th place (for a Jeopardy style game.)
–   It provides a reset switch for resetting the game, and enabling other functions (i.e. light test mode.)
–   It contains “pull down” resisters on lines that would be “floating” otherwise. This ensures reliable operation.

The schematic below shows the components and interconnections.

Physical Construction

We used a project box with approximate dimensions of 6” wide x 3 3/4” depth x 1 3/4” high. Any size that fits the components will do. It might be nice to fit batteries inside the box, but we used the power connector with an external supply, either AC or battery powered. The general steps we followed were:

–    Plan for LED, phone jack, Arduino UNO, and reset button placement.
–    Drill holes for the phone jacks, countersink, and ensure good fit.
–    Drill holes for the LEDs and Reset switch.
–    Cut openings for the Arduino UNO USB connecation and power jack.
–    Wire and solder the connections.

Step by step instructions:
1. Collect the parts

One project box
4x LEDs (one RED, one GREEN, one BLUE, one YELLOW)
4x Submini phone Jacks
5x 2.2K resistors
1x Arduino UNO
Pins for soldering connections to the Arduino bin blocks
Hookup wire

2. Plan and drill holes

Drill holes for the phone jacks, countersink, and fit.
Drill holes for the LEDS and fit
Drill hole for the reset button and fit.
This step may be tedious. We used a Dremel tool to cut the holes for the Arduino UNO.

Make sure you have a way to fasten the UNO to the control box. Use stand-offs if necessary.

3. Connect and solder wires

Refer to the schematic for correct wiring connections.
We soldered the 2.2k pull down resister for the button switch directly on the phone jack connector.
We only put the LEDs and the reset button on the top to make it easier to take the top off with a big wiring mess.

4. Assemble and test

Check the wiring carefully as you go along.
It is easiest to test with the Arduino programmed, so you may like to proceed to the next step for programming the Arduino.

Read more: Quiz Game Controller using “Lights and Sounds Buzzers” and Arduino

Leave a Comment

Your email address will not be published. Required fields are marked *