"Génies en Herbe" / "Reach for the Top" Game Machine

Open-source design for a "Génies en Herbe" / "Reach for the Top" quiz machine (can't afford the machines that are for sale on the Internet).

Aug 3, 2019

2619 views

1 respects

Components and supplies

1

Rotary potentiometer (generic)

3

Pushbutton Switch, Pushbutton

1

Arduino Mega 2560

1

Resistor 220 ohm

1

Buzzer

3

LED (generic)

Project description

Code

GenieEnHerbe.ino

c_cpp

// Program: GeniesEnHerbe.ino // Author: Vincent Fortin // Contact: vincent.fortin@gmail.com // License: GNU GPL version 3 (https://www.gnu.org/licenses/gpl-3.0.html) // Purpose: Use Arduino Mega board to build a quiz game machine // for the "Genies en Herbe" high-school game // See https://en.wikipedia.org/wiki/G%C3%A9nies_en_herbe // // Changelog: 2019-08-02 Initial version, Vincent Fortin (vincent.fortin@gmail.com) // // Behaviour: The quiz machine helps determine which player and which team answers the fastest // to a question by pushing a buzzer. Each player has his own buzzer (push-button), // to which a LED is associated. The purpose of the machine is to determine which // player answers first, by lighting up the LED associated with the buzzer being // pushed first, and by making a sound. When a buzzer is pushed, the other buzzers // are deactivated. The buzzers can be re-activated by a reset button operated by // the referee. When the buzzers are activated, a green light is lit. There is a // timer after which the buzzers are re-activated if the referee does not push the // reset button. The duration of the timer is determined by a potentiometer. If // the potentiometer is set to its maximum value, then the buzzer must be // re-activated by the referee (there is no time limit). // // Known issues: 1) The buttons take time to "warm up" (up to 35 seconds). A delay has been // added during startup to deal with this issue. // 2) Software button debouncing takes a long time (500 milliseconds) // 3) Buttons are polled in the same order each time, which will favor // a player over another if two players hit their buzzer at the same time // 4) Code has only been tester for two teams and one player per team so far

Downloadable files

Breadboard layout

Breadboard layout

Breadboard layout

Breadboard layout

Comments

Only logged in users can leave comments

vinfort

0 Followers

0 Projects

Table of contents

Intro

1

0