You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This project was based on the need to create a set of "Quiz" buttons for a fun family evening to support a Quiz setting, where multiple teams have to answer quiz questions and you need to know who presses the Quiz-button first.
I bought 4 large pushbuttons on Sparkfun (see https://www.sparkfun.com/products/9181) and mounted the buttons on a piece of plywood, supported by some large screws. The Arduino hardware for each button is mounted underneath.
@@ -44,16 +46,15 @@ The quiz button is powered by 2 AA batteries making the supply 3V (on average).
The ESP8266 or ESP32 hub is powered by a standard USB connector/ power supply. Gameplay can be activated using buttons or using the web interface of the built-in web server. You can defined in the source if pressing a button
48
-
generates a 1 (high) or 0 (low). In the picture below I use TTP223 based touch button modules for the switches (https://www.aliexpress.com/item/32964219843.html).
49
+
The ESP8266 or ESP32 hub is powered by a standard USB connector/ power supply. Gameplay can be activated using buttons or using the web interface of the built-in web server. In the picture below, standard switches are used
50
+
as buttons. In the ESP32 version the capacitive "Touch" feature of the ESP32 chip is used, so you only need to
51
+
feed the wires from the "Touch" pins to the outside of your box.
- Add the circuit to allow measurement of the battery voltage (optional) and current driver for the external LED
78
79
- Compile and upload the QuizNode8266 sketch (optionally change the source in case you want to the use the built in LED instead of an external LED)
79
-
- Once the button restarts, you should see an entry appear on the web server interface of the hub and you can assign a name and MP3 file to play when the given button wins. The MP3 file will be played on the phone or web browser used to control the quiz hub
80
+
- Once the button restarts, it will connect to the quizhub WiFi network and ping the server.
80
81
81
82
## Web Interface
82
83
@@ -86,11 +87,13 @@ When the QuizHub can not connect to the WiFi the Blue LED stays on and the confi
86
87
87
88
You can also force the WiFi portal but keeping the Start/Hot button pressed while rebooting.
88
89
89
-
As soon as a Quiz Node is booted and connected to your WiFi, you get to the QuizHub web server by pointing your browser (phone/computer/tablet) to http://quiz.local. Any new node should show up in the table:
90
+
As soon as a Quiz Node is booted and connected to your configured WiFi, you get to the QuizHub web server by pointing your browser (phone/computer/tablet) to http://quiz.local. The quizhub will also keep the quizhub WiFi
91
+
up for the nodes. Any new node that boots should show up in the table:
90
92
91
93

92
94
93
-
You can assign a name and optional sound to each button by clicking on a row in the table. The configured sound will play through the speakers of the device showing the web site. The team name and selected sound are stored within the browser local storage. Please note that on IOS (Apple) devices you should play a sound once (manually) by clicking one of the play button before sounds work.
95
+
You can assign a name and optional sound to each node by clicking on a row in the table. The configured sound will play through the speakers of the device showing the web site. The team name and selected sound are stored within the browser local storage so the names are kept for your next quiz session.
96
+
Please note that on IOS (Apple) devices you should play a sound once (manually) by clicking one of the play button before sounds work.
94
97
95
98
The statistics button allows you to see the battery level of all hubs and various communication statistics:
0 commit comments