Instant Photo Printer is an instant camera.But it’s not a normal instant camera.It takes a picture when you scream or laugh loudly.
Materials:
Raspberry pi
Power adapter Pi
Camera
Color printer
Sound sensor
Step 1: Step 1: Setting up the raspberry pi
The very first step is to install operating system.You can get some help from google and follow the instructions before turning on the Pi.
Plug some peripherals into the Raspberry Pi .Start by plugging the keyboard, mouse, and external monitor into the Pi. The Pi might need to update itself, so instead of plugging in the wireless adapter, try plugging it into your network with an ethernet cable at this point.
$ sudo apt-get update$ sudo apt-get upgrade
Step 2: Step 2: Setting up the Camera module
When you get to a blue screen that asks you to configure the options with which Raspbian is configured, there are one options you need to set: “camera” should be enabled.
If you don’t see a blue screen,type this command.
$ sudo raspi-config
Then enable camera
Step 3: Step 3: Setting up CUPS to print
My printer is HP Deskjet1010
CUPS is the standards-based, open source printing system developed by Apple Inc. for OS Xand other UNIX-like operating systems. CUPS uses the Internet Printing Protocol(IPP)to support printing to local and network printer. Installation aptitude update aptitude install cups cups-client Start the software /etc/init.d/cups start Add Printer,Connecting to printer with a web brower.Typing your IP address in browser. http://localhost:631/ If you get a permission error, try adding yourself to the group lpadmin. E.g. if you are user “tom”: sudo usermod -a -G lpadmin picamera
For more detail: Instant Photo Printer