Introduction: Q&D-Poor Man's-Skinner-Sadist-Jeopardy Game

In this instructable you will learn how to make a Q&D-Poor man's-Skinner-Sadist-Jeopardy game .

First off, the disclaimer: I'm not responsible of whatever you do. You have to know that with a great power comes...bla-bla-bla. Just be careful and remember that electricity reserves respect. While the energy involved in this project is generally safe, it can be fatal (or at least very harmful) given certain special conditions, so just to play on the safe side:

- Never mess with little children or pets, even with their consent, just say no.
- Avoid old or sick people (mainly with a heart condition or with a pacemaker (or a peacemaker gun).
- Remember that using the device on body parts other than the extremities can be dangerous (you never know what nerve are you killing).**


Ethical disclaimer:
In connection with the Milgram experiment and to avoid any ethical dilemma for the Arduino, I used the LED library; doing this way I fool the Arduino into thinking he is only deploying innocent LED blinks to the players. Arduino is only obeying the evil orders of the authority figure and is not aware of the pain of the players, please don't judge him.


By now, maybe you are wondering: "What's a Q&D-Poor man's-Skinner-Sadist-Jeopardy game?, do I need one?, is it for me?" well, if you are ready to start an epic journey to the world of power, irresponsibility and electronics to create a device capable of make the players learn something by the always effective power of pain and shame... you might be ready to receive the knowledge.

Given that, let's continue with the description on the next step.


The above video may not be entirely real, it would contain minor creative licenses.

**For those faint of heart or just coward (like me after too many accidental shocks while working on this) I designed an alternate feedback system . Instead of shocks it just shares vibrations with a vibromotor, it is still fun if you place it in body places where the vibration results very uncomfortable, like over the inferior part of the eye, behind an ear or whatever weird place you can imagine.

Step 1: Really, What's This Thing?

OK, enough of preambles. Let's get right to the point:

Why Q&D-Poor man's-Skinner-Sadist-Jeopardy game?

Q&D:
Quick and dirty, the fact is that I didn't have much time to get a working prototype for this evil device, so as soon as it could work and have a minimum of robustness (just enough to endure the mistreat of shocked (and thus disabled) humans) it was considered finished. You will note it is really dirty (I didn't even bother to trim the resistors).

Poor man's:
While some of the main parts are easily obtained for free, it's "Poor man's" not because it's cheap (unless you stole the needed parts, which I don't recommend), it's "Poor man's" because the final result and overall look will make you think:

"Man, this thing looks like sh*t"


but believe me: It works like a charm and will give you tons of joy and happiness while infusing the players with pain and sorrow (in the form of high voltage sparks). Besides it will help to avoid it being stolen if you happen to forgot it somewhere.

Skinner:
Read about our dear friend B.F. Skinner , then this and finally this , while there is no direct connection (and seems like he doesn't believed strongly in the universal force of punishment) the premises are enough to justify the name (or I just want the fame of the name, that could be true).

Sadist (and masoquist if you want):
Eventually, you (and your players) will discover why... muajajajajaja.

Jeopardy game:
OK, I'm just using that name to describe a Quiz game for three players and a host, the players win the right to answer by means of a button... aside from that there is nothing else in common with the TV show... I hope the lawyers don't get mad.

Objective:
A game to test the knowledge of the players and help them learn faster by means of reinforcement and punishment. You can use it on parties or to challenge other alpha males in your surroundings

Real Objective:
Shock the people to death.

Well, enough garbage (this time for real). Go to the next step to see the bill of materials, the approximated cost of this hell bound project, you will also see a video of the device working).

Don´t forget to look at the pictures and say "Man, this thing really..."

Step 2: OK, What Do I Need?

You will need:

Hardware
- A microcontroller (an Arduino board is used in this project).
- One set of Buzzers controllers.
- 2 or 3 Disposable cameras (with flash) (or add a vibromotor for the weak with $4 to $14 to squander).
- Some optocouplers (see datasheet for the mines) or logic MOSFETS (or simple MOSFETS).
- Some old t-shirt or garment.
- Velcro or a mean to make a good and tight strap.
- Cable.
- Hot glue or a flexible but strong adhesive (even needle and thread will do).

Software
- A custom made Flash quiz game.
- An small program to put inside the microcontroller and control the hardware.
- A serial connection to communicate Flash with the micro.
- An small app to interpret the Buzzers and send the input to Flash.

The cost: I already had an Arduino so it cost me nothing, but I will include it on the cost.
Arduino [$30] + Buzzers (on an outlet sale on Mexico) [$25] + minor parts [whatever] = $55 + c

I got the optocouplers for free with the supplier. Just follow this instructable to know how (don't overuse it, please).

The good news is that the base software is free and I will provide it... In this point a have to confess: this project is nothing more than a monster (like that of Dr. Frankenstein) it's just a mash-up between lots of bits floating on the internet. At the end I shall give credit to those who deserve it.

Look into the eyes of the monster:


 

Step 3: What's the Plan?

The core concept is simple: A flash game that presents the questions and receives the input of the the players (using the buzzers), the flash game process the info and sends the signal to the arduino to punish the bad players (more of this soon). The arduino controls the shock components (salvaged from the disposable cameras) andthe unfortunate player receives what deserves.

See the Diagram No.1 to get a visual cue about the project.

The plan then, is to build and set-up the hardware, after that we will occupy ourselves with the software. Let's begin with the core of the hardware control:

The Arduino and his companion circuit.

I'm using the breadboard because I didn't want to waste time soldering (and desoldering when I wanted my optocouplers back). You will note I'm not a professional on this so, please excuse my drawings. See Diagram No. 2 to see the connections, and the pictures to see it on the real life.

As you can see, there are three outputs, one for each player; each output controls the feedback device of the players. Each output just closes the high voltage circuit of the disposable cameras capacitor. The resistor is useful if you have different levels of cowards (just decrease the resistance if you feel your subjects are getting insensible to the spark and increase the resistor if your players start crying for their dignity and mommy).

Given that we are using optocouplers there is no need to add too much security to the circuit, but if you happen to use MOSFETs or Logic MOSFETs don't forget to add the proper diodes as needed, we don't want HV on the microcontroller. Using normal MOSFETS may still close the circuit but not completely so the punch will be less intense. Note that on my third player I'm using a vibromotor, so no optocoupler needed (I had just two anyways). The vibromotor board included every needed component to secure my output.

OK, just set-up on your breadboard a circuit like the one you see on the pictures and you are ready to go to the next step. Don't let yourself impress by my disorder, it is very simple and repetitive, stick to the diagrams and everything should be clear.

Go to the next step to see the building of the feedback devices (that other shocking evil core of the project).

For the code on the Arduino board wait for the step 9.

Step 4: The Reality Shock

Let's start by salvaging the shock central component. Go and read this instructables to get the knowledge, (I found this one particularly good and inspiring (you will note I just take the camera circuit and did nothing more but following their instructions should add for a neater and less menacing look)).

As you should remember this is Q&D (being this project one which needed to be completed in one or two nights for display on a company event). So I didn't have the time (neither the ability) to follow the good tutorial of the taser... I just disassembled the camera, hooked my cables on the capacitor and wrapped it with a little of electrical tape.

Look at the diagram No. 2 to see my cabling nightmare, and for the sake of any childish delusion that you may hold as sacred (god?) don't touch the transformer while you are working on it... by personal experience I can say you that if the capacitor's spark hurts like hell... the transformer punch feels like a thousand volts across your brain (or at least I fell it like two hells). It's more uncomforting (at least).

See the pictures to help you in this hard step. Remember to cut a portion of the cable to get a good contact and maybe applying hot glue would help to secure the connection and avoid disgusting shortcuts.

Go to the next step to see the building of the shocking straps or feedback devices.

Step 5: Strap It Well, Don't Let the Subjects Escape

To build the straps I needed something cheap, adjustable and fast, it should endure continuous use by stressed humans. I decided that and old and almost sheered t-shirt would do.

Just use your imagination to cut the fabric and form a thin strap, it should feel comfortable, be flexible and look clean.

As you can see by the pictures my design abilities are not good at all... I used Velcro but the glue I used didn't resist the use... while we were using it I had to improvise a repair (the electrical tape worked well for the day).

Moral: if you want it to last... build it to last. (I didn't even remove the plastic backing of the Velcro strip.)

OK, we have the hard part ready; let's continue with the soft-one :). To the next step.

Step 6: Make It Buzz

The Buzzers will be the input device that will allow the players interact with the system. They are very simple to control.

They consist of four individual controllers with a series of buttons. Three for players and one for the host.

In this point I should present you an early prototype with just two players and no visible host... meet Marcos 0.1 (see Image 2, 3 and 4).

While the problem with Marcos 0.1 was the complexity (you should have seen the inside of the enclosing, just two buttons but a true spider web inside). The magic on the Buzzers (ready-made buttons) is that they are USB and easily compatible with the PC. Just connect it and the PC should recognize it as a Game controller.

To interpret the input signals of the four controllers use the AutoHotkey script I'm attaching on the zip file.

The script is very simple; it basically remaps the controller commands to normal keystrokes (supported by Flash without any problem). To test it just connect the Buzzers and run the script, open a Notepad file and push the Buzzers buttons, you will see words being written on the screen like if you were hitting the keyboard.

Each controller has his own set of letters and numbers (a number for the big red button and letters for the options).

<-- Code begins -->

Joy1::Send 1
Joy2::Send d
Joy3::Send c
Joy4::Send b
Joy5::Send a
Joy6::Send 2
Joy7::Send h
Joy8::Send g
Joy9::Send f
Joy10::Send e
Joy11::Send 3
Joy12::Send l
Joy13::Send k
Joy14::Send j
Joy15::Send i
Joy16::Send 4
Joy17::Send p
Joy18::Send o
Joy19::Send n
Joy20::Send m

<--end of code-->

That was easy isn't it?. Go to the next step to get the main code on Flash.

 

Step 7: Socket Connection

We are almost done, we need a way to connect Flash to the arduino, so we will use a handy tool named Serproxy, it will create a serial socket to interface the Flash outputs with the arduino.

For this first connect your arduino with the USB cable and check the COM port it was assigned. Modify the config file to match the COM port.

Now, just execute the exe to create the server connection, try to don't change the network port because it's hard wired on the flash executable. If you change it, remember to change it also on the fla and regenerate the flash game again.

See the screenshots to get an idea.

You can help yourself with the TinkerProxy Configurator. Just remember the port thing.

 

Step 8: Can You Are Ready to Flash?

Good, this is the half of the project. Let's start by describe the current features of the game.

The game tries to be fair for everyone and reinforce the good behavior and punish the bad one. The current schema is:

The system loads the questions from an xml file; it then randomizes the order of the questions and the order of the answers.

- Once a question gets displayed, the host must read aloud the question and push his red button to activate the reception of signals from the three players. The number on the screen changes from "4" to a hyphen.

- The first player on push his red button wins the right to select the right answer. The number on the screen changes to the ID of the faster player. Sound reinforces the info.

- If the player acknowledges his ignorance, it can resign the control and allow other player to answer (there could be punishment anyway).

- The system tracks the results and displays them at the end of the time (you can set the time at the beginning of the game).

-The host can skip to the next question using his Big Red Button.

Now which events are the triggers of shocks? easy:

- If you give the wrong answer, there is a spark.
- If you take too long to give your answer when you have the control, there is a spark.
- If, on each question, you are one of the two slow players, randomly, there is a spark.
- If you cheat, there is a spark.
- If you are disliked by the host, there will be sparks, fo sho.
- Randomly there should be sparks to keep the player focused and remember him of his mortality.

All you have to do to engage on an afternoon of sane entertainment is:

- Change or add questions on the cuestionario.xml file I'm giving to you, the first option should be always the right one (don't worry, it get randomized for the player).

- Run the Flashing Shock.exe, as the host you can spread pain to the players using the secondary buttons of your controller. The system decides if the player choose the right or wrong option and acts accordingly.

In the fla file I commented the code in case you want to fix bugs (I remember there is a bug with the score system), add functions or change parameters; in short: to improve it. I wish I had the time to be very specific but I fear I'm very busy right now. Write me if you need help in any specific point of the code.

You will have to forgive the overall look of the front-end but at the last moment some persons tough the font size should be bigger. Resulting on a look somehow messy. Play with the fla, it should be easy to enhance. If you don't want to fiddle with the code, just remember to use short questions and short answers.

 

Step 9: Ride the Lightning

OK, we are almost there, we have arrived to the Arduino part (again), for this just upload the code to your arduino and see how the magic happens.

The code is commented for your convenience. It basically waits for the signals of the Flash game and acts according to that, it only receives the ID of the player that should be punished by his ignorance or misbehavior and sets the corresponding output to HIGH to activate the octocoupler and close the HV circuit.

It's really simple. Check the code to understand better and make any crazy improvement you think yourself capable of.

To avoid any ethical dilemma for the Arduino, I used the LED library, doing this way I fool the Arduino into thinking he is only deploying innocent blinks to the players.

To run everything remember to:
Connect Buzzers
Run Autohotkey script
Connect Arduino
Run Serproxy.exe whit the right port configturation
Run the Flash game (you can press Ctrl+F for fullscreen or set up the time before start.
Have fun.
See the video for a quick set-up guide.

Step 10: The Thanks and Honor

Finally, as I said, this project was a chimera of many tutorials out there. I remember for example being looking for an easy way to connect Arduino to Flash and found some good, I choose the easier and grabbed the code, then I was looking for a way to make a quiz and found a complete solution and grabbed the code, then...

You should get it now, my only contribution is had mashed-up all that bits and make this monster. To give back I decided to create this instructable. Grab whatever you need.

I will try to link my sources but I fear my memory may be faulty and forget some important sources, please if you note the lack of someone, tell me and I may be able to recall and give the proper honor to whoever deserves it.

Thanks to:

The person who created the basic Arduino code which gave the base to start with Marcos 0.1
[UPDATE]
Really, this has resulted to be untraceable. I hope some day, before I die, someone helps me to find the source just to say thanks, meanwhile, wherever you are:

Thanks anonymous muse.

The person who created the quiz game that loads the questions from the xml file:

http://game306.blogspot.com/2009/07/tutorial-how-to-build-quiz-in-as3.html

The person who teach me to give a noble use to the disposable cameras and to ask for free electric parts:

https://www.instructables.com/member/Plasmana/

All of the people who has shared with me the joy of knowledge.

Anyone in the world.

This weekend I will track my browsing history to find the sources, I promise. [UPDATE: DONE!]

For a neater look see this unrelated instructable.

The end.

Comments

author
Lithium Rain (author)2011-02-12

>obligatory Milgram reference here<

Awesome project!

author

good project, i something similar in principle could be built without the capacitor. it would still give 400 volt shocks but at a lower ampage. yorkshirepud 's mention of an i phone app could be improved by somehow rewiring a (very cheap smart phone capable of running the app) so that rather than playing a sound(or whatever it does) it could shock the slowest player.

author
yorkshirespud (author)2013-03-18

Great project! If you want a quick and cheaper alternative however, consider the iPhone/Android phone app 'I Buzzed First!' - it's a smartphone networked gameshow buzzer app - only $1 per contestant.

author

Sounds good, but without the Sadist part I shall call it: "iSissy Buzzed First" :] The good news are that with a micro and a little of code at the smartphone side, one could add the sadist flavor.

author
cophoff (author)2012-10-21

hi,

I love your project. I'd like to just use the buzzers and your quiz flash file. But how do you do then to just connect the buzzers to flash and forget about the arduino module?

greetz,

cedric

author
cuachalanga (author)cophoff2012-10-21

That's very simple: if you have the buzzers just connect them to the PC (via the USB plug) and use any software to map the buttons to the keyboard (I recommend AutoHotKey and the code is already in this instructable). Then just use as usual. You can just grab the files from this instructable, ignore the Arduino part and use as is... it will work with no further modding :]. Tell me if you have problems and share some pictures of the people playing.

author
cophoff (author)cuachalanga2012-10-29

hi,

I've been trying for days now to make a flash file that connects both buzzers, but I can't make it work.
Could you please help me with this or send me on the right way.
I can't speak spanish so sometimes I struggle in the code.

thanks anyways,

greetz,

cedric

author
cophoff (author)cuachalanga2012-10-22

thanks for your fast reply,
well I think my problem is that my laptop doesn't recognize the buzzers. When I check device manager, I see a little yellow warning icon at the standard usb device. (check image) Do you have any solution for this?

Untitled-1.jpg
author
cuachalanga (author)cophoff2012-10-22

A quick Google search leads to a you tube comment (and the possibility to control also the LED inside the buzzers! if I have time I will try this the next weekend). Try to change the driver manually, tell Windows the buzzers are a USB Input Device.

http://www.youtube.com/all_comments?v=2ZsdbAMjJts

author
cophoff (author)cuachalanga2012-10-23

and how do I change it manually?
I can't see where I could do this...

author
cuachalanga (author)cophoff2012-10-23

Me neither :D, remember: Google is your friend. If you happen to resolve your issue, tell us how, one never stops learning.

author
cophoff (author)cuachalanga2012-10-24

Okay, so I tried the buzz controllers on an older pc, and it all worked, despite the fact that the serproxy software said that the COM ports couldn't be connected, but I'm glad it worked.

Now, I don't want to be difficult, but is there any way to connect more buzzers? I'm planning to have a quiz with 6-7groups or so.
I understand a bit of adobe flash so I think I'll find it myself, but if you would know how, you're always welcome to give me some advise. For example: Do I need to change things in the serproxy files? ...

Anyways,

thanks for all your help :)

greetz

author
cuachalanga (author)cophoff2012-10-24

Great!, I haven't tried with more than one hub, theoretically there should be no problem. And the Serialproxy don't play a part if you don't plan to use an Arduino. You just need to modify the Flash file to add more players and use the AutoHotkey script to map more keys. Share your results and if you need help with the Flash file just tell me.

author
cophoff (author)cuachalanga2012-10-25

I have been studying your flash actionscript codes for two hours now.

what I've learned:
- change the timer's time
- translate almost everything

that's it, but I'm glad I've found how to change the timer.

I do have some questions:
- At the end of th quiz there is a question about BPD, but it's not integrated in the xml file. Is it possible to delete this question? or what's the purpose of this?
- Did you already find a way to fix the scoreboard at the end? :-)
- Could you help me with that flash file, adding more buzzers would be a great help...?

thanks a lot,

greetz

author
cophoff (author)cuachalanga2012-10-25

okay,

well, I finally got my buzz controllers connected to my pc as HID devices.

What you have to do:

go to devices and printers. right click on the unrecognized device under other devices. Then uninstall drivers. And then you have to manually install drivers, choose that option. And then click: install driver from device.And that's it.

I'll try the flash code right away.

author
33125577utube (author)2011-03-27

Ethical disclaimer: In connection with the Milgram experiment and to avoid any ethical dilemma for the Arduino, I used the LED library; doing this way I fool the Arduino into thinking he is only deploying innocent LED blinks to the players. Arduino is only obeying the evil orders of the authority figure and is not aware of the pain of the players, please don't judge him.

author
westfw (author)2011-02-22

I would replace the original flash cap with a much smaller one. Otherwise you're counting on other factors that may or may not be present to keep the shock withing a reasonable level. A full flash cap worth of charge is WAY beyond fun&games (it may be limited by the other components here, but I'd rather not have that potential anywhere nearby.)

author
TOCO (author)2011-02-12

cool

author
cuachalanga (author)TOCO2011-02-13

Thanks! I hope you try one day.

author
TOCO (author)cuachalanga2011-02-14

I am amazed by how many replies that I got from people by simply posing cool on their instructables that I think are very interesting, cool, and well done. I will do that more often. I would love to do something like this but during the school year no time. I have science olympiad, computer club, computer club lan parties, school work, rc hobby, I want to build a couple robots, and getting physical activity. (as a nerd who is lasy but somehow not fat that is hard to do other than the short periods of walking down the hallways at school during passing period.

author
frank26080115 (author)2011-02-12

There are MUCH safer ways of doing this that are just as "shocking"

Just try oscillating 1.5V at a low frequency, it will "shock" a person, and is much safer during construction and safer during use, and it's safer for your microcontroller. This is how a shocking pen usually works.

author

This also uses 1.5V, the magic is done by the transformer. The construction and implementation is, in fact, as safe as your good practices allow (don't look at mines).

While I have to confess my blatant ignorance about the method you are referring me to (I used to think the shock-spark can only be achieved by High voltage means, high enough to break trough your skin natural impedance), I'm confident the optical isolation is enough to keep the integrity of the microcontroller.

Remember that while voltage is "High Voltage" the energy amount is really low.

author
RickO5 (author)cuachalanga2011-02-13

This project does not shock you with 1.5 volts, it shocks you with over 400 hundred volts. The circuit in the camera steps up the voltage from 1.5 to 400 to charge the capacitor, and then when the flash is fired it steps it up to over 1000v. Since you're tapping off the capacitor and not modifying the circuit any, you're using somewhere around 400 volts for this circuit.

This has a very real danger potential (pardon the pun). I've used these in a lot of circuits. Since its DC and its isolated to just one hand you're probably alright, but its still dangerous, and can cause nerve damage.

The amount of energy stored in the capacitor is actually very large, since it is charged up over time. This can (and has to me) easily create burn marks on the skin, and more importantly, burn nerves under the skin.

To make this remotely "safe", I would limit the current output to 8ma with a 50k "cowards" resistor.

Franks suggestion of a 1.5V oscillating circuit is much safer though. Not trying to knock you here, its a nice project, and I'd be hypocritical if I said I haven't used cameras in similar ways, but it is dangerous.

author
cuachalanga (author)RickO52011-02-13

:), yes you are absolutely right, I said it uses 1.5V because it really is using 1.5V to feed the transformer. I have to point out that the voltage stays around 330V at a very low amperage, (the 1000V secondary transformer works only to ionize the path across the flash tube and is not used in any way here).

Your 50k resistor recommendation is good for the people who doesn't know what awaits them (and fears for his life). From my experimentation, at 50k two thirds of the experimenters report a minimal response ("It tickles"). At 20k or 10k the sensation is tolerably enough for most of the people and still makes you feel alive.

Conclusion: 20k-10k is a "good" optimal point between fun and pain. Decrease at the risk of the user if your strong and immature players boast of his masculinity.

Thanks for your concerns.

author

One of those shocking pen toys is basically a relay that is wired to oscillate the reed.

author
dheiden (author)2011-02-13

Definitely stay away from people with "peacemakers"...

author
cuachalanga (author)dheiden2011-02-13

Jajajajajaja... that's the kind of mistakes that can change your life. Thanks (now it's corrected).

author
7654321 (author)2011-02-11

I've experimented with camera capacitor shocky thingies, and wouldn't a direct short of the capacitor cause burn marks on the person's skin?

author
cuachalanga (author)76543212011-02-11

Hi, good point, while a direct spark could be powerful enough to make you regret the idea to touch the capacitor, the "Coward resistor" and the "closed circuit time" (if such a thing exists) prevents a full blow energy transfer... at the end of the day the players sensations range from small "pellisco" to hard "pellisco", it all depends on the subject and the "Coward resistor" (even without resistor the contact time and the impedance of the circuit diminishes a good deal of the punch.

But yes, it could burn your skin if certain weird conditions are met :)

author
7654321 (author)cuachalanga2011-02-12

Oh ok, lol I'm so going to make this. Muhahahahaha

author
cuachalanga (author)2011-02-11

"Cicle" should be "Cycle" on the Diagram #1... sorry.

About This Instructable

18,400views

32favorites

License:

More by cuachalanga:Q&D-Poor man's-Skinner-Sadist-Jeopardy game
Add instructable to: