- Plug the printer's serial cable connector on serial pins (GPIO14 & 15 & GND are contiguous)
- 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
- Plug the camera to the RaspberryPi using the special connector marked with
CAMERA
on the RapsberryPi PCB - Plug a click button between GPIO 16 and GND
- Clone this repository into your RaspberryPi and
cd
into it - 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. - Launch the camera script:
./camera.sh
Adafruit tutorials: