skpang / PiCAN2_CANopen_test

MIT License
3 stars 1 forks source link

PiCAN2_CANopen_test

This is a python3 demo of controlling a Nanotec CL3-E-1-0F stepping motor controller using CANopen with PiCAN2 board.

#

https://www.skpang.co.uk/collections/hats/products/pican2-can-bus-board-for-raspberry-pi-2-3

#

Make sure PiCAN driver is installed first https://www.skpang.co.uk/pages/install

Then install the following:

pip install python-can

pip3 install canopen

#

This programs requires the CL3.eds file to be in the same directory as the pican2_canopen_test.py file