Hologram Projector With Pi: Instructables
Hologram Projector With Pi: Instructables
by NickA147
This was a project created for an Robotics class. It was done following another instructable page
https://www.hackster.io/hackerhouse/holographic-au...
It uses a Raspberry Pi, along with a computer, and monitor to create a 3D hologram that projects an image along
with a musical playlist.
Here is a list of materials needed, and the PDF's of the 3D printed brackets you will need.
Software
1. Node JS
2. Raspbian OS
3. Soundcloud Account with Playlist
Tools Needed
1. Hand Drill
2. Saw (mitre or hand)
3. Drill bit # 6 or so
4. Optional - Clamps for holding the pieces
Download
http://www.instructables.com/ORIG/FH2/F4RC/JFX0FH8P/FH2F4RCJFX0FH8P.stl
…
Download
http://www.instructables.com/ORIG/FCL/86LK/JFX0FH8R/FCL86LKJFX0FH8R.stl
…
Download
http://www.instructables.com/ORIG/FXZ/OAMP/JFX0FH8W/FXZOAMPJFX0FH8W.stl
…
Download
http://www.instructables.com/ORIG/FGT/J8SQ/JFX0FH91/FGTJ8SQJFX0FH91.stl
…
Using the clear Acrylic you need to cut 3 pieces to form the frustum that will hold the hologram. This part can be
tricky and if you mess it up it is likely you will need another sheet and start over. Using a plastic sheet cutting knife
you will score the edges that you wish to cut off. Use a straight edge along the measurements you have made,
score the line over and over until it is ready to snap off quite easily.
Download
http://www.instructables.com/ORIG/FA5/VZF3/JFX0FGOK/FA5VZF3JFX0FGOK.pdf
…
The frame would not look very good if it was just will be used in the corners of the top and bottom
wood, so we used black spray paint to cover frame to attach to the vertical columns that are
everything (except the acrylic of course). attached to the bottom frame. These will provide the
strength it needs to hold the monitor. The frustum
Make sure you are in a well ventilated area to do this. joint is attached in the center of the top frame where
the acrylic sheets will slide into place to make the half
The back and bottom of the frames need to be pyramid. These are all attached using the screws in
covered in order for the projection to work properly. the materials list, and we recommend drilling pilot
This can be achieved a number of ways. You can use holes first to avoid splitting the wood.
a foam board cut the to the right size and painted as
we did, or any other kind of solid sheet that can be Once the frames are screwed together with the
made to fir the size you need and attached securely. brackets and the acrylic set in place you are ready to
program the raspberry Pi.
Now you are ready to attach the frames together
using the 3D printed materials. Each triangle bracket
1. Now we need to take our laptop and install node.js, you can find it here, https://nodejs.org/en/
2. After its installed, go to the original instructables and download the code package from zip file or
github clone.
3. You can get all the node modules and install them with the command “NPM Install” or “sudo npm
install”
4. Then you can start the visualizer with npm start, test it out and see it pop up, there should be default
songs on it.
5. You then will need to create a soundcloud playlist to put in your own music, create an account here
and add your own music, https://soundcloud.com/
6. After that you will need to change the playlist in renderer.js you will see a section with const playlist
= ‘path/to/playlist’ change the ‘path/to/playlist’ part to your playlist you only need to grab the end
section so it should be like this, user-496629426/sets/robotics-playlist
7. You should now have the fully running visualizer with your music playing in the background
1. First off you will need to git clone or get the swipe-controller.py file onto the raspberry pi, up to you
how you would like to do that (*note, the raspberry pi can only handle a certain amount of power for
a USB connection)
2. After getting the file onto the raspberry pi you will need to change the HOST_IP section to the IP of
the computer running the visualizer. The section should look like ‘http://:3000’. You will change the
section to the IP from the visualizer computer. (Note* the raspberry pi and the host ip need to be on
the same network for this to work)
3. After that is done you can run controller with ‘python swipe-controller.py’ I would recommend
changing the name to be more aligned with what your using to control the changes (e.g. button-
controller.py)
4. You will just need to setup the breadboard and pi with the buttons now and that can be found in the
schematics section.
As you can see from the schematic or the pictures you will need to choose your GPIO’s on your raspberry pi and
make the connections.
Or you can use the schematic attached (Note* The layout of the buttons is irrelevant to doing the actions, we
merely put them in that formation because it was easier to know which is doing what)
After that is done boot up the program swipe-controller.py (or whatever you named it) using Python “name of
file”.py it should run without any errors.
Very cool! I've only ever seen this using a smartphone. Much more impressive!