Skip to content

RaspberryPi-powered instant camera using ZJ-58 thermal printer

Notifications You must be signed in to change notification settings

dstoiko/instacam-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

RaspberryPi Instant Camera

Hardware setup

  1. Plug the printer's serial cable connector on serial pins (GPIO14 & 15 & GND are contiguous)
  2. Plug the printer's power cable connecter on 5V and GND pins --> youwill need some soldering as GND should be the same one as for default serial pins
  3. Plug the camera to the RaspberryPi using the special connector marked with CAMERA on the RapsberryPi PCB
  4. Plug a click button between GPIO 16 and GND

Software setup

  1. Clone this repository into your RaspberryPi and cd into it
  2. Launch the setup script: ./setup.sh SERIAL_PORT BAUD_RATE (e.g. for UART printer: ./setup.sh /dev/ttyAMA0 19200 or ./setup.sh /dev/serial0 19200, for USB printer: ./setup.sh /dev/ttyUSB0 9600). The serial port name may vary depending on the model of the RaspberryPi.
  3. Launch the camera script: ./camera.sh

Credits

Adafruit tutorials:

About

RaspberryPi-powered instant camera using ZJ-58 thermal printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages