Bernie Link shares a laser connected over USB (or on the network) with the devices on your local network: iPad, iPhone, Mac, and Bernie Studio in any browser, served by Bernie Link itself at http://<board-name>.local:46490/.
Raspberry Pi and Linux PC: a single line
Plug the laser in over USB, then run this line in a terminal (any Raspberry Pi, another ARM board or a Linux PC with systemd, connected to the internet). The script picks the right package, checks its SHA-256 sum and installs Bernie Link as a service that starts with the computer. It then updates itself every night, between 3 and 6 a.m., never during a job; the same line updates it too. The installation also adds the bernie command, which checks, estimates and engraves a project from a terminal or a script (bernie.exe in the Windows archive).
curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh
Options go after sh -s --: --port /dev/ttyUSB0 (the laser’s USB port, otherwise the first one found), --reseau 192.168.1.50 (a Wi-Fi or Ethernet laser), --nom Atelier (the name shown to your devices), --galvo (a JCZ galvo board instead of the laser; with --source mopa or --source co2 if the source is not a fiber), --k40 (a K40 with its stock M2 Nano board; --k40-carte M3 for another board), --sans-mise-a-jour (no automatic updates; to turn them off later: sudo systemctl disable --now bernie-link-maj.timer).
curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh -s -- --port /dev/ttyUSB0 --nom Atelier
Windows 10 and 11
Download the .zip file below, unzip the bernie-link folder, run bernie-hub.exe and leave its window open: the pairing code is shown there. The laser’s USB driver (CH340, CP2102) must be installed; allow Bernie Link on the private network if Windows asks.
The pairing code
The pairing code (8 characters, without 0, O, 1, I or L) appears at the end of the installation and in the service log (journalctl -u bernie-hub); to see it again, on the board: sudo bernie-hub --code. On Windows, it is shown in the Bernie Link window. It stays the same from one start to the next, power cuts included; after 8 wrong codes in a row, Bernie Link picks a new one. Enter it once on your iPad, your Mac or in the browser: without it, the assistant goes no further. A Mac sharing its laser shows its own in Settings › Automation › Laser Sharing (Hub Mode), the desktop app in the Laser panel › Connection, once sharing is on.
Direct downloads
About 17 MB each; SHA-256 checksums. No internet on the board? Copy its package over, unpack it (tar -xzf), then run sudo ./installer.sh in the bernie-link folder.
Safety. Local network only: Bernie Link is never reachable from the internet. Every job is confirmed on the device that sends it, and pause and stop are always available.