Quiz controller


Today we are going to make up a controller for a quiz with multiple choice questions.

It’s a very simple project, but it could be really funny to use to play with friends. It’ designed to answer to 3-choices questions.

First of all, we need:

  • 3 LED of different colors;
  • 3 220Ω resistances;
  • 3 buttons.

The idea is this: when you press one button, the corresponding LED lighs up, and the controller send through serial port the information about which button has been pressed, and so which answer has been chosen: A, B, or C.

Connect the (few) components in this way:

Quiz_scheme

Here is the source code. It sends through serial port the value ‘0’, ‘1’, or ‘2’, in case you have pressed the first, second, or third button. The possibility to choice an answer is allowed only after the controller receive an OK signal from the serial port: it means that the question has been presented to the players.

Here, some pictures of the controller:

Quiz 1

Quiz 2Quiz 3Stay tuned!

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...