An offline internet quiz to find out what subreddit you are, who doesn't need that?
- 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
- Arduino UNO Wifi Rev.2
- Toggle Switch, Toggle
- Adafruit Arcade Button Red
- Adafruit Mini Thermal Receipt Printer
- 5V power supply
- 12V power supply
- Print paper
- Arduino IDE
- 3D Printer (generic)
- Soldering iron (generic)
- Solder Wire, Lead Free
- Hot glue gun (generic)
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Introduction and Showcase Video
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
Step 2: Printing a Box
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.
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
Step 3: Adding Some Electronics
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.
Step 4: Writing the Code
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.
Step 5: Making a Quiz
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; "Which subreddit are you?"
Some fiddling with the print layout and wording completes our offline internet quiz!
Step 6: The Result
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.
--- r/DIY ---
Independent and resourceful. You are able to bring to life even the most ambitious ideas.
--- r/aww ---
Irresistible to almost everybody you are the true embodiment of all good in this world.
--- 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.
--- r/funny ---
Whenever there is fun you're always near. Your sense of humor is unmatched and brings comic relief to many.
--- r/gaming ---
A true adventurer, you have traveled many different worlds and have lived through countless stories.
--- r/worldnews ---
Always in the know-how and up-to-date, your unique ability makes you the cornerstone of this society.
--- r/art ---
With a distinctive personality and the skill set to match, you have the power to create beauty and to speak without talking.
Superduper secret part
You can do the quiz online as well, right here.