Quizbox - The Offline Internet Quiz
About the project
An offline internet quiz to find out what subreddit you are, who doesn't need that?
Estimated time: 2 days
Items used in this project
Hand tools and fabrication machines
Below a quick overview of the content.
- Introduction and Showcase Video
- Printing the Box
- Adding some Electronics
- Writing the Code
- Making a Quiz
- The Result
I've discovered internet quizzes, and they have changed my life. For instance, now I know that if I would be a dog, I would be a Golden Retriever, win! To show some love and gratitude for all this vital information, we're going to build our own internet quiz. However, this internet quiz will be special, it's going to be an offline internet quiz.
First things first, we need a box to put everything in. To make sure it perfectly fits our needs, we're making one that's 3D printable.
This 3D printed box is made out of four parts.
The base plate is nothing more than a 4 mm thick square, with four tjoepies. These tjoepies will hold our corner pieces in place, and make sure everything is spaced out correctly.
Corner pieces, they're pillars with a grove on two sides. These groves will later on hold the walls in place. They also have two indents so they can click onto the tjoepies of the base plate and lid.
Base plate with corners
With the corners in place, we can slide in the walls, as pictured below. Tip: A colorful print makes the box really pop.
The lid is a bit more complex. It is almost identical to the bottom plate, but we've added some holes and indents. The holes are for three toggle switches, a big red button and provides space for the printer paper to come out. No worries, we will cover all of this later on.
The indents will each hold a colorful block, see below. The idea is that the quiz will consist of three choices. A pick your color kind of thing.
All that is left to do is put on the lid, and our box is ready for the next steps.
You can find all the 3D models inthe attachments.
Now we can move on to the electronics. As mentioned above we have space in the lid to neatly hold most of them. We'll start off with adding the three toggle switches, so people can make their choice. They come with handy rings, so tightening them is very easy
Next up is the big red button to submit the answers. This button also has a neat screw-on mechanisme.
With all the components attached, we can now start wiring everything together.
Que the Arduino. Both the button and all three switches use the same ground, with a small breadboard in between. However they each have their own input pin.
Last but not least, we add a little thermal printer. There's great documentation about connecting and setting it up, right here.
With that the hardware is all done. Putting both the Arduino and the printer in the box and pulling through the printer paper completes the physical part of this build.
The code will have the following logic:
- Check if the big red button is pressed
- If pressed, read out the state of each toggle switch
- and based on the combination of states, print the correct answer
We won't dive into the details too much, you can find the full code in attachment.
With all our parts ready, the last step is to come up with a catchy quiz. In this case we're going to define people as a subreddit, or simply put:
Some fiddling with the print layout and wording completes our offline internet quiz!
We have an internet test that works offline and can figure out which subreddit you are based on three color choices, woopwoop!
Secret Bonus Part
For all of you reading to the end, here's a list of possible answers:
" " " --- r/oddlysatisfying --- " " " " Some people may call you odd, " " or even think you're fluky. " " Nonetheless, you bring your own" " unusual charm and joy to the " " lives of many. " " " " --- 8 Bits and a Byte --- " " " " " " --- r/DIY --- " " " " Independent and resourceful. " " You are able to bring to life " " even the most ambitious ideas." " " " --- 8 Bits and a Byte --- " " " " " " --- r/aww --- " " " "Irresistible to almost everybody" " you are the true embodiment of " " all good in this world. " " " " --- 8 Bits and a Byte --- " " " " " " --- r/todayilearned --- " " " " You have an insatiable thirst " " for knowledge. " " This means you are capable of " " providing an endless stream of " " fun fact and true oddities. " " " " --- 8 Bits and a Byte --- " " " " --- r/funny --- " " " " Whenever there is fun you're " " always near. " "Your sense of humor is unmatched" "and brings comic relief to many." " " " --- 8 Bits and a Byte --- " " " " " " --- r/gaming --- " " " " A true adventurer, " "you have traveled many different" " worlds and have lived through " " countless stories. " " " " --- 8 Bits and a Byte --- " " " " " " --- r/worldnews --- " " " " Always in the know-how and " " up-to-date, " " your unique ability makes you " "the cornerstone of this society." " " " --- 8 Bits and a Byte --- " " " " " " --- r/art --- " " " " With a distinctive personality " " and the skill set to match, " " you have the power to create " " beauty and to speak " " without talking. " " " " --- 8 Bits and a Byte --- " " "
Superduper secret part
You can do the quiz online as well, right here.