
The Unicorn Chasing Kit is a resonance compensation toolkit centred around two core components: the Rethonance Nozzle, a V6-compatible nozzle with a built-in ADXL345 accelerometer and the Rethonance Hub, a magnetic, bed-mountable board that consolidates connectivity for ADXL sensors, motor thermistors, and a GPIO extension port — all over a single USB connection. Together, they provide a convenient way for users to precisely measure resonance at where it actually matters - the nozzle.
The Unicorn Chasing Kit consists of the Rethonance Nozzle and Hub along with related cables. A simplified wiring diagram is shown below:

The Rethonance Hub is designed to be installed on a simple printed mount. The mount allows the hub to be easily placed and removed on the heatbed as needed. The mount includes three magnets that allow it to be latched to the flex plate when in operation. The printed parts are available in here https://github.com/MotorDynamicsLab/Rethonance/tree/master/STLs. The CAD file for the Hub is also available on github to allow anyone to design custom mounting solutions.
A Klipper Configuation can be found in the Rethonance github repo here. Most ports in the configuration file are commented out, remember to enable any port that you want to use.

| Device/Port | PCB Label | Connector Type | MCU Pin | Description |
| Accelerometer Port 1 | ACCEL1 | FFC 0.5mm 8P | PA1/PA5/PA7/PA6/PB0 (cs/clk/mosi/miso/therm) | Accelerometer for input shaping. Controlled via hardware (spi1_PA6_PA7_PA5) or software SPI. |
| Accelerometer Port 2 | ACCEL2 | FFC 0.5mm 8P | PB13/PB10/PB11/PB2/PB12 (cs/clk/mosi/miso/therm) | Accelerometer for input shaping. Controlled via hardware (spi2_PB2_PB11_PB10) or software SPI. |
| Thermistor 1 | TH1 | JST-XH 2P | PA4 | Connect to the thermistor. Uses a 2.2kΩ pull up resistor. |
| Thermistor 2 | TH2 | JST-XH 2P | PA0 | Connect to the thermistor. Uses a 2.2kΩ pull up resistor. |
| Thermistor 3 | TH3 | JST-XH 2P | PA2 | Connect to the thermistor. Uses a 2.2kΩ pull up resistor. |
| Thermistor 4 | TH4 | JST-XH 2P | PA3 | Connect to the thermistor. Uses a 2.2kΩ pull up resistor. |
| SPI Port | SPI | JST-XH 6P | PB6/PB3/PB5/PB4 (cs/clk/mosi/miso) | Auxiliary SPI port, for use with any SPI device. |
| Extension Port | EXT | JST-XH 2x10P | ||
| Activity LED | ACT | N/A | PD0 | A small software controlled onboard LED. Active low. |

The following pinout is common amongst the Rethonance Hub, Rethonance V6 Nozzle, Rethonance Revo Nozzle, and the original LDO Input Shaper Kit.
| PIN# | Name | Description |
| 1 | SCK | SPI clock line |
| 2 | MOSI | SPI master out slave in line |
| 3 | MISO | SPI master in slave out line |
| 4 | INT2 | ADXL345 int2 signal |
| 5 | TH/INT1 | Thermistor / ADXL345 int1 signal* |
| 6 | CS | SPI chip select line |
| 7 | 3V3 | 3V3 Supply (Supplied by Hub) |
| 8 | GND | Ground |
*int1 signal is only available in the original LDO input shaper board. Other boards use this pin as a thermistor signal
The following shows the orientation in which the kit supplied ribbon cable should be inserted:

The FFC connector used in this kit allows you to insert the cable in either orientation (with the blue stiffener facing either up or down). The pinout is designed so that seating the ribbon cable in the wrong orientation will not result in any damage to the electronics. If you use an ribbon cable not supplied by the kit, simply keep trying different orientations until the LED on the Rethonance Nozzle lights up.
The kit provides a 400mm length FFC cable. Follow the below specifications if you need to purchase a new one or a longer cable.
| Pitch | 0.5mm |
| Positions | 8P |
| Type | 2 (exposed contacts on opposite sides)* |
| Length | < 1000mm |
*Type 1 FFC cables are also useable, but you will need to insert one end of the cable in a different orientation. Refer to the section above about orientation.
The firmware for the Rethonance Hub consists of two components: Katapult and Klipper. Katapult is a bootloader designed specifically for Klipper, it ensures that the software on the STM32 MCU boots up smoothly and allows for easy updating of the Klipper firmware. You can learn more about Katapult here. Klipper is the main firmware that runs on the STM32 MCU, you can learn more here.
Your Rethonance Hub will come shipped with both Katapult and Klipper installed. Ideally, you will only ever need to occasionally update the Klipper firmware and never have to touch Katapult. If the Katapult bootloader was erased or is not present for any reason, you can check this section for instructions on how to reupload Katapult.
No special setup is required for installing either Klipper or Katapult. Rethoance Hub simply needs to be hooked up as it operates normally in your 3D printer. You also need access to the two buttons (RESET and BOOT0) on the board. Also note the position of the ACT LED, which will be important later. Reference the photo below to find the buttons and LEDs.

The following instructions are for compiling and upload new Klipper firmware to your Rethonance Hub. You need to perform these steps if you want to update your klipper firmware to the newest version or if you are doing a fresh install and just uploaded Katapult (see the previous sections). Before compiling the firmware, you will need to have Klipper already installed on your host device (e.g. Raspberry Pi).
ssh command in their command line terminal. Run the following commands to open the firmware configuration interface:cd ~/klipper
make menuconfig

8KiB bootloader offset. Otherwise you will erase the Katapult bootloader!Q to quit and confirm with Yes when prompted to save. And run the following to generate the firmware file:make clean
make
~/klipper/out. You are now ready to upload this firmware to the Rethonance Hub. The recommended method is uploading via the make flash command.ls /dev/serial/by-id to find the USB ID of your Rethonance Hub. The USB ID should have a format similar to this: usb-Klipper_stm32g0b1xx_1234567890000000-if00.python, pip, and the pyserial python module if it is not present. You may receive an error: externally managed environment when running the last command. This simply means pyserial has already been installed and you may move on to the next step.sudo apt install python3 python3-pip
pip install pyserial
cd ~/klipper
sudo service klipper stop
make flash FLASH_DEVICE=/dev/serial/by-id/<your USB ID>
sudo service klipper start
In this section we will use an alternative method to upload klipper firmware using the Katapult bootloader. If your Rethonance Hub is missing the Katapult bootloader for any reason, you should follow the next section to install it first.
test -e ~/katapult && (cd ~/katapult && git pull) || (cd ~ && git clone https://github.com/Arksine/katapult) ; cd ~
virtualenv -p python3 ~/katapult-env
~/katapult-env/bin/pip3 install pyserial
~/katapult-env/ and installs the module pyserial which is required to run the upload script.ls /dev/serial/by-id/. You should see something like usb-katapult_rp2040_A1234567898D1234-if00- note that the address contains the word katapult. If not, this means either your Rethonance Hub did not have Katapult installed or you did not enter the Katapult bootloader properly. Copy the address down for the next step, do not exit the bootloader yet.Flash Success at the end.~/katapult-env/bin/python3 ~/katapult/scripts/flashtool.py -d /dev/serial/by-id/usb-katapult_rp2040_A1234567898D1234-if00
ls /dev/serial/by-id/. you should see a Klipper USB serial address in the form of usb-Klipper_rp2040_E1234567A12D9835-if00.In this section we will compile and upload the Katapult Bootloader. Note that your Rethonance Hub normally ships with Katapult pre-installed and you only need to perform the following operations if Katapult was inadvertently overwritten or lost.
test -e ~/katapult && (cd ~/katapult && git pull) || (cd ~ && git clone https://github.com/Arksine/katapult) ; cd ~
cd ~/katapult
make menuconfig

Q to quit and confirm with Yes when prompted to save. next run the following command to compile and generate the Katapult binary files:make clean
make
katapult.bin will now be created in the location ~/katapult/out/. Our next job is to upload this file into the STM32G0B1 MCU.lsusb to confirm. You should see something like Bus 001 Device 023: ID 0483:df11 STMicroelectronics STM Device in DFU mode. If you did not get the previous output, this means either MCU didn't enter DFU mode or there is a problem with the physical connection between the Raspberry Pi and Rethonance Hub.sudo apt install dfu-util
sudo dfu-util -a 0 -s 0x08000000:leave -D ~/katapult/out/katapult.bin
If everything went smoothly, you should now be able to see the ACT light located below the BOOT0 button blink slowly. To double check that Katapult is installed, run ls /dev/serial/by-id. You should see something like: usb-katapult_stm32g0b1xx_A1234567898D1234-if00which is USB serial address of Rethonance Hub running Katapult. A few small details to note here: