Camera and photo printer controlled by a raspberry pi. All components are put in a case, a box of wood. The process of printing a pictures (4 photos) starts when the button on the front is pushed. 2 leds then indicates the progress (pose-led and printing-led). This project is based on the instructions from this post: http://www.instructables.com/id/Raspberry-Pi-photo-booth-controller
|1K ohm (2 of each), 10K ohm, (2 of each) 330 ohm (4 of each), leds (4 of each), push switch (2 of each)|
##Setup Follow instructions from link.
- Printer: Canon SELPHY 910
- Camera: Canon
- Controller: Raspberry Pi 2
###Set Raspberry to startup script on reboot
sudo nano /etc/rc.local
- one extra button (with built-in led) is added, compared to the instructins from link. It is used to restart the main python script (button.py) when the script accidently stops. This typically happens when the camera goes into sleep mode. This second button is controlled by the script restart_button.py.
- after a successfull print, the system is set to reboot. This is because sometimes the printer goes into paus mode (hangs). It might not be necessary if you change error policy. See: https://lwn.net/Articles/498216/ or https://bbs.archlinux.org/viewtopic.php?id=202022 or https://www.novell.com/support/kb/doc.php?id=7014022
- add externas USB disk or flash memory to store the pictuers before removing them.
- set error policy for printer in CUPS
##Useful commands Sometimes printer hangs (out of paper, for example): Printer Canon_CP910 disabled since Tue 17 May 2016 21:26:12 UTC - Unable to send data to printer.
List printer name
List all printer jobs
To find the Raspberry Pi IP on your network (check this output for items that are not incomplete, then make 'ssh email@example.com.XX')
ifconfig | grep broadcast | arp -a