Connecting OPP to your computer
Connect the OPP board to your computer via USB. Make sure that your OPP chains do not get too long since the serial throughput is limited per chain. You can connect multiple chains.
Verify Connected Boards via mpf hardware scan
You can run mpf hardware scan to see all connected node boards:
$ mpf hardware scan Connected CPUs: - Port: com1 at 115200 baud -> Board: 0x20 Firmware: 0x10100 -> Board: 0x21 Firmware: 0x10100 Incand cards: - CPU: com1 Board: 0x20 Card: 0 Numbers: [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31] Input cards: - CPU: com1 Board: 0x20 Card: 0 Numbers: [0, 1, 2, 3, 8, 9, 10, 11, 12, 13, 14, 15] - CPU: com1 Board: 0x21 Card: 1 Numbers: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27] Solenoid cards: - CPU: com1 Board: 0x20 Card: 0 Numbers: [0, 1, 2, 3] - CPU: com1 Board: 0x21 Card: 1 Numbers: [12, 13, 14, 15] LEDs: - CPU: com1 Board: 0x21 Card: 1
If your boards do not show up checkout our OPP troubleshooting guide.
On Linux: Blacklist cytherm module
If you are using OPP hardware on linux you should blacklist the cypress thermometer because it conflicts with OPP.
If blacklist.conf does not exist, just create a new empty file as root. Afterwards, reboot your PC.
On Linux: Add udev rules to ensure persistent device names
If you have more than one ttyACM connected to your PC (e.g. multiple OPP chains or other USB-serial adapters) you can assign a name to your ports based on the USB port they are connected to.
First identify the port of your OPP hardware. Usually it should be
udevadm info on your port:
udevadm info /dev/ttyACM0
This will show you the
DEVPATH. Now replace the last part
with an asterisk and add an udev rules like this in
SUBSYSTEM=="tty", ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/*", SYMLINK+="ttyOPP1", GROUP="adm", MODE="0660"
After a reboot you should get a
/dev/ttyOPP1 device if you connect an
OPP device to that specific USB port. You can use that port in your
On Ubuntu: Stop ModemManager
ModemManager tries to initialize all
/dev/ttyACMxx devices as modem.
That might cause delays after attaching OPP hardware and might also
leave the hardware in a weird state with garbage on the bus. If you do
not use any modems just disable and stop ModemManager:
sudo systemctl disable ModemManager sudo systemctl stop ModemManager
What if it did not work?
Have a look at our OPP troubleshooting guide.
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results