Skip to content

Commit

Permalink
Happy hare main backup (#10)
Browse files Browse the repository at this point in the history
* Fysetc Catalyst Config

* added respond on idle_timeout

* sherpa mini config (Frix-x#385)


Co-authored-by: Félix Boisselier <[email protected]>

* switch moonraker update management to dev channel (Frix-x#390)

* Update orbiter2.0.cfg (Frix-x#405)

Add comment about required current. At the default of 0.45 on the Orbiter 2 motor, very poor performance will occur including significant underextrusion on infill, etc.

* chore(mcu): properly label CAN H/L (Frix-x#418)

TX and RX are not helpful, looking at the back of the m8p v2 shows that RX is high, and TX is low.

* added back the proper idle timeout behavior

* BTT S2DW V1.0 and similar RP2040 + lis2dw boards (Frix-x#439)

* Add Octopus Pro 1.0 MCU definition as duplicate of Octopus MCU

* fix typo in BTT_Octopus_Pro_v1.1.cfg (Frix-x#460)

* Turn on filter only if it was used during printing. (Frix-x#380)


Co-authored-by: Jan-Gerrit Drexhage <[email protected]>

* added parameters to park (Frix-x#391)

* M8P v2.0 SPI fix (Frix-x#389)


Co-authored-by: Félix Boisselier <[email protected]>

* Add per material filament sensor management (Frix-x#381)

* Remove _TIP_SHAPING from End/cancel print macros (Frix-x#357)


Co-authored-by: Jan-Gerrit Drexhage <[email protected]>
Co-authored-by: Félix Boisselier <[email protected]>

* Klipper SET_PRINT_STATS_INFO compatibility (Frix-x#392)


Co-authored-by: Félix Boisselier <[email protected]>

* Fix error with turning on filter only if it was used during printing. (Frix-x#406)

Fix issue discovered after merging Frix-x#380

* fix missing variable to cancel_print (Frix-x#408)

* filament sensor status checks universal (Frix-x#411)

* proper Shake&Tune integration in Klippain

* add mellow SB2040 v2 and SB2040 Pro toolhead boards (Frix-x#417)

* correct overriders misspelling (Frix-x#425)

* check if heatsoak is configured to verbose message (Frix-x#424)

* typo

* Add pin definitions for Fysetc S6 V2.X

* add TR8x2 leadscrew config for trident

* Add older version of Fysetc mini12864 display

* HappyHare & other related dev (Frix-x#371)

* HappyHare MMU integration in Klippain

* Spoolman support

* Multiple MCU templates added or modified, especially MMU templates

* LED system rework to support the LED_effects plugin and rainbow barf, etc... ( Frix-x#416 )

* TMC Autotune moonraker updater predefined config (add your motor defs to your overrides.cfg or mcu.cfg)

---------

Co-authored-by: Jan-Gerrit Drexhage <[email protected]>
Co-authored-by: claudioguareschi <[email protected]>
Co-authored-by: Félix Boisselier <[email protected]>
Co-authored-by: ksummers92 <[email protected]>

* fix status leds at startup (Frix-x#448)

* Status leds on startup fix

* display menu and V0 Display (Frix-x#420)

* Better display menu adapted to Klippain

* V0 display support

* Klippain boot logo

---------

Co-authored-by: Elias Huwyler <[email protected]>

* improved display management structure

* fixed MMU includes for HappyHare symlink

* Add BLTouch support (Frix-x#450)

* fixed nozzle and status led on/off.  (Frix-x#454)

* reverted update manager to main branch

* followed naming scheme for bltouch include as virtual

* moved the machine.cfg include and included additional thermistor defs

* Mellow fly super8 template (Frix-x#463)

* Support for TMC5160 on Z Axis (Frix-x#469)

* added fix to prevent issues when updating Klippain without MMU (Frix-x#462)

* Add configs for Fysetc SB Can TH boards (Frix-x#464)


Co-authored-by: Félix Boisselier <[email protected]>

* fix: make prime line height a variable parameter (Frix-x#466)

Fix Frix-x#465

* fix for extrude when temperature is too low (Frix-x#480)

* Add BTT Kraken MCU support (Frix-x#476)

* Update Fysetc_Spider_v3.x.cfg to fix fan ports (Frix-x#474)

* fix BTT_MMB pin (Frix-x#486)

* added fix for rsense for TMC5160 (Frix-x#489)

* Add support for dockable probes with separate retainer (Frix-x#401)

This is needed for probes like https://github.com/kevinakasam/KlackEnder-Probe

* fix for rsense on TMC5160 Z (Frix-x#490)

* Create stale action workflow (Frix-x#449)


Co-authored-by: Félix Boisselier <[email protected]>

* fixed K-Shake&Tune integration

* Avoid cooling hotend in extruder_preheating Frix-x#495 (Frix-x#496)

* Add a park front macro for toolhead maintenance (Frix-x#494)

* Update MMU include order to allow overriding default HH defs (Frix-x#497)

* avoid led effect flashing on startup if leds desabled on startup (Frix-x#500)

* Added BTT SKR2 board template (Frix-x#503)

* fixed the regression introduced in startup call

* fix typo in stale.yml

* fixed probe pin for BTT_SB2209_RP2040_v1.0 (Frix-x#507)

* LDO Nitehawk MCU template and tachometer management (Frix-x#505)


Co-authored-by: Meindert <[email protected]>
Co-authored-by: Akash Patel <[email protected]>

* update primeline to make it adaptive (Frix-x#498)


Co-authored-by: Frédéric Beaucamp <[email protected]>
Co-authored-by: Félix Boisselier <[email protected]>

* fixed missing adaptive primeline variable

* remplaced CANCEL_PRINT by PARK in the automated error management gcode

* fixed typo in LDO Nitehawk manufacturer template

* Add support for Manta_M5P v1.0 and 0.9 degree steppers on Trident Z axis (Frix-x#514)

* fix homing check for PARK in error gcode (Frix-x#513)

* fix typo in Fysetc_ERCF_ERB.cfg (Frix-x#519)

* Update BTT_Kraken_v1.0.cfg, RGB1 fix

listed as PF10, but should be PF12 (pf10 is mcu_min7 already, an endstop)

verified rest of pins as well

* reverted PARK and PARK_FRONT to fail if axis are not homed

* fix PARK with overriden param E (Frix-x#515)

* install and uninstall scripts improvement (Frix-x#511)

* Don't fail uninstall if the backup folder has been removed
* Make uninstall work when backup has sub-directories
* Make sure we don't fail making a backup when there is no current user config folder

* added Mellow Fly Gemini v3 MCU template (Frix-x#527)

* fix pinout for Fysetc_ERB board (Frix-x#530)

* updated homing_override to improve sensorless homing (Frix-x#531)

by using M400 vs the old 2 second dwell time that is not required anymore

* fixed v0_display pin and improved overrides docs (Frix-x#535)

* Update rpi_temp.cfg

Format with _ so a space is in the name, like other temps

* Update cabinet_temp.cfg

* switched to the new minimum_cruise_ratio Klipper parameter

* commented the default minimum_cruise_ratio to not break older Klipper versions

* added Beacon accelerometer support (Frix-x#552)

* Happy hare v2.5 merge (#8)

* make Klippain compatible with HH v2.5

* start print for HH > v2.5

* move HHv2.5 init in _KLIPPAIN_MMU_INIT

* add some info in mmu.md for 2.5

* add sync fonction with HH>2.5

* add eject slicer option for HH>2.5

* typo error

* Update end_print.cfg

Change EJECT to boolean for MMU_END

* show HH version on startup

* added custom4..9 in start_print (Frix-x#539)

* updated beeper sections (Frix-x#549)

by switching to pwm_cycle_time instead of output pin

* removed M204 in favor of SET_VELOCITY_LIMIT (Frix-x#555)

* support for LDO Picobilical (Frix-x#533)

* removed M204 for SET_VELOCITY_LIMIT (Frix-x#554)

* removed last M204 for SET_VELOCITY_LIMIT (Frix-x#553)

* added Beacon accelerometer support (Frix-x#552)

* deprecate HH<v2.5 and small typos

* removed old artifacts from TMC2240 init feature

Please use https://github.com/andrewmcgr/klipper_tmc_autotune instead!

* error on changes in _INIT_CHECK_MMU

---------

Co-authored-by: Benoitone <[email protected]>
Co-authored-by: Félix Boisselier <[email protected]>
Co-authored-by: Jan-Gerrit Drexhage <[email protected]>
Co-authored-by: Colten Edwards <[email protected]>
Co-authored-by: Nick Danyluk <[email protected]>
Co-authored-by: Svennixx <[email protected]>

* Align hardware/mmu.cfg with upstream

* Update nozzle brushing to accomodate offset for situations in which standard nozzle brushing parameters lead to undesired interactions.

* Modify starting move prior to brush procedure to accomodate for brush_offset

* Fix brush center calculation

* Add some debugging messages

* ???

* Fixed brush stroke maths

* Removed unneccessary if statement

* Update Shake&Tune path

This is due to a change in Shake&Tune v3.0.0

---------

Co-authored-by: Surion79 <[email protected]>
Co-authored-by: Félix Boisselier <[email protected]>
Co-authored-by: Benoitone <[email protected]>
Co-authored-by: Eric <[email protected]>
Co-authored-by: Devon Hazelett <[email protected]>
Co-authored-by: Gustavo Ribeiro Alves <[email protected]>
Co-authored-by: Andrew Wickham <[email protected]>
Co-authored-by: tehniemer <[email protected]>
Co-authored-by: Arsène Thieffry <[email protected]>
Co-authored-by: claudioguareschi <[email protected]>
Co-authored-by: Elias Huwyler <[email protected]>
Co-authored-by: Elias Huwyler <[email protected]>
Co-authored-by: Neil Smith <[email protected]>
Co-authored-by: Reiner Uhry <[email protected]>
Co-authored-by: lokiagent <[email protected]>
Co-authored-by: Arcadien <[email protected]>
Co-authored-by: Tyler Olson <[email protected]>
Co-authored-by: Felix Boisselier <[email protected]>
Co-authored-by: elpopo <[email protected]>
Co-authored-by: tsk-2222 <[email protected]>
Co-authored-by: Meindert <[email protected]>
Co-authored-by: Akash Patel <[email protected]>
Co-authored-by: Frédéric Beaucamp <[email protected]>
Co-authored-by: Birkemosen <[email protected]>
Co-authored-by: Magne Rasmussen <[email protected]>
Co-authored-by: Parker <[email protected]>
Co-authored-by: Svennixx <[email protected]>
Co-authored-by: Colten Edwards <[email protected]>
Co-authored-by: Nick Danyluk <[email protected]>
  • Loading branch information
1 parent f087a6a commit 0efb4d5
Show file tree
Hide file tree
Showing 169 changed files with 4,730 additions and 2,906 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Mark and Manage Stale Issues and Pull Requests

on:
schedule:
- cron: '30 7 * * *'

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 14
stale-issue-message: >
📌 **This issue has been marked as stale because it has not had activity in the past 30 days.**
To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days.
Thank you for your contributions!
stale-pr-message: >
📌 **This pull request has been marked as stale because it has not had activity in the past 30 days.**
Please update the PR or comment to keep it active. Otherwise, this will be closed in 14 days.
We appreciate your contribution!
stale-issue-label: 'stale'
stale-pr-label: 'stale, reviewer-needed'
exempt-issue-labels: 'tracking'
exempt-pr-labels: 'tracking'
close-issue-message: 'This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share'
close-pr-message: 'This pull request was closed due to inactivity for 14 days. Please reopen it if you think it was an error or if you wish to continue the contribution.'
exempt-all-milestones: true
exempt-all-assignees: true
exempt-draft-prs: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/*.cfg
/*.conf
/.VERSION
/scripts/K-ShakeTune


# -------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Fun fact: "pain" \pɛ̃\ is the French word for bread, so there's no pain in thi

Klippain is designed for versatility. By selecting and enabling the desired hardware and software options, it can be used on a wide range of machines.

Custom features available out of the box include **adaptive bed mesh**, **custom printer calibration macros**, **automated input shaper workflows**, and **vibration measurement** macros and scripts, ... Refer to the [features documentation](./docs/features.md) for a detailed list and usage instructions.
Custom features available out of the box include a full featured set of standard macros, **adaptive bed mesh**, **custom printer calibrations**, **automated input shaper workflows**, and **vibration measurement** macros and scripts, ... Refer to the [features documentation](./docs/features.md) for a detailed list and usage instructions.


## Installation

To install Klippain, first ensure you have already Klipper, Moonraker, and a WebUI installed on your printer. If not, use [KIAUH](https://github.com/th33xitus/kiauh).
To install Klippain, first ensure you have already Klipper, Moonraker, and a WebUI installed on your printer. If not, you can use [KIAUH](https://github.com/th33xitus/kiauh).

Then, run the installation script using the following command over SSH. This script will backup your old configuration, download this GitHub repository to your RaspberryPi home directory, and set up Klippain in `~/printer_data/config`. You will also be prompted to select and install MCU board_pins templates. This is recommended for faster `mcu.cfg` setup, but you can do it manually later if you prefer.

Expand All @@ -45,9 +45,9 @@ After this you need to install Happy_Hare V2 from it's own repo: https://github.

Finally, Klippain requires a few simple steps to configure and customize it for your printer: please follow the [configuration guide](./docs/configuration.md).

> **Warning**
> **Warning**:
>
> General rule to keep the auto-update feature working: **never modify Klippain files directly**, but instead add overrides as per the documentation! To proceed, you can modify all the pre-installed templates in your config root folder (`printer.cfg`, `mcu.cfg`, `variables.cfg` and `overrides.cfg`) as they will be preserved on update.
> General rule to keep the auto-update feature working: **never modify Klippain files directly**, but instead add overrides as per [the documentation](./docs/overrides.md)! To proceed, you can modify all the pre-installed templates in your config root folder (`printer.cfg`, `mcu.cfg`, `variables.cfg` and `overrides.cfg`) as they will be preserved on update.

## Removing Klippain
Expand All @@ -60,7 +60,7 @@ To run the uninstall script, execute the following command over SSH:
wget -O - https://raw.githubusercontent.com/Frix-x/klippain/main/uninstall.sh | bash
```

> **Note**
> **Note**:
>
> All backups are preserved during the uninstallation process. So, you can easily revert back at any time if you wish to :stuck_out_tongue_winking_eye:
Expand Down
8 changes: 8 additions & 0 deletions config/hardware/accelerometers/adxl345_Fysetc_SB_Can_TH.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[include generics/adxl345_software_spi.cfg]

# As it's a toolhead ADXL, we add some default pins overrides from here
[adxl345]
cs_pin: toolhead:ADXL_CS
spi_software_sclk_pin: toolhead:ADXL_SCLK
spi_software_mosi_pin: toolhead:ADXL_MOSI
spi_software_miso_pin: toolhead:ADXL_MISO
3 changes: 1 addition & 2 deletions config/hardware/accelerometers/adxl345_rpi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
3 changes: 1 addition & 2 deletions config/hardware/accelerometers/adxl345_usb.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
3 changes: 1 addition & 2 deletions config/hardware/accelerometers/adxl345_usb_rampon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
3 changes: 1 addition & 2 deletions config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
13 changes: 13 additions & 0 deletions config/hardware/accelerometers/beacon_accelerometer.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Only for Beacon REV H model, REV D does not have a build in accelerometer
# You need to include beacon_virtual.cfg and set the correct serial in your overrides for this to work
# Accelerometer pins etc are all handeled internally by the Beacon Klipper plugin.
[resonance_tester]
accel_chip: beacon
probe_points:
-1,-1,-1


# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../macros/calibration/IS_shaper_calibrate.cfg]
[include ../../../../macros/calibration/IS_vibrations_measurement.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
25 changes: 25 additions & 0 deletions config/hardware/accelerometers/lis2dw_usb_rp2040_spi1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This LIS2DW file is dedicated to be used with USB RP2040 boards where the LIS2DW
# is connected to SPI1

# This include BTT S2DW V1.0, ...


# You need to set the proper serial in your overrides.cfg file
[mcu lis2dw_mcu]
serial: /dev/serial/by-id/xxx

[lis2dw]
cs_pin: lis2dw_mcu:gpio9
spi_bus: spi1a
axes_map: x,y,z

[resonance_tester]
accel_chip: lis2dw
probe_points:
-1,-1,-1


# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
2 changes: 1 addition & 1 deletion config/hardware/axis/X/TMC/TMC5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.110
sense_resistor: 0.075
stealthchop_threshold: 0
2 changes: 1 addition & 1 deletion config/hardware/axis/Y/TMC/TMC5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.110
sense_resistor: 0.075
stealthchop_threshold: 0
18 changes: 18 additions & 0 deletions config/hardware/axis/Z/TMC/TMC5160_1-Motor.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Z TMC5160 definition

# User variable only needed here as they are called recursively
[gcode_macro _USER_VARIABLES]
variable_z_driver: "tmc5160"
gcode:


[tmc5160 stepper_z]
cs_pin: Z_TMCUART
spi_speed: 500000
spi_software_sclk_pin: DRIVER_SPI_SCK
spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.075
stealthchop_threshold: 0
23 changes: 23 additions & 0 deletions config/hardware/axis/Z/TMC/TMC5160_3-Motors.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[include TMC5160_1-Motor.cfg]

[tmc5160 stepper_z1]
cs_pin: Z1_TMCUART
spi_speed: 500000
spi_software_sclk_pin: DRIVER_SPI_SCK
spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.075
stealthchop_threshold: 0

[tmc5160 stepper_z2]
cs_pin: Z2_TMCUART
spi_speed: 500000
spi_software_sclk_pin: DRIVER_SPI_SCK
spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.075
stealthchop_threshold: 0
12 changes: 12 additions & 0 deletions config/hardware/axis/Z/TMC/TMC5160_4-Motors.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[include TMC5160_3-Motors.cfg]

[tmc5160 stepper_z3]
cs_pin: Z3_TMCUART
spi_speed: 500000
spi_software_sclk_pin: DRIVER_SPI_SCK
spi_software_mosi_pin: DRIVER_SPI_MOSI
spi_software_miso_pin: DRIVER_SPI_MISO
interpolate: True
run_current: 0.8
sense_resistor: 0.075
stealthchop_threshold: 0
18 changes: 18 additions & 0 deletions config/hardware/axis/Z/Trident_TR8x2_1.8deg.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[stepper_z]
rotation_distance: 2
microsteps: 32
full_steps_per_rotation: 200

[stepper_z1]
rotation_distance: 2
microsteps: 32
full_steps_per_rotation: 200

[stepper_z2]
rotation_distance: 2
microsteps: 32
full_steps_per_rotation: 200

# We also include the default wiring and speeds from here to avoid duplicating
[include default_wiring_3M.cfg]
[include default_speed.cfg]
18 changes: 18 additions & 0 deletions config/hardware/axis/Z/Trident_TR8x8_0.9deg.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[stepper_z]
rotation_distance: 8
microsteps: 32
full_steps_per_rotation: 400

[stepper_z1]
rotation_distance: 8
microsteps: 32
full_steps_per_rotation: 400

[stepper_z2]
rotation_distance: 8
microsteps: 32
full_steps_per_rotation: 400

# We also include the default wiring and speeds from here to avoid duplicating
[include default_wiring_3M.cfg]
[include default_speed.cfg]
18 changes: 13 additions & 5 deletions config/hardware/displays/BTT_mini12864.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Neopixel leds integrated in the BTT mini12864 display
[gcode_macro _USER_VARIABLES]
variable_status_leds_minidisplay_enabled = True
variable_status_leds_minidisplay_knob_only = True
variable_status_leds_minidisplay_led_name: "btt_mini12864"
variable_status_leds_minidisplay_idx: '1,2'

gcode:

# Also include directly the leds control macros from here
[include ../../../macros/hardware_functions/status_leds.cfg]

# Include adaptations to the menus
[include ../../../config/software/display/display.cfg]

[display]
lcd_type: uc1701
Expand All @@ -23,8 +27,12 @@ spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2

[output_pin beeper]
[pwm_cycle_time beeper]
pin: EXP1_1
value: 0
shutdown_value: 0
cycle_time: 0.0005
scale: 1

[neopixel btt_mini12864]
# To control Neopixel RGB in mini12864 display
Expand All @@ -36,10 +44,10 @@ initial_BLUE: 0.0
color_order: RGB

# Set RGB values on boot up for each Neopixel.
# Index 1 = display, Index 2 and 3 = Knob
# Index 3 = display, Index 1 and 2 = Knob
[delayed_gcode setdisplayneopixel]
initial_duration: 1
gcode:
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=3
18 changes: 13 additions & 5 deletions config/hardware/displays/BTT_mini12864_inversed.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Neopixel leds integrated in the BTT mini12864 display
[gcode_macro _USER_VARIABLES]
variable_status_leds_minidisplay_enabled = True
variable_status_leds_minidisplay_knob_only = True
variable_status_leds_minidisplay_led_name: "btt_mini12864"
variable_status_leds_minidisplay_idx: '1,2'

gcode:

# Also include directly the leds control macros from here
[include ../../../macros/hardware_functions/status_leds.cfg]

# Include adaptations to the menus
[include ../../../config/software/display/display.cfg]

[display]
lcd_type: uc1701
Expand All @@ -23,8 +27,12 @@ spi_software_miso_pin: EXP2_10
spi_software_mosi_pin: EXP2_5
spi_software_sclk_pin: EXP2_9

[output_pin beeper]
[pwm_cycle_time beeper]
pin: EXP1_10
value: 0
shutdown_value: 0
cycle_time: 0.0005
scale: 1

[neopixel btt_mini12864]
# To control Neopixel RGB in mini12864 display
Expand All @@ -36,10 +44,10 @@ initial_BLUE: 0.0
color_order: RGB

# Set RGB values on boot up for each Neopixel.
# Index 1 = display, Index 2 and 3 = Knob
# Index 3 = display, Index 1 and 2 = Knob
[delayed_gcode setdisplayneopixel]
initial_duration: 1
gcode:
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=3
Loading

0 comments on commit 0efb4d5

Please sign in to comment.