SimpleClean Psycho Pass Dominator Prop

by Hackin7 in Circuits > Raspberry Pi

1150 Views, 1 Favorites, 0 Comments

SimpleClean Psycho Pass Dominator Prop

20191129_162131.jpg
20191129_085601.jpg
CleanSimple Psycho Pass Dominator Prop
20191129_162712.jpg
20191129_162715.jpg
20191129_162716.jpg

This is my first attempt in prop making. I managed to rush this out in a week of school holiday, through building on the spot.

This dominator prop to be able to transform from a Non-Lethal Paralyser into the Lethal Eliminator Mode, play the appropriate sounds. It can also detect people's faces to give a crime coefficient, though not very fast. There are NeoPixel LEDs too!

This could be a good holiday project to not only improve prop-making skills but also have electronics & programming skills. It even has a camera which you can try some computer vision.

Casing

20191125_092335.jpg
20191125_111929.jpg
20191125_111938.jpg
20191126_111613.jpg
20191126_164103.jpg
20191126_175329.jpg
20191127_101108.jpg
20191127_101252.jpg
20191127_111901.jpg
20191127_111905.jpg
20191127_111954.jpg
20191127_112651.jpg
20191127_113054.jpg
IMG-20191125-WA0014.jpeg
20191128_111831.jpg
20191128_114340.jpg
20191128_114343.jpg
20191128_135321.jpg
20191201_081655.jpg
20191201_081659.jpg
20191127_175056.jpg
20191127_180435.jpg
20191127_181043.jpg
20191127_204811.jpg
20191127_204814.jpg
20191127_204816.jpg
20191127_205356.jpg
20191127_205400.jpg
20191128_102703.jpg
20191128_104313.jpg
20191128_104633.jpg
20191128_104828.jpg
20191128_110353.jpg
20191128_110356.jpg

The casing is made with a combination of MDF wood, Clear PVC plastic & Black Paper as covering.

First, the MDF wood was cut with a penknife, scissors, and a coping saw. The top MDF pieces were glued together.

The clear PVC plastic was cut with scissors and bent with pliers. There are 2 big sides to keep the general structure of the prop stable, and many small bent pieces of PVC to secure the 2 big sides together through hot glue.

Transform Mechanism

20191127_180714.jpg
20191127_180716.jpg
20191127_205412.jpg
20191128_112812.jpg
20191128_112911.jpg
20191130_192208.jpg
20191130_192210.jpg

The mechanism was made with 2 servos, one for the rectangular panels, and another for the cuboid (Housing the Raspberry Pi & other electronic components)

The servo for the rectangular panels was velcroed onto the cuboid. The servo moving the cuboid was secured to the cuboid by drilling holes into the plastic & the servo arm and connecting them with zinc galvanised wire.

Securing Materials & Components

20191128_085448.jpg
20191128_085455.jpg
20191128_085456.jpg
20191128_085501.jpg
20191128_091636.jpg
20191128_091640.jpg
20191128_114514.jpg
20191128_114927.jpg
20191128_114928.jpg
20191128_152956.jpg
20191129_202844.jpg
20191129_202858.jpg
IMG-20191128-WA0008.jpeg
IMG-20191128-WA0013.jpeg
20191127_230926.jpg
20191128_135323.jpg
20191128_135325.jpg

Black Paper was used to cover the exterior MDF wood pieces.

The electronic components and the plastic pieces in the internal frame were secured with hot glue & some velcro. The exterior wood pieces were glued together and secured to the internal frame with rubber bands & magnetic tape (Good for keeping the frames flushed with the frame.)

All of the electronic components were connected together through header pins. Some soldering was done, to wire up the Raspberry Pi's GPIO to the layout required by Servos (as a mini PiHat). The NeoPixel LEDs were wired up to 5V, GPIO 18, and GND. The Servos were wired up to 3.3V, GPIOs 17 & 27 and GND, while the roller switch (acting as a trigger) was wired to 3.3V and GPIO 24.

Electronics & Software

The device has a Raspberry Pi Zero, connected to a camera, Roller Switch (to act as a trigger, on pin 24), NeoPixel LED strip (about 60 LEDs, on pin 18), 2 Micro Servos (pin 17 and 27). There is no in-built battery, with the whole setup powered by a micro-USB cable. The Raspberry Pi Zero connects wirelessly to a Bluetooth Speaker, to play different Psycho-Pass Sounds.

The Raspberry Pi is set up as a USB Ethernet Gadget, with SSH, VNC & Camera enabled, like in https://desertbot.io/blog/ssh-into-pi-zero-over-usb

The code running on the Raspberry Pi Zero is in Python and runs on boot-up by putting the commands in /etc/rc.local. It turns on the NeoPixel LEDs to cyan (like the colour of the Psycho-Pass Dominator Lights), and plays different Crime Coefficient Sounds on pressing the trigger. It uses these libraries:

  • gpiozero (Built-In)
  • rpi_ws281x adafruit-circuitpython-neopixel (you need to run "sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel")

The code used would be available soon (1 month's time). Same for the next page

Computer Vision

The Raspberry Pi Zero has the potential to run face detection software, so that it could give Crime-Coefficient readings from a person's face.

Instead of compiling OpenCV, I download & installed a pre-compiled binary like in https://www.pyimagesearch.com/2018/09/26/install-opencv-4-on-your-raspberry-pi/. A good resource to start with Raspberry Pi Computer Vision is https://circuitdigest.com/microcontroller-projects/raspberry-pi-and-opencv-based-face-recognition-system.

Conclusion

Overall, for a short holiday project, it is quite worthwhile to do. I made it in time for Anime Festival Asia 2019.