profile. Open the profile in an editor (i.e., “sudo nano
/etc/profile”) and at the bottom of the file, add “sudo
python /home/pi/PiBooth/ photobooth.py.” Reboot with
“sudo reboot now” and you should be all set.
Now comes the real fun: designing your enclosure.
You can get very creative here and build something to fit
your exact vision. For me, I wanted a steampunk look that
was durable. This meant wood, copper, antiques, and
gears. I also couldn’t build the box from scratch since I
didn’t have a table saw on hand.
Hobby stores and antique shops are a good place to
go for inspiration and parts. I found a wooden cabinet that
was unfinished for the main part of the system and a small
metal box for the big red button. The boxes cost about
$20. At an antique shop, my fiancée found an antique
Kodak “Brownie” camera for $15. I repurposed the
camera and brought it about 100 years forward in time
with a digital upgrade.
I cut out a hole for the monitor using a jigsaw and
drilled a hole for the IR receiver on the TV. The monitor
was mounted with plumber’s tape, double-stick tape, and
M4 screws (Figure 4). I stuck the remote inside the
cabinet with some Velcro™so it didn’t find its way into
oblivion. All the cables were secured with hot glue. The
front panel was now complete.
The Pi camera board was glued into the front part of
the Brownie camera. I placed some electrical tape over
the LED and used some black felt to conceal the green
PCB (printed circuit board) from view. Then, carefully, I cut
a slot in the paperboard part of the camera and threaded
the flat-flex cable through. I bought a longer flat-flex cable,
but this depends on your setup.
While the camera was apart, I removed some extra
metal parts that were in the way, and also took out a glass
plate from the viewfinder. That’s where my flashing LED
was set with some glue. I used the jigsaw again to cut a
32 March 2016
■ FIGURE 6. All electronics were mounted on an
acrylic sheet as a backplane. Equipment with no
mounting holes was hot glued or attached with double-stick tape. A cordless drill made quick work of the