Skip to content
LeerySpice edited this page Dec 9, 2018 · 1 revision

Welcome to the RPi-BaslerOpencv wiki!

git clone https://github.com/LeerySpice/RPi-BaslerOpencv /home/pi/BASLER

Automonting /dev/sda1

For automounting memory flash unit add the new line in /etc/fstab

/dev/sda1 /media/usb-drive auto nofail,uid=1000,gid=1000,noatime 0 0

Create BASLER.service

cd /home/si/BASLER/

sudo cp BASLER.service /etc/systemd/system/

sudo systemctl enable BASLER.service

Enable serial port UART

sudo raspi-config

4 Interfacing Options -> P6 Serial -> Disable login shel (N) -> Enable port serial (Y)

Add Static IP

To communicate with the GigE Basler camera, they must be in the same network segment. Static ip will be established for both the RPI and the camera. The RPI will set the IP 10.1, while the Chamber will have the IP 10.2

sudo nano /etc/dhcpcd.conf

add

interface eth0

static ip_address=192.168.10.1/24