twhoekstra / AdLapPi

Controller for the AdLap XYZ stage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdLapPi

Controller for the AdLap XYZ stage

Convenient tools

Connecting to the Raspberry Pi via SSH

ssh adlap@raspberrypi.local

For getting serial USB devices (i.e. the Arduinos):

python -m serial.tools.list_ports

Bluetooth connection to the controller

  1. On the raspberry pi
bluetoothctl 
discoverable on
pairable on
agent on
default-agent
  1. Turn on your Xbox Wireless Controller by pressing the Xbox button

  2. Press and hold the Pair button on your controller for three seconds (the Xbox button will start flashing rapidly).

  3. On the Raspberry Pi:

scan on
  1. The controller should appear in the list, e.g.:
[NEW] 40:8E:2C:4E:4F:01 Xbox Wireless Controller
  1. Pair using:
pair 40:8E:2C:4E:4F:01
  1. If successful, the terminal should look like:
[Xbox Wireless Controller]#
  1. Exit the Bluetooth tool using:
quit

python -m venv .venv source .venv/bin/activate pip install -r requirements.txt

cd AdLapPi source .venv/bin/activate python src/main.py

About

Controller for the AdLap XYZ stage

License:MIT License


Languages

Language:Python 100.0%