KlipperLab
Blue single-board computer cabled by USB to a blue MCU controller board, which is wired to a small sensor board on a 3D printer hotend carriage on a rail
getting-started

Klipper Hardware Requirements: Minimum Host, Board, Sensors

What Klipper needs: a Linux host (Pi Zero 2 W, 3, 4, 5 or x86), a control board whose MCU Klipper builds for, a stable supply, and an optional ADXL345.

By KlipperLab Editorial · ·Updated · 11 min read

Klipper needs a host running Python on Linux or a similar operating system. For a low-end host, the minimum is double-precision floating-point hardware. It also needs a printer control board with a microcontroller that Klipper can build firmware for. The Klipper FAQ recommends the Raspberry Pi Zero 2 W, Pi 3, Pi 4 or Pi 5. Other single-board computers and x86 machines can also work.

The minimum checklist:

  1. A host running Python on Linux or a similar operating system, with double-precision floating-point hardware required on low-end hosts.
  2. A control board whose MCU chip Klipper builds for (see the board check below).
  3. A good USB data cable between host and board if you use a USB serial connection.
  4. An adequate host power supply, rated to the host maker’s figure.
  5. An accelerometer (optional) for automatic resonance measurement for input shaping.

Evidence note. The upstream Klipper documentation, Klipper board configuration files and Raspberry Pi documentation were checked on 2026-11-27. The procedures were checked against those sources. No hands-on testing was performed.

Klipper Splits the Job Across Two Machines

Klipper splits the work between a host computer running Linux or a similar operating system and a printer microcontroller, per the Klipper FAQ and the Features page. See how Klipper splits work between host and MCU for the architecture behind the requirements.

The Host Computer

Compute. The FAQ recommends the Raspberry Pi Zero 2 W, Pi 3, Pi 4 and Pi 5, and says other single-board computers and x86 hardware can work. For low-end hosts, the FAQ requires “double precision floating point” hardware.

Storage. Raspberry Pi documents booting from an SD card or, on supported models, from USB storage. On a Pi 5, the Raspberry Pi documentation says “USB boot is disabled by default when connected to a 3A power supply.”

Power. For a Raspberry Pi, check the supply rating and the current limit for the connected USB devices. Raspberry Pi specifies a 5.1 V supply and lists these current ratings. Raspberry Pi power supply documentation

Raspberry Pi modelRecommended PSU current capacityMaximum total USB peripheral current draw
Raspberry Pi 55.0 A1.6 A with a supply capable of 5 A at +5 V, or 600 mA with other compatible supplies
Raspberry Pi 4 Model B3.0 A1.2 A
Raspberry Pi 3 Model B+2.5 A1.2 A
Zero 2 W2 ALimited by PSU, board, and connector ratings only

For the Pi 5, the same page recommends the 27 W USB-C Power Supply. The Klipper FAQ says voltage fluctuations are the most likely cause of a Pi rebooting mid-print. It also says to fix the power supply problem if OctoPrint reports undervoltage.

Raspberry Pi models and host alternatives

The support status below follows the Klipper host FAQ.

HostKlipper statusPower note (Raspberry Pi docs)
Raspberry Pi Zero 2 WRecommended in the FAQ2A supply
Raspberry Pi 3Recommended in the FAQ2.5A supply for the 3 Model B+
Raspberry Pi 4Recommended in the FAQFor the Model B, 3.0 A supply and up to 1.2 A total for USB peripherals
Raspberry Pi 5Recommended in the FAQ5.0 A supply recommended. USB peripherals get up to 1.6 A with a supply capable of 5 A at +5 V, or 600 mA with other compatible supplies.
Pi 1, Pi 2, original Pi ZeroRuns. The FAQ advises against it because these boards “don’t have enough processing power to run Klipper well” and print stalls are common.
Other single-board computers and x86Can work, per the FAQ

In the documented accelerometer setup, the RP2040-based Pi Pico connects the accelerometer to the Raspberry Pi host over USB.

The Control Board

Check whether Klipper builds firmware for the board’s chip and follow the flashing instructions for that board.

The Klipper Features page says Klipper “works on ARM, AVR, PRU, and other micro-controllers.” Its step-rate table lists these microcontrollers:

  • AVR: 16MHz and 20MHz AVR
  • SAM: SAMD21, SAM3X8E, SAM4S8C, SAM4E8E, SAMD51, SAME70
  • STM32: STM32F042, STM32G0B1, STM32F103, STM32G431, STM32F407, STM32F446, STM32H723
  • LPC: LPC1768, LPC1769
  • Raspberry Pi silicon: RP2040, RP2350
  • Other: Beaglebone PRU, AR100

A Raspberry Pi host can also run Klipper as a secondary MCU. The Raspberry Pi as a secondary MCU guide explains how to “directly use the GPIOs and the buses (i2c, spi) of the RPi inside klipper”.

Check your board

  1. Identify your printer or control board model.
  2. Find the matching upstream config. If no printer configuration is available, look for the board’s generic-*.cfg file in the Klipper config directory linked from the installation guide.
  3. Use the settings specified in the file header. Run cd ~/klipper/, then make menuconfig. Apply the settings the chosen file lists, then run make. The SKR V1.4 header, for example, specifies the MCU targets.

If you are unsure which MCU the board uses, check the comments at the top of the matching config.

How the board talks to the host. For a USB serial board, the installation guide uses ls /dev/serial/by-id/* to find the serial port. The FAQ says random “Lost communication with MCU” errors are commonly caused by hardware errors on the USB connection. It recommends a good USB cable and secure plugs, plus a good power supply and power cable for a Raspberry Pi. The CAN bus option is covered below.

Stepper drivers. The TMC drivers guide covers Trinamic drivers in SPI or UART mode. Topics include spreadCycle and stealthChop selection, SET_TMC_CURRENT, DUMP_TMC diagnostics and the prerequisites for sensorless homing. Klipper can use Trinamic drivers in standalone mode, but the guide says “the advanced Klipper features discussed in this document are not available” there.

Klipper supported-board compatibility table

Each board name links to the upstream configuration that identifies its MCU or flashing procedure. The SKR Mini E3 V3.0 and Robin Nano V3 headers explicitly select USB communication. The other rows show the sample [mcu] serial settings, including the Cheetah’s placeholder.

BoardMCUInterface in configBuild or flash methodKnown caveat
BTT SKR Mini E3 V3.0STM32G0B1USBRun make. Copy out/klipper.bin to the SD card as firmware.bin and restart the board with that card.Select 8KiB bootloader. The config explicitly says make flash does not work.
BTT SKR V1.4 / TurboLPC1768 / LPC1769 respectivelyUSB serial in the exampleRun make for the listed MCU targetTurbo uses a different MCU target.
MKS Robin Nano V3STM32F407USBRun make. Copy out/klipper.bin to the SD card as Robin_nano_v3.bin and restart the board with that card.Select the 48 KiB bootloader and USB communication. The config says make flash does not work on the MKS Robin.
FYSETC Cheetah V2.0STM32F401Serial placeholder in [mcu]Run make. Copy klipper.bin to the SD card as firmware.bin and insert the card in the board.Select the 32 KiB bootloader.
FYSETC Spider, upstream STM32F446 exampleSTM32F446USB serial in the exampleRun make and follow the flashing instruction in the linked config.Enable extra low-level configuration setup and select the 12 MHz crystal as the clock reference.

The bootloader reference documents settings for specific bootloaders. For example, firmware for an STM32F103 with the stm32duino bootloader must be compiled with an 8 KiB start address.

Run make menuconfig before make and use the build settings specified for your board. For an initial SD-card flash, disconnect USB between the host and the printer board. Use the filename and placement specified by the board’s procedure, then follow its restart instructions. Klipper installation guide

An example board config can get you through initial installation. It needs customization for full printer functionality.

Choosing an accelerometer connection

Automatic resonance measurement uses a supported accelerometer. Klipper’s basic installation does not require one. The resonance measurement guide lists built-in support for “the ADXL345, MPU-9250, LIS2DW and LIS3DH compatible accelerometers”. Pick a documented wiring example for the exact chip and board.

Interface. For a direct Raspberry Pi connection, use SPI for the ADXL345. The guide says I2C does not have enough throughput for that setup. Klipper’s guide reports I2C tests at 400 kbit/s on Raspberry Pi, RP2040 (Pico) and AVR for the listed MPU-9250, MPU-9255, MPU-6515, MPU-6050, MPU-6500 and ICM20948 sensors.

Where it plugs in. The guide documents two ADXL345 setups:

  • ADXL345 over SPI to the Raspberry Pi’s GPIO header, using the Pi as a secondary Klipper MCU.
  • ADXL345 wired to a Raspberry Pi Pico, with the Pico connected to the Raspberry Pi over USB. The guide notes this makes the sensor easier to reuse across Klipper machines.

Bed slingers. On a printer whose bed moves in Y, the guide says to measure the X axis with the accelerometer on the toolhead and the Y axis with it on the bed.

Host software. For the Raspberry Pi setup, the guide installs the extra analysis packages and adds NumPy to Klipper’s Python environment with these commands.

sudo apt update
sudo apt install python3-numpy python3-matplotlib libatlas-base-dev libopenblas-dev
~/klippy-env/bin/pip install -v "numpy<1.26"

Depending on CPU performance, the guide says the NumPy install can take up to 10 to 20 minutes. If it fails because the board has too little RAM, the guide says to enable swap. The full procedure is in Klipper input shaper setup with an ADXL345.

CAN Bus Toolheads

Klipper’s CAN bus documentation lists these requirements for a CAN toolhead.

  • A CAN interface at the host end. The guide says a host adapter is required and recommends a USB-to-CAN adapter. It also documents USB to CAN bridge mode, which some microcontrollers support. For an adapter, verify that its firmware can be updated.
  • Bridge mode needs another node. Bridge mode requires a functioning CAN bus with at least one other node.
  • Exactly two terminators. Check the schematics for all devices on the bus to verify there are exactly two 120-ohm resistors between CANH and CANL.
  • Bitrate for bridge mode. In make menuconfig, Klipper recommends setting the CAN bus frequency to 1000000 for USB-to-CAN bridge mode. Linux still needs a CAN interface, but Klipper ignores the Linux bitrate in this mode.

To check termination, turn off power to the printer and measure resistance between CANH and CANL with a multimeter. Expect about 60 ohms on a correctly wired bus.

The Klipper documentation gives this example for /etc/network/interfaces.d/can0:

allow-hotplug can0
iface can0 can static
    bitrate 1000000
    up ip link set $IFACE txqueuelen 128

With the hardware powered and wired correctly, run this command to find identifiers. Klipper’s canbus_query.py reports only uninitialized devices.

~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0

Use the reported identifier as the node’s canbus_uuid in the Klipper configuration.

The Software Stack

Klipper’s installation guide says the best current choices are front ends that use the Moonraker web API. It names Fluidd and Mainsail as the two main Moonraker-based front ends, and offers OctoPrint as an alternative. The Mainsail vs Fluidd comparison covers the choice.

Who Each Build Suits

Reuse what you have. Reuse a recommended Pi and check your control board against its Klipper config. Trinamic drivers in standalone mode lack the advanced features covered in the drivers guide.

Board upgrade with UART or SPI TMC drivers. Use the TMC drivers guide to check the SPI or UART requirements for the features you want.

CAN toolhead. Suits builds with a CAN-capable toolhead board and host adapter. If the goal in bridge mode would be to communicate only with the bridge board itself, the CAN guide says to use a standard USB configuration instead.

What You Do Not Need

  • A 32-bit board, if your 8-bit one is supported. The Features page says some 8-bit microcontrollers can exceed 175,000 steps per second. Check the pin types your printer’s devices need in the Klipper pin FAQ.
  • A touchscreen. Klipper can be controlled through Fluidd, Mainsail or OctoPrint.
  • An accelerometer for normal printing. The accelerometer setups above are for measuring resonances and automatically tuning input shapers.

First-boot hardware acceptance checks

For a USB serial board, run ls /dev/serial/by-id/* after flashing. Set serial in [mcu] to the path for your board. If several USB serial boards lack unique identifiers, the Klipper FAQ suggests ls /dev/serial/by-path/*. A board in USB-to-CAN bridge mode appears to Linux as a CAN adapter and is absent from the serial listing. Configure the bridge board as a CAN node using its canbus_uuid. Klipper CAN bridge documentation

Follow the configuration checks before starting a print. Check temperature reporting first. For the emergency-stop check, the guide has you issue M112, which puts Klipper into a shutdown state, clear it with FIRMWARE_RESTART, and then confirm that temperatures keep updating and are not rising. If they are rising, the guide says to remove power from the printer. Only then check the heaters and the stepper enable pins. Check the endstops with QUERY_ENDSTOPS, then check each motion-axis stepper with STEPPER_BUZZ, for example STEPPER_BUZZ STEPPER=stepper_x. The guide treats the extruder motor in its own verification section, and covers heater PID calibration after these checks.

Build Order

  1. Check the configuration for your control board’s MCU and flashing instructions.
  2. Get the host running Linux with a supply that meets the host maker’s rating.
  3. Install the chosen Klipper stack and flash the controller. Follow the project’s upgrade instructions for later firmware updates; ordinary printer.cfg changes do not require a reflash.
  4. Run the first-boot temperature, emergency-stop (with the FIRMWARE_RESTART recovery), heater, stepper enable and endstop checks above. Then verify stepper direction and homing, and verify the extruder motor separately.
  5. Check rotation_distance if a stepper moves significantly farther or less far than expected during STEPPER_BUZZ.
  6. Once basic printing works, consider tuning pressure advance.
  7. If you choose automatic resonance measurement, wire an accelerometer, measure resonance and set the shaper. See the input shaper and acceleration sizer.

For a firmware comparison, see Klipper vs Marlin.

Sources

  1. Klipper: Installation
  2. Klipper: Features
  3. Klipper: Measuring Resonances
  4. Klipper: CAN Bus
  5. Klipper: Frequently Asked Questions
  6. Raspberry Pi: Computer Hardware
  7. Klipper: Bootloaders
  8. Klipper: Configuration Checks
  9. Klipper: SKR Mini E3 V3.0 Board Configuration
  10. Klipper: SKR V1.4 Board Configuration
  11. Klipper: MKS Robin Nano V3 Board Configuration
  12. Klipper: FYSETC Cheetah V2.0 Board Configuration
  13. Klipper: FYSETC Spider Board Configuration
  14. Klipper: TMC Drivers
  15. Klipper: Raspberry Pi as a Secondary MCU

Related