Cartographer - vvuk/eddy-ng GitHub Wiki
Using Cartographer
Note: Cartographer hardware support has only been lightly tested! Please report back with how it goes for you.
Building for Cartographer hardware requires additional files not present in the eddy-ng
repo. Specifically, you'll need the changes in the src/stm32 directory in this commit. (If that doesn't mean anything to you, apologies -- proper support/integration will show up soon.)
You'll need to build and flash your Cartographer with a new Klipper firmware build. Select STM32
-> STM32F042
, 8kb flash offset
, 24MHz reference clock
. Under "Optional features", disable everything except for ldc1612. Run make
, then make flash FLASH_DEVICE=/dev/serial/by-id/...Cartographer...
. You can go back to the original Cartographer firmware by following the Cartographer instructions.
Sample Cartographer configuration:
[mcu carto]
# Note: this changes to usb-Klipper from Cartographer
serial: /dev/serial/by-id/usb-Klipper_stm32f042x6_060001001143304146393320-if00
restart_method: command
[probe_eddy_ng btt_eddy]
sensor_type: cartographer
i2c_mcu: carto
i2c_bus: i2c1_PB6_PB7
x_offset: ...
y_offset: ...