Basic hardware information
- Host computer: Raspberry Pi 5
- Lower computer mainboard:BIGTREETECH OCTOPUS Pro
- Tool head main board:EBB36 V1.2
Here, USB is used to connect the host computer and the slave computer mainboard, and then the slave computer mainboard and the tool head mainboard are connected through the CAN bus.
No separate USB to CAN bridge hardware is used in this solution.
Raspberry Pi 5
Reference here Klipper Installation And Update Helper .
Use Raspberry Pi Imager to write the Raspberry Pi image.
Select Raspberry Pi 5 and choose Raspberry Pi OS Lite operating system.
Choose OS > Raspberry Pi OS (other) > Raspberry Pi OS Lite (64bit)
Edit system settings to set usernames and passwords as well as WiFi and SSH logins.
Write the system image to the TF card.
After plugging in the Raspberry Pi, start it and assign it a static intranet IP and static intranet domain name.
Change the software source to a domestic software source.
redstone1024@raspberrypi:~ $ sudo vi /etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian bookworm main contrib non-free non-free-firmware
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
redstone1024@raspberrypi:~ $ sudo vi /etc/apt/sources.list.d/raspi.list
deb https://mirrors.tuna.tsinghua.edu.cn/raspberrypi bookworm main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src https://mirrors.tuna.tsinghua.edu.cn/raspberrypi bookworm main
Download and install KIAUH.
Connect to the Raspberry Pi using SSH.
Update the software sources and install Git and Vim.
redstone1024@raspberrypi:~ $ sudo apt-get update
redstone1024@raspberrypi:~ $ sudo apt-get upgrade
redstone1024@raspberrypi:~ $ sudo apt-get install git vim
Download the KIAUH repository.
redstone1024@raspberrypi:~ $ cd ~ && git clone https://github.com/dw-0/kiauh.git
Run the installation script to install KIAUH.
redstone1024@raspberrypi:~ $ ./kiauh/kiauh.sh
Install Klipper and basic additional tools.
After running the above command, enter the main menu of KIAUH.
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~~~~~ ║
║ Klipper Installation And Update Helper ║
║ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ║
╚═══════════════════════════════════════════════════════╝
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~ [ Main Menu ] ~~~~~~~~~~~~~~~~~~~ ║
╟──────────────────┬────────────────────────────────────╢
║ 0) [Log-Upload] │ Klipper: Not installed ║
║ │ Owner: - ║
║ 1) [Install] │ Repo: - ║
║ 2) [Update] ├────────────────────────────────────╢
║ 3) [Remove] │ Moonraker: Not installed ║
║ 4) [Advanced] │ Owner: - ║
║ 5) [Backup] │ Repo: - ║
║ ├────────────────────────────────────╢
║ S) [Settings] │ Mainsail: Not installed ║
║ │ Fluidd: Not installed ║
║ Community: │ Client-Config: - ║
║ E) [Extensions] │ ║
║ │ KlipperScreen: Not installed ║
║ │ Crowsnest: Not installed ║
╟──────────────────┼────────────────────────────────────╢
║ v6.0.0-alpha.7 │ Changelog: https://git.io/JnmlX ║
╟──────────────────┴────────────────────────────────────╢
║ Q) Quit ║
╚═══════════════════════════════════════════════════════╝
The right side shows the software packages managed by KIAUH.
-
basic configuration(If you just need basic 3D printing control):
- Clipper: Provides efficient printing control.
- Moonraker: Serves as Klipper's API server.
- Mainsail Or Fluid: Select one as a web interface to control and monitor the printer.
-
Enhanced Configuration(If you need more features like remote access and monitoring):
- Clipper + Moonraker + Mainsail/Fluidd: Basic control and monitoring.
- KlipperScreen: If you have a touch screen and want to control it directly on the printer.
- Telegram Bot: Remote control via Telegram.
- Crowsnest: If you need to manage cameras.
- Obico: Used for AI monitoring and fault detection.
-
mobile access(If you want to control it from your phone):
- Mobileraker Or OctoApp: Select an application for your mobile device.
-
Consumables Management(If you need to manage printing supplies):
- Spoolman: Used to manage wires and other consumables.
Here we choose basic configuration and use Fluidd as the Web GUI for printer management.
That is, install Klipper, Moonraker, and Fluidd, and keep all options as default.
Modify the Fluidd port.
redstone1024@raspberrypi:~ $ sudo vim /etc/nginx/sites-available/fluidd
server {
listen 80;
# uncomment the next line to activate IPv6
# listen [::]:80;
...
redstone1024@raspberrypi:~ $ sudo systemctl restart nginx
BIGTREETECH OCTOPUS Pro
Reference here BIGTREETECH-OCTOPUS-Pro 和 Voron Octopus(Pro) Klipper Firmware .
When flashing the microcontroller, it is best to disconnect the microcontroller from the tool (such as a heating pad, etc.) to prevent the tool from being accidentally started during installation.
Compile the Klipper firmware.
Log in to the Raspberry Pi 5 via SSH and enter the microcontroller compilation configuration page.
redstone1024@raspberrypi:~ $ cd ~/klipper/
redstone1024@raspberrypi:~/klipper $ make clean
redstone1024@raspberrypi:~/klipper $ make menuconfig
The microcontroller used here is STM32F446. According to the document, make the following configuration. Please check the PIN diagram for the communication interface.
Note that the CAN bus baud rate must be the same as other parts.
[*] Enable extra low-level configuration options
Micro-controller Architecture (STMicroelectronics STM32) --->
Processor model (STM32F446) --->
Bootloader offset (32KiB bootloader) --->
Clock Reference (12 MHz crystal) --->
Communication interface (USB to CAN bus bridge (USB on PA11/PA12)) --->
CAN bus interface (CAN bus (on PD0/PD1)) --->
USB ids --->
(1000000) CAN bus speed
() GPIO pins to set at micro-controller startup
Compile the microcontroller firmware.
redstone1024@raspberrypi:~/klipper $ make
Install the Klipper firmware.
Download the compiled firmware to your local computer.
redstone1024@raspberrypi:~/klipper $ sudo apt-get install lrzsz
redstone1024@raspberrypi:~/klipper $ sz out/klipper.bin
copy klipper.bin Go to the root directory of the TF card formatted as FAT32 and name it firmware.bin .
After turning off the printer power, insert the TF card into BIGTREETECH OCTOPUS Pro and then turn on the power.
After waiting for a few minutes, turn off the printer and remove the TF card.
At this time, the files in the TF card should be automatically renamed FIRMWARE.CUR Indicates that the firmware was installed successfully.
EBB36
Reference here EBB .
When flashing the microcontroller, it is best to disconnect the microcontroller from the tool (such as a heating pad, etc.) to prevent the tool from being accidentally started during installation.
Compile the Klipper firmware.
Log in to the Raspberry Pi 5 via SSH and enter the microcontroller compilation configuration page.
redstone1024@raspberrypi:~ $ cd ~/klipper/
redstone1024@raspberrypi:~/klipper $ make clean
redstone1024@raspberrypi:~/klipper $ make menuconfig
The microcontroller used here is STM32G0B1 and is configured as follows according to the documentation.
Note that the CAN bus baud rate must be the same as other parts.
Klipper Firmware Configuration
[*] Enable extra low-level configuration options
Micro-controller Architecture (STMicroelectronics STM32) --->
Processor model (STM32G0B1) --->
Bootloader offset (No bootloader) --->
Clock Reference (8 MHz crystal) --->
Communication interface (CAN bus (on PB0/PB1)) --->
(1000000) CAN bus speed
() GPIO pins to set at micro-controller startup
Compile the microcontroller firmware.
redstone1024@raspberrypi:~/klipper $ make
Install the Klipper firmware.
Download the compiled firmware to your local computer.
redstone1024@raspberrypi:~/klipper $ sudo apt-get install lrzsz
redstone1024@raspberrypi:~/klipper $ sz out/klipper.bin
Open STM32CubeProgrammer and load the compiled firmware.
Connect the USB power jumper on the EBB36.
Use USB to connect the computer and EBB36, and adjust the connection mode in the upper right corner of STM32CubeProgrammer to USB.
On the EBB36, press and hold the Boot button, then click the RST button once to enter DFU mode.
In the USB configuration menu of STM32CubeProgrammer, click Refresh next to No DFU device and find EBB36.
Click Connect to connect to the EBB36, then click Download to start installing the firmware.
After the installation is complete, click Disconnet to disconnect, remove the USB cable, and remove the USB power jumper.
Configuring the CAN bus
Log into your Raspberry Pi 5 via SSH.
Add CAN bus interface configuration, note that the baud rate is the same as the firmware compiled above.
redstone1024@raspberrypi:~ $ sudo vim /etc/network/interfaces.d/can0
allow-hotplug can0
iface can0 can static
bitrate 1000000
up ifconfig $IFACE txqueuelen 128
Restart the host computer to take effect.
redstone1024@raspberrypi:~ $ sudo reboot
First remove EBB36 and check the current CAN bus devices through commands.
redstone1024@raspberrypi:~ $ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
Found canbus_uuid=d66341632983, Application: Klipper
Total 1 uuids found
At this time, the obtained d66341632983 That is, the UUID of the lower computer motherboard.
Turn off the printer power, connect EBB36, turn on the printer power, and check the current CAN bus devices.
redstone1024@raspberrypi:~ $ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
Found canbus_uuid=d66341632983, Application: Klipper
Found canbus_uuid=06a28d0da533, Application: Klipper
Total 2 uuids found
At this time, the obtained 06a28d0da533 That is the UUID of EBB36.
log in http://voron/#/configure edit printer.cfg file.
...
[mcu]
canbus_uuid: d66341632983
[mcu toolhead]
canbus_uuid: 06a28d0da533
...
After the modification is completed, click RESTART to restart the printer.
enter http://voron/#/system You can see the status of the two microcontrollers.
Printer Configuration
Reference here Voron Software Configuration .
Reference here Tap Klipper Instructions .
Printer Calibration
Perform Z-axis offset calibration.
Start the calibration procedure.
PROBE_CALIBRATE
Adjust the nozzle height, where the Z parameter represents the distance to move.
TESTZ Z=-0.1
Use A4 paper to test the nozzle height.
- Too high: The paper has no resistance at all → Continue to lower
- Just right: The paper moves but there is slight resistance → Done
- Too high: Paper cannot be moved or is pressed → Needs to be raised
Calibration is complete.
ACCEPT
Save the configuration.
SAVE_CONFIG
Perform PID calibration of the hot end and hot bed.
Simulate a normal printing environment and turn on the model cooling fan.
M106 S64
Perform hot end PID calibration.
PID_CALIBRATE HEATER=extruder TARGET=230
Save the configuration.
SAVE_CONFIG
Perform hot bed PID calibration.
PID_CALIBRATE HEATER=heater_bed TARGET=60
Save the configuration.
SAVE_CONFIG
Resonance calibration is performed via accelerometers.
Verify the accelerometer connection.
ACCELEROMETER_QUERY
If the following information is returned, it means the accelerometer is normal.
// accelerometer values (x, y, z): -9622.677246, 148.041188, -229.828649
Perform a resonance test.
SHAPER_CALIBRATE
Save the configuration.
SAVE_CONFIG