-
Notifications
You must be signed in to change notification settings - Fork 0
Connection schema
Jos Visser edited this page Jan 11, 2023
·
6 revisions
Used with BIGTREETECH U2C module.
- Enter the command
sudo nano /etc/network/interfaces.d/can0
in the SSH terminal and execute
allow-hotplug can0
iface can0 can static
bitrate 1000000
up ifconfig $IFACE txqueuelen 1024
Set the CAN-BUS speed to 1M (it must be consistent with the speed set in the firmware (1000000) CAN bus speed), save (Ctrl+S) and exit (Ctrl+X) after modification, and enter.
sudo reboot
to restart Raspberry Pi.
- Each device on CAN bus will generate a canbus_uuid according to the UID of MCU, to find each microcontroller device ID, make sure the hardware is powered on and wired correctly, and then run:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
-
If an uninitialized CAN device is detected, the above command will report the device's canbus_uuid. Found canbus_uuid=0e0d81e4210c
-
If Klipper has been running normally and connected to this device, then canbus_uuid will not be reported, which is normal.