Frederick Vandenbosch
Published

Raspberry Pi Photo Booth

Take cool pictures and print them immediately!

IntermediateFull instructions provided7,969
Raspberry Pi Photo Booth

Things used in this project

Hardware components

Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1
Raspberry Pi Touch Screen
×1
Camera Module
Raspberry Pi Camera Module
×1
Adafruit Mini Thermal Receipt Printer
×1
WiPi USB Dongle
×1
Raspberry Pi Camera Wide-Angle Lens
×1

Story

Read more

Schematics

Schema Photobooth

Code

Code snippet #1

Plain text
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil list
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil unmountDisk /dev/diskX
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo dd if=Downloads/2015-09-24-raspbian-jessie.img of=/dev/diskX bs=1m
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil unmountDisk /dev/diskX

Code snippet #2

Plain text
pi@photobooth ~ $ sudo apt-get install matchbox-keyboard

Code snippet #3

Plain text
pi@photobooth ~ $ sudo raspi-config

Code snippet #4

Plain text
pi@photobooth ~ $ sudo apt-get install python-serial python-imaging python-unidecode

Code snippet #5

Plain text
pi@photobooth ~ $ sudo nano /boot/cmdline.txt

#dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

Code snippet #6

Plain text
pi@photobooth ~ $ sudo apt-get install git
pi@photobooth ~ $ git clone https://github.com/adafruit/Python-Thermal-Printer
pi@photobooth ~ $ sudo reboot

Code snippet #7

Plain text
pi@raspberrypi ~ $ cd Python-Thermal-Printer
pi@raspberrypi ~/Python-Thermal-Printer $ python printertest.py

Gist

https://gist.github.com/fvdbosch/bc8b1dab6184d5069740.js

Credits

Frederick Vandenbosch

Frederick Vandenbosch

8 projects • 79 followers
Building electronic things

Comments