The shocker was one of the hardest outputs to get running. At the beginning we decided to follow an instructables web link which showed instructions on how to make the ‘worlds smallest shocker’.
When buying a disposable camera, after opening it up, we found that our camera contained a 6 pin transformer when we required a 5 pin transformer, this left us stunted on what to do next. We then decided to find out other items that can give a shock.
This led us to buying a Shock Gum toy, we opened it up, rewired it so that instead of connecting to a battery, we can connect to it to our arduino kit, we then got rid of the pull function of the toy to make it work on touch.
Shock Gum – Rewired
After got the hits to work, we started with the first input are the LEDs. These LEDs are for the players lives, every time a player gets hit, each LED will switch off. Umar chose a design of a heart shape and have it placed on the chest. He came up with the idea as the player will understand what it is also it is visible to the players.
Each vest has 8 LEDs = 8 lives. Yellow vest has 2 green LEDs because we didn’t have enough red LEDs.
Solder it to the PCB board and added the resistors to the negative leg to each LED.
Started of by drawing the targets on the Hi vest. Thought about how many targets and the size. This is going to be connected to the MPR board so the maximum will be 12. We picked 4 targets and different sizes so that the player won’t get shocked easily.
After we drew out the targets, we connected the MPR board to the male legs and solder each leg together. By doing this we checked out if each component is working. Using the website which was provided by the lectures. Using this image we connected each on the breadboard and check through the 0-11 ports if works or not. Link: http://bildr.org/2011/05/mpr121_arduino/
The MPR board “is a capacitive touch sensor controller driven by an I2C interface. The chip can control up to twelve individual electrodes…” so with this when the missile hits the target, the board will read it as a hit. It works by touching it however we want it to touch with copper tape. It works!
- 2 x Arduino Uno/ Nano
- 2 x MPR121 Capacitive Touch Sensor Breakout
- 2 x Disposable Cameras — Used but not what we wanted
- 2 x Nerf Guns
- 16 x RED LED’s
- 2 x Buttons
- 2 x Hi-Vis Vests
- 2 x Power Banks
- 2 x USB Cables
- Copper Tape
- Soldering Station
- Hot – Glue Gun
If you get use a disposable camera, please follow this link to make the shocker:
Changes we have made include a change from the LCD screens to LED’s, when opening the disposable camera, we got a 6 pin transformer instead of a 5 pin transformer therefore making us unable to make the shocker that was shown in the instructable. We are therefore looking for better alternatives to make the shocker.
At the moment, the only bit of the of the shock vests we have completed is connecting the mpr121 breakout boards, the LED’s and the targets so that when a target is shot, one of the LED’s turn off signifying that one ‘life’ has been taken away.