Photobooths are the best part of any party, but they’re the size of a closet and they stay put. This one fits in a purse. A 5" touchscreen and camera sit on the front, a thermal receipt printer is set into the face, and a power bank inside runs everything for hours. Easily programmable after you set up SSH, so you can program different themed photobooth apps and photo strips directly from your computer. I’ve also added computer vision and art generation models that you can print with.

Photography by DD

I’ve programmed the LED lights to the photobooth:

  • Rainbow pulses when it’s idle and on
  • Flashing green to take pictures
  • Red & pink fast pulses when printing

Building it covers a lot of ground: designing a printed enclosure that has to fit real parts to a fraction of a millimeter, running a camera and a printer from a Raspberry Pi in Python, sending raw ESC/POS commands to a printer with no driver, and splitting power safely between two hungry devices on one battery.

Project Steps

1. Flash the Pi

Part 1: Get the Pi, battery, screen, and printer working

Before you print anything, get every part working on a table, cabled together loosely. If something won’t talk to the Pi, you want to find out now, not after it’s screwed into a purse.

Use Raspberry Pi Imager to write 64-bit Raspberry Pi OS to the microSD card. Under the Imager’s settings, set your username, Wi-Fi, and SSH so you can reach the Pi from your laptop. Fit the cooler to the Pi 5, insert the card, and boot it once on its wall supply.

2. Connect the Screen

Run micro-HDMI from the Pi’s HDMI 0 port to the ELECROW screen. Then run USB-A to micro-USB from the Pi to the screen’s touch port, which also powers the screen. The desktop should come up at 800×480. If taps register as drags or don’t register at all, open ~/.config/labwc/rc.xml and set mouseEmulation= “no” on the touch device, then log out and back in.

3. Connect the Camera

With the Pi powered off, seat the camera ribbon in CAM0, contacts facing the connector’s latch. Boot the Pi and run python3 tools/camera _check.py –show 8 to get an eight-second live preview on the screen.

4. Power the Printer From the Battery

The thermal printer draws far more current than the Pi’s USB ports can supply, especially when its heater fires. Plug the 2-wire lead into the power bank’s USB-A port and the other end into the printer’s power input. Then run a separate USB cable from the printer’s data port to the Pi.

5. Let the Pi Talk to the Printer

The printer shows up as /dev/usb/lp0 and needs no driver. The booth sends it ESC/POS commands directly. Two one-time fixes make it reliable:

  • Add yourself to the printer group: sudo usermod -aG lp $USER, then log out and back in.
  • Turn off CUPS, which otherwise keeps polling the printer and kicks it off the bus: sudo systemctl disable –now cups cups.socket cups.path && sudo systemctl mask cups.

Then run python3 tools/printer_check.py. You should get a line of text and a test pattern.

6. Set the Clock

Receipts are stamped with the date, so set your time zone, for example sudo timedatectl set-timezone America/Los_Angeles.

7. Run the Booth

Copy the code over with deploy.sh or git clone, then start it with tools/booth.sh start. Tap TO START, strike three poses, tap PRINT.

8. Cut the Cord

Unplug the wall supply and power the Pi from the bank’s USB-C PD port. Run a few sessions back to back on battery. If the Pi warns about low voltage or the printer stalls mid-strip, fix the power now, while every cable is still easy to reach.

Part 2: Build the Purse

Step 1. Try the software before you build anything. On your laptop, clone the repo and run software/tools/simulate.sh. It runs the real booth UI in a window with a fake camera and saves “prints” as images.

2. Design Your Receipt

Open the Tape Bench in a browser. Edit the strip details such as the captions and the type sizes, and the preview redraws dot for dot.

3. Download the Print Files

Everything is in the repo’s hardware/stl and hardware/3mf folders, so you don’t need to measure anything, as long as you buy the exact screen, camera, printer and power bank from the parts list. Print test_corner_coupon first and drive a screw into it. If the screw bites and the lid corner seats flush, your printer’s tolerances will work for the full print.

4. Print the Purse

Print the tub (face down), the lid (outer face down), the Pi bridge plate and the two screen sleeves, all in PETG with no supports. The files are the plain version of the purse; the floral dress in the photos is my own decoration.

5. Mount the Printer and Camera

Push the printer into the large cutout from the front and clamp it from behind with its two wedge clips. Screw the camera onto the four posts behind the small octagonal window (M2×5), cable edge down.

6. Mount the Screen and Bridge Plate

Drop the screen into its pocket with the HDMI edge toward the printer, and screw down the lower ears (M3×8). Stand a sleeve on each upper ear, lay the bridge plate over them, then drive M3×16 through the plate into the ears and M3×12 into the two bosses.

7. Mount the Pi

Stand the Pi on end on the plate’s four bosses, USB ports up (M2.3×5). Route the camera ribbon under the plate and into CAM0. Watch: the screen and Pi together on the spacer (part 2, 10:37).

8. Wire it Up

Run micro-HDMI from the Pi to the screen, USB from the Pi to the screen’s touch micro-USB, and USB from the Pi to the printer’s data port. The bank lies flat behind the screen: its USB-C port powers the Pi and its USB-A port powers the printer through the 2-wire lead. Watch: plugging in all the wires (part 2, 13:09).

9. Optional: Add the LEDs

Give the strip its own 5 V, and run data from GPIO10 (pin 19) through the resistor. The key is to tie the strip supply’s ground to a Pi ground. Without that shared ground, the data line floats and you’ll see random colors and frozen frames that look like every other fault. A 74AHCT125 between the Pi’s 3.3 V signal and the 5 V strip makes the signal solid. Watch: wiring the LED strip to a GPIO pin (part 1, 3:01).

10. Load Your Receipt and Close Up.

Copy receipt.json to ~/photobooth/receipt.json on the Pi. Screw the lid on (six M3×10 countersunk), with the vent slots over the Pi’s cooler, and clip on the strap. Watch: the strap and chain (part 2, 17:04).

Conclusion

This is the second project I’ve ever completed, and it’s been such a joy to see all the things I can do with it. It’s been such a joy to share with friends at various events, and truly customize it to every event. Other things I’ve tried are adding computer vision, and connecting it to my Govee light strips!


Photography by DD