├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml └── workflows │ └── stale.yml ├── .gitignore ├── LICENSE ├── README.md ├── adxl_results ├── belts │ └── .gitkeep ├── inputshaper │ └── .gitkeep └── vibrations │ └── .gitkeep ├── config ├── hardware │ ├── accelerometers │ │ ├── adxl345_BTT_SB22xx.cfg │ │ ├── adxl345_Fysetc_SB_Can_TH.cfg │ │ ├── adxl345_Fystec_NIS.cfg │ │ ├── adxl345_ebb.cfg │ │ ├── adxl345_nitehawk_sb.cfg │ │ ├── adxl345_rpi.cfg │ │ ├── adxl345_sb2040.cfg │ │ ├── adxl345_sht.cfg │ │ ├── adxl345_sht_v2.x.cfg │ │ ├── adxl345_skr.cfg │ │ ├── adxl345_usb.cfg │ │ ├── adxl345_usb_rampon.cfg │ │ ├── adxl345_usb_rp2040_spi1.cfg │ │ ├── beacon_accelerometer.cfg │ │ ├── generics │ │ │ ├── adxl345_hardware_spi1.cfg │ │ │ ├── adxl345_hardware_ssp1.cfg │ │ │ ├── adxl345_software_spi.cfg │ │ │ └── lis2dw_software_spi.cfg │ │ ├── lis2dw_sht_v3.x.cfg │ │ └── lis2dw_usb_rp2040_spi1.cfg │ ├── axis │ │ ├── X │ │ │ ├── 0.9deg.cfg │ │ │ ├── 1.8deg.cfg │ │ │ ├── TMC │ │ │ │ ├── TMC2209.cfg │ │ │ │ ├── TMC2209_V0specific.cfg │ │ │ │ ├── TMC2240.cfg │ │ │ │ └── TMC5160.cfg │ │ │ ├── default_speed.cfg │ │ │ └── default_wiring.cfg │ │ ├── Y │ │ │ ├── 0.9deg.cfg │ │ │ ├── 1.8deg.cfg │ │ │ ├── TMC │ │ │ │ ├── TMC2209.cfg │ │ │ │ ├── TMC2209_V0specific.cfg │ │ │ │ ├── TMC2240.cfg │ │ │ │ └── TMC5160.cfg │ │ │ ├── default_speed.cfg │ │ │ └── default_wiring.cfg │ │ ├── Z │ │ │ ├── TMC │ │ │ │ ├── TMC2209_1-Motor.cfg │ │ │ │ ├── TMC2209_3-Motors.cfg │ │ │ │ ├── TMC2209_4-Motors.cfg │ │ │ │ ├── TMC2240_1-Motor.cfg │ │ │ │ ├── TMC2240_3-Motors.cfg │ │ │ │ ├── TMC2240_4-Motors.cfg │ │ │ │ ├── TMC5160_1-Motor.cfg │ │ │ │ ├── TMC5160_3-Motors.cfg │ │ │ │ └── TMC5160_4-Motors.cfg │ │ │ ├── TriZero_0.9deg.cfg │ │ │ ├── TriZero_1.8deg.cfg │ │ │ ├── Trident_TR8x2_1.8deg.cfg │ │ │ ├── Trident_TR8x4_1.8deg.cfg │ │ │ ├── Trident_TR8x8_0.9deg.cfg │ │ │ ├── Trident_TR8x8_1.8deg.cfg │ │ │ ├── V0_TR8x4_1.8deg.cfg │ │ │ ├── V0_TR8x8_1.8deg.cfg │ │ │ ├── V2.4_galileo2Z_1.8deg.cfg │ │ │ ├── V2.4_galileoZ_1.8deg.cfg │ │ │ ├── V2.4_stock_1.8deg.cfg │ │ │ ├── VSW_0.9deg.cfg │ │ │ ├── VSW_1.8deg.cfg │ │ │ ├── default_speed.cfg │ │ │ ├── default_wiring_1M.cfg │ │ │ ├── default_wiring_3M.cfg │ │ │ └── default_wiring_4M.cfg │ │ └── size │ │ │ ├── 120mm.cfg │ │ │ ├── 180mm.cfg │ │ │ ├── 250mm.cfg │ │ │ ├── 300mm.cfg │ │ │ ├── 350mm.cfg │ │ │ └── VSW_MK52.cfg │ ├── bed_heaters │ │ ├── creality.cfg │ │ └── keenovo.cfg │ ├── displays │ │ ├── BTT_mini12864.cfg │ │ ├── BTT_mini12864_inversed.cfg │ │ ├── Fysetc_mini12864.cfg │ │ ├── Fysetc_mini12864_inversed.cfg │ │ ├── Fysetc_mini12864_v1.2_v2.0.cfg │ │ ├── Fysetc_mini12864_v1.2_v2.0_inversed.cfg │ │ └── V0_display.cfg │ ├── ercf.cfg │ ├── extruder │ │ ├── TMC │ │ │ ├── TMC2209.cfg │ │ │ └── TMC2240.cfg │ │ ├── cw1.cfg │ │ ├── cw2.cfg │ │ ├── default_wiring.cfg │ │ ├── galileo.cfg │ │ ├── galileo2.cfg │ │ ├── lgx_heavy.cfg │ │ ├── lgx_lite.cfg │ │ ├── orbiter2.0.cfg │ │ ├── sherpa_mini.cfg │ │ └── vz_hextrudort.cfg │ ├── fans │ │ ├── controller_fan.cfg │ │ ├── hotend_fan.cfg │ │ ├── hotend_fan_tachometer.cfg │ │ ├── part_fan.cfg │ │ ├── part_fan_tachometer.cfg │ │ └── rpi_fan.cfg │ ├── filament_sensors │ │ ├── motion_sensor.cfg │ │ └── switch_sensor.cfg │ ├── filters │ │ ├── exhaust_filter.cfg │ │ └── nevermore_filter.cfg │ ├── heated_bed.cfg │ ├── lights │ │ ├── config_colors.cfg │ │ ├── fcob_white.cfg │ │ ├── neopixel_caselight.cfg │ │ ├── neopixel_caselight_effects.cfg │ │ ├── status_leds.cfg │ │ ├── status_leds_effects.cfg │ │ ├── status_leds_rainbow_barf.cfg │ │ └── status_leds_rainbow_barf_effects.cfg │ ├── mmu.cfg │ ├── probes │ │ ├── beacon_virtual.cfg │ │ ├── bltouch_virtual.cfg │ │ ├── dockable.cfg │ │ ├── dockable_virtual.cfg │ │ ├── inductive.cfg │ │ ├── inductive_virtual.cfg │ │ ├── no_probe.cfg │ │ └── voron_tap.cfg │ ├── servos │ │ ├── probe_servo.cfg │ │ ├── purgeclean_servo.cfg │ │ └── shared_probepurge_servo.cfg │ └── temperature_sensors │ │ ├── cabinet_temp.cfg │ │ ├── chamber_temp.cfg │ │ ├── chamber_temp_ds18b20.cfg │ │ ├── chamber_temp_toolhead.cfg │ │ ├── custom_thermistors.cfg │ │ ├── mcu_temp.cfg │ │ ├── rpi_temp.cfg │ │ └── toolhead_mcu_temp.cfg ├── kinematics │ ├── cartesian.cfg │ ├── corexy.cfg │ └── corexz.cfg ├── machine.cfg ├── mcu_definitions │ ├── main │ │ ├── BTT_Kraken_v1.0.cfg │ │ ├── BTT_Manta_E3EZ_v1.0.cfg │ │ ├── BTT_Manta_M5P_v1.0.cfg │ │ ├── BTT_Manta_M8P_v1.0.cfg │ │ ├── BTT_Manta_M8P_v1.1.cfg │ │ ├── BTT_Manta_M8P_v2.0.cfg │ │ ├── BTT_Octopus.cfg │ │ ├── BTT_Octopus_Max.cfg │ │ ├── BTT_Octopus_Pro_v1.1.cfg │ │ ├── BTT_SKR_2.cfg │ │ ├── BTT_SKR_3.cfg │ │ ├── BTT_SKR_Mini_E3_v2.cfg │ │ ├── BTT_SKR_Mini_E3_v3.cfg │ │ ├── BTT_SKR_Pico_v1.0.cfg │ │ ├── BTT_SKR_Pro_V1.2.cfg │ │ ├── BTT_SKR_v1.4.cfg │ │ ├── Fysetc_Catalyst_v1.x.cfg │ │ ├── Fysetc_Cheetah_v3.x.cfg │ │ ├── Fysetc_S6_v2.x.cfg │ │ ├── Fysetc_Spider_v1.x.cfg │ │ ├── Fysetc_Spider_v2.x.cfg │ │ ├── Fysetc_Spider_v3.x.cfg │ │ ├── LDO_Leviathan_v1.2.cfg │ │ ├── Mellow_Fly_Gemini_v3.cfg │ │ └── Mellow_Fly_Super8_v1.x.cfg │ ├── mmu │ │ ├── BTT_MMB_CAN_v1.0.cfg │ │ ├── BTT_SKR_Pico_v1.0.cfg │ │ ├── Fysetc_ERCF_ERB.cfg │ │ ├── Mellow_fly_ERCF.cfg │ │ └── Tircown_ERCF_easy_brd.cfg │ ├── rpi.cfg │ └── toolhead │ │ ├── BTT_EBB36-42_v1.0.cfg │ │ ├── BTT_EBB36-42_v1.1.cfg │ │ ├── BTT_EBB36-42_v1.2.cfg │ │ ├── BTT_SB2209_RP2040_v1.0.cfg │ │ ├── BTT_SB2209_v1.0.cfg │ │ ├── BTT_SB2240_v1.0.cfg │ │ ├── Fysetc_SB_Can_TH_v1.x.cfg │ │ ├── LDO_Nitehawk-SB_v1.0.cfg │ │ ├── Mellow_SB2040_Pro.cfg │ │ ├── Mellow_SB2040_v1.cfg │ │ ├── Mellow_SB2040_v2.cfg │ │ ├── Mellow_SHT36-42_v1.x.cfg │ │ ├── Mellow_SHT36_v2.x.cfg │ │ └── Mellow_SHT36_v3.x.cfg └── software │ ├── bed_mesh │ ├── bed_mesh_120mm.cfg │ ├── bed_mesh_180mm.cfg │ ├── bed_mesh_250mm.cfg │ ├── bed_mesh_300mm.cfg │ ├── bed_mesh_350mm.cfg │ └── bed_mesh_mk52.cfg │ ├── display │ ├── display.cfg │ └── klippain_splash.cfg │ ├── firmware_rectraction.cfg │ ├── input_shaper.cfg │ ├── sensorless_homing │ ├── sensorless_BTT_TMC2240.cfg │ ├── sensorless_MKS_TMC2240.cfg │ └── sensorless_TMC2209.cfg │ ├── shaketune.cfg │ ├── spoolman.cfg │ ├── tilting │ ├── bedscrews_120mm.cfg │ ├── qgl_180mm.cfg │ ├── qgl_250mm.cfg │ ├── qgl_300mm.cfg │ ├── qgl_350mm.cfg │ ├── z_tilt_120mm.cfg │ ├── z_tilt_250mm.cfg │ ├── z_tilt_300mm.cfg │ └── z_tilt_350mm.cfg │ └── z_calibration.cfg ├── docs ├── brush_center_offset.md ├── configuration.md ├── features.md ├── features │ ├── adaptive_bed_mesh.md │ ├── flow_calibration.md │ ├── is_workflow.md │ ├── pa_calibration.md │ └── vibr_measurements.md ├── images │ ├── flow_calibration.png │ ├── mmu │ │ ├── HHv2_error_tmc.png │ │ ├── HHv2_mcu_tmc.png │ │ └── HHv2emptygate.png │ ├── pa_calibration.png │ ├── pa_calibration_band_count.png │ ├── resonances_belts_example.png │ ├── resonances_x_example.png │ ├── resonances_y_example.png │ └── vibrations_example.png ├── input_shaper.md ├── klippain.png ├── mmu.md ├── overrides.md └── pinout.md ├── install.sh ├── macros ├── base │ ├── cancel_print.cfg │ ├── control.cfg │ ├── end_print.cfg │ ├── homing │ │ ├── homing_conditional.cfg │ │ ├── homing_override.cfg │ │ ├── tilting.cfg │ │ └── z_calibration.cfg │ ├── park.cfg │ ├── pause_resume.cfg │ ├── probing │ │ ├── dockable_probe.cfg │ │ ├── generic_probe.cfg │ │ └── overrides │ │ │ ├── bed_mesh_calibrate.cfg │ │ │ ├── dockable_probe_overrides.cfg │ │ │ ├── qgl.cfg │ │ │ └── z_tilt.cfg │ └── start_print.cfg ├── calibration │ ├── adaptive_bed_mesh.cfg │ ├── calibrate.cfg │ ├── calibrate_flow.cfg │ ├── calibrate_pa.cfg │ └── test_speed.cfg ├── hardware_functions │ ├── caselights.cfg │ ├── filter.cfg │ ├── mmu.cfg │ ├── servos.cfg │ └── status_leds.cfg ├── helpers │ ├── bed_heater_ctrl.cfg │ ├── filament_swap.cfg │ ├── heatsoak.cfg │ ├── hotend_heater_ctrl.cfg │ ├── nozzle_cleaning.cfg │ ├── prime_line.cfg │ ├── resonance_override.cfg │ ├── spoolman.cfg │ ├── tachometer_check.cfg │ └── temp_check.cfg └── miscs │ ├── compatibility.cfg │ ├── debugging.cfg │ └── startup.cfg ├── moonraker ├── base.conf ├── exclude_object.conf ├── fluidd.conf ├── led_effect.conf ├── mainsail.conf ├── spoolman.conf ├── tmc_autotune.conf └── z_calibration.conf ├── scripts ├── gcode_shell_command.py ├── shell_commands.cfg └── system_info.py ├── uninstall.sh └── user_templates ├── mcu.cfg ├── mcu_defaults ├── main │ ├── BTT_Kraken_v1.0.cfg │ ├── BTT_Manta_E3EZ_v1.0.cfg │ ├── BTT_Manta_M5P_v1.0.cfg │ ├── BTT_Manta_M8P_v1.0.cfg │ ├── BTT_Manta_M8P_v1.1.cfg │ ├── BTT_Manta_M8P_v2.0.cfg │ ├── BTT_Octopus.cfg │ ├── BTT_Octopus_Max.cfg │ ├── BTT_Octopus_Pro_v1.0.cfg │ ├── BTT_Octopus_Pro_v1.1.cfg │ ├── BTT_SKR_2.cfg │ ├── BTT_SKR_3.cfg │ ├── BTT_SKR_Mini_E3_v2.cfg │ ├── BTT_SKR_Mini_E3_v3.cfg │ ├── BTT_SKR_Pico_v1.0.cfg │ ├── BTT_SKR_Pro_V1.2.cfg │ ├── Double_BTT_SKR_v1.4.cfg │ ├── Fysetc_Catalyst_v1.x.cfg │ ├── Fysetc_Cheetah_v3.x.cfg │ ├── Fysetc_S6_v2.x.cfg │ ├── Fysetc_Spider_v1.x.cfg │ ├── Fysetc_Spider_v2.x.cfg │ ├── Fysetc_Spider_v3.x.cfg │ ├── LDO_Leviathan_v1.2.cfg │ ├── MY-OWN-CUSTOM-TEMPLATE.cfg │ ├── Mellow_Fly_Gemini_v3.cfg │ └── Mellow_Fly_Super8_v1.x.cfg ├── mmu │ ├── BTT_MMB_CAN_v1.0.cfg │ ├── BTT_SKR_Pico_v1.0.cfg │ ├── Fysetc_ERCF_ERB.cfg │ ├── Mellow_fly_ERCF.cfg │ └── Tircown_ERCF_easy_brd.cfg └── toolhead │ ├── BTT_EBB36-42_v1.0.cfg │ ├── BTT_EBB36-42_v1.1.cfg │ ├── BTT_EBB36-42_v1.2.cfg │ ├── BTT_SB2209_RP2040_v1.0.cfg │ ├── BTT_SB2209_v1.0.cfg │ ├── BTT_SB2240_v1.0.cfg │ ├── Fysetc_SB_Can_TH_v1.x.cfg │ ├── LDO_Nitehawk-SB_v1.0.cfg │ ├── Mellow_SB2040_Pro.cfg │ ├── Mellow_SB2040_v1.cfg │ ├── Mellow_SB2040_v2.cfg │ ├── Mellow_SHT36-42_v1.x.cfg │ ├── Mellow_SHT36_v2.x.cfg │ └── Mellow_SHT36_v3.x.cfg ├── moonraker.conf ├── overrides.cfg ├── printer.cfg ├── save_variables.cfg └── variables.cfg /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: paypal.me/felixboisselier # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 14 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- 1 | name: "\U0001F41B Bug report" 2 | description: Report a bug or problem with Klippain. 3 | labels: ["bug", "triage"] 4 | 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | This issue form is for reporting bugs only! 10 | If you have a feature request, please use [feature_request](/new?template=feature_request.yml) instead. 11 | - type: checkboxes 12 | id: klippain-branch 13 | attributes: 14 | label: Klippain branch 15 | description: By submitting this issue, you confirm using a "public" release of Klippain from the main branch. We do not provide support for the dev version from other branches as they are known to be unstable. 16 | options: 17 | - label: I confirm using the main branch 18 | required: true 19 | - type: input 20 | id: klippain-version 21 | attributes: 22 | label: Version 23 | description: Specify the version of Klippain used on your printer. You can find this in the update section of Mainsail/Fluidd. 24 | placeholder: ex. v4.0.1-44-g84aba96 25 | validations: 26 | required: true 27 | - type: textarea 28 | id: what-happened 29 | attributes: 30 | label: Describe the bug and expected behavior 31 | description: >- 32 | Provide a clear and concise description of the bug and why it's problematic. 33 | If applicable, suggest a desired solution. 34 | validations: 35 | required: true 36 | - type: textarea 37 | id: additional-info 38 | attributes: 39 | label: Additional information and klippy.log 40 | description: | 41 | If possible, attach a klippy.log to help us diagnose your issue! 42 | You can also provide any additional helpful details. 43 | 44 | Please note, you can attach files or screenshots by dragging and dropping them directly in the field. 45 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Public \#Klippain thread in the Voron Discord 4 | url: https://discord.com/channels/460117602945990666/1096701708643614820 5 | about: Quickest way to get in contact if you just want to have a chat 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- 1 | name: "\U0001F680 Feature request" 2 | description: Suggest a new feature or hardware support for Klippain. 3 | labels: ["enhancement", "triage"] 4 | 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | This issue form is for suggesting features or hardware support only! 10 | If you're facing a bug, please use the [bug_report](/new?template=bug_report.yml) instead. 11 | - type: textarea 12 | id: feature-description 13 | attributes: 14 | label: Describe the feature or hardware support you'd like 15 | description: >- 16 | Provide a clear and detailed description of the feature, mod, macro, or hardware you'd like to see in Klippain. 17 | Also do not hesistate to explain how your suggestion can enhance Klippain and benefit its users. 18 | placeholder: E.g., "I'd love to see support for this XXX new MCU model..." 19 | validations: 20 | required: true 21 | - type: textarea 22 | id: additional-context 23 | attributes: 24 | label: Additional context or information 25 | description: | 26 | If you have any more information, references, or context about your suggestion, please provide it here. 27 | This can include use-cases, diagrams, documentation, links or any other helpful details. 28 | 29 | Please note, you can attach files or screenshots by dragging and dropping them directly in the field. 30 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | # name: Mark and Manage Stale Issues and Pull Requests 2 | 3 | # on: 4 | # schedule: 5 | # - cron: '30 7 * * *' 6 | 7 | # jobs: 8 | # stale: 9 | # runs-on: ubuntu-latest 10 | # permissions: 11 | # issues: write 12 | # pull-requests: write 13 | 14 | # steps: 15 | # - uses: actions/stale@v9.0.0 16 | # with: 17 | # repo-token: ${{ secrets.GITHUB_TOKEN }} 18 | # days-before-stale: 30 19 | # days-before-close: 14 20 | # stale-issue-message: > 21 | # 📌 **This issue has been marked as stale because it has not had activity in the past 30 days.** 22 | 23 | # To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days. 24 | 25 | # Thank you for your contributions! 26 | # stale-pr-message: > 27 | # 📌 **This pull request has been marked as stale because it has not had activity in the past 30 days.** 28 | 29 | # Please update the PR or comment to keep it active. Otherwise, this will be closed in 14 days. 30 | 31 | # We appreciate your contribution! 32 | # stale-issue-label: 'stale' 33 | # stale-pr-label: 'stale, reviewer-needed' 34 | # exempt-issue-labels: 'tracking' 35 | # exempt-pr-labels: 'tracking' 36 | # 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' 37 | # 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.' 38 | # exempt-all-milestones: true 39 | # exempt-all-assignees: true 40 | # exempt-draft-prs: true 41 | -------------------------------------------------------------------------------- /adxl_results/belts/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/adxl_results/belts/.gitkeep -------------------------------------------------------------------------------- /adxl_results/inputshaper/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/adxl_results/inputshaper/.gitkeep -------------------------------------------------------------------------------- /adxl_results/vibrations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/adxl_results/vibrations/.gitkeep -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_BTT_SB22xx.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | spi_software_sclk_pin: toolhead:ADXL_SCLK 7 | spi_software_mosi_pin: toolhead:ADXL_MOSI 8 | spi_software_miso_pin: toolhead:ADXL_MISO 9 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_Fysetc_SB_Can_TH.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | spi_software_sclk_pin: toolhead:ADXL_SCLK 7 | spi_software_mosi_pin: toolhead:ADXL_MOSI 8 | spi_software_miso_pin: toolhead:ADXL_MISO 9 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_Fystec_NIS.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # https://github.com/FYSETC/Nozzle-Input-Shaper 4 | # stm32f042 5 | 6 | # You need to override the following to be able to set the proper serial in your overrides.cfg file 7 | [mcu adxl] 8 | serial: /dev/serial/by-id/xxx 9 | 10 | [adxl345] 11 | cs_pin: NIS:PA4 12 | spi_software_sclk_pin: adxl:PA5 13 | spi_software_mosi_pin: adxl:PA7 14 | spi_software_miso_pin: adxl:PA6 15 | axes_map: x,y,z 16 | 17 | [resonance_tester] 18 | accel_chip: adxl345 19 | probe_points: 20 | -1,-1,-1 21 | 22 | # Include the IS calibration macros to unlock them when 23 | # an accelerometer is installed on the machine 24 | [include ../../../macros/helpers/resonance_override.cfg] 25 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 26 | 27 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_ebb.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | spi_software_sclk_pin: toolhead:ADXL_SCLK 7 | spi_software_mosi_pin: toolhead:ADXL_MOSI 8 | spi_software_miso_pin: toolhead:ADXL_MISO 9 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_nitehawk_sb.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:MCU_ADXL_CS 6 | spi_software_sclk_pin: toolhead:MCU_ADXL_SCK 7 | spi_software_mosi_pin: toolhead:MCU_ADXL_MOSI 8 | spi_software_miso_pin: toolhead:MCU_ADXL_MISO 9 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_rpi.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over the SPI bus of the RaspberryPi 3 | # It is the official and recommended way to get an 4 | # accelerometer connected and used in Klipper 5 | 6 | # Do not forget to also flash the RPi with the Klipper firmware! 7 | 8 | [include ../../mcu_definitions/rpi.cfg] 9 | 10 | 11 | [adxl345] 12 | cs_pin: rpi:None 13 | axes_map: x,y,z 14 | 15 | [resonance_tester] 16 | accel_chip: adxl345 17 | probe_points: 18 | -1,-1,-1 19 | 20 | 21 | # Include the IS calibration macros to unlock them when 22 | # an accelerometer is installed on the machine 23 | [include ../../../macros/helpers/resonance_override.cfg] 24 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 25 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_sb2040.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_software_spi.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | spi_software_sclk_pin: toolhead:ADXL_SCLK 7 | spi_software_mosi_pin: toolhead:ADXL_MOSI 8 | spi_software_miso_pin: toolhead:ADXL_MISO 9 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_sht.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_hardware_spi1.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_sht_v2.x.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_hardware_spi1.cfg] 2 | 3 | # As it's a toolhead ADXL, we add some default pins overrides from here 4 | [adxl345] 5 | cs_pin: toolhead:ADXL_CS 6 | # Supplied config from Mellow is wrong - it states spi1, but at least for a 072 based unit is it on spi2 7 | spi_bus: spi2 8 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_skr.cfg: -------------------------------------------------------------------------------- 1 | [include generics/adxl345_hardware_ssp1.cfg] 2 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_usb.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over USB to the pi as dedicated and standalone ADXL-MCU boards 3 | 4 | # This include KUSBA, ... 5 | 6 | 7 | # You need to override the following to be able to set the proper serial in your overrides.cfg file 8 | [mcu adxl] 9 | serial: /dev/serial/by-id/xxx 10 | 11 | [adxl345] 12 | cs_pin: adxl:gpio1 13 | spi_bus: spi0a 14 | axes_map: x,y,z 15 | 16 | [resonance_tester] 17 | accel_chip: adxl345 18 | probe_points: 19 | -1,-1,-1 20 | 21 | 22 | # Include the IS calibration macros to unlock them when 23 | # an accelerometer is installed on the machine 24 | [include ../../../macros/helpers/resonance_override.cfg] 25 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 26 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_usb_rampon.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over USB to the pi as dedicated and standalone ADXL-MCU boards 3 | 4 | # This include KUSBA, ... 5 | 6 | 7 | # You need to override the following to be able to set the proper serial in your overrides.cfg file 8 | [mcu adxl] 9 | serial: /dev/serial/by-id/xxx 10 | 11 | [adxl345] 12 | cs_pin: adxl:CS 13 | axes_map: x,y,z 14 | 15 | [resonance_tester] 16 | accel_chip: adxl345 17 | probe_points: 18 | -1,-1,-1 19 | 20 | 21 | # Include the IS calibration macros to unlock them when 22 | # an accelerometer is installed on the machine 23 | [include ../../../macros/helpers/resonance_override.cfg] 24 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 25 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with USB RP2040 boards where the ADXL 2 | # is connected to SPI1 3 | 4 | # This include FYSTEC PortableInputShaper, ... 5 | 6 | 7 | # You need to set the proper serial in your overrides.cfg file 8 | [mcu adxl] 9 | serial: /dev/serial/by-id/xxx 10 | 11 | [adxl345] 12 | cs_pin: adxl:gpio13 13 | spi_software_sclk_pin: adxl:gpio10 14 | spi_software_mosi_pin: adxl:gpio11 15 | spi_software_miso_pin: adxl:gpio12 16 | axes_map: x,y,z 17 | # FYSTEC POS: x,-z,y 18 | 19 | [resonance_tester] 20 | accel_chip: adxl345 21 | probe_points: 22 | -1,-1,-1 23 | 24 | 25 | # Include the IS calibration macros to unlock them when 26 | # an accelerometer is installed on the machine 27 | [include ../../../macros/helpers/resonance_override.cfg] 28 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/beacon_accelerometer.cfg: -------------------------------------------------------------------------------- 1 | # Only for Beacon REV H model, REV D does not have a build in accelerometer 2 | # You need to include beacon_virtual.cfg and set the correct serial in your overrides for this to work 3 | # Accelerometer pins etc are all handeled internally by the Beacon Klipper plugin. 4 | [resonance_tester] 5 | accel_chip: beacon 6 | probe_points: 7 | -1,-1,-1 8 | 9 | 10 | # Include the IS calibration macros to unlock them when 11 | # an accelerometer is installed on the machine 12 | [include ../../../macros/helpers/resonance_override.cfg] 13 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 14 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/generics/adxl345_hardware_spi1.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over the SPI bus of the MCU boards on "spi1" 3 | 4 | # This include most Mellow toolhead boards such as SHT boards, ... 5 | # But also Octopus, etc... 6 | 7 | # If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:ADXL_CS) 8 | 9 | 10 | [adxl345] 11 | cs_pin: ADXL_CS 12 | spi_bus: spi1 13 | axes_map: x,y,z 14 | 15 | [resonance_tester] 16 | accel_chip: adxl345 17 | probe_points: 18 | -1,-1,-1 19 | 20 | 21 | # Include the IS calibration macros to unlock them when 22 | # an accelerometer is installed on the machine 23 | [include ../../../../macros/helpers/resonance_override.cfg] 24 | [include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg] 25 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/generics/adxl345_hardware_ssp1.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over the SPI bus of the MCU boards on "ssp1" 3 | 4 | # This include BTT SKRv1.4, ... 5 | 6 | 7 | [adxl345] 8 | cs_pin: ADXL_CS 9 | spi_bus: ssp1 10 | axes_map: x,y,z 11 | 12 | [resonance_tester] 13 | accel_chip: adxl345 14 | probe_points: 15 | -1,-1,-1 16 | 17 | 18 | # Include the IS calibration macros to unlock them when 19 | # an accelerometer is installed on the machine 20 | [include ../../../../macros/helpers/resonance_override.cfg] 21 | [include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg] 22 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/generics/adxl345_software_spi.cfg: -------------------------------------------------------------------------------- 1 | # This ADXL file is dedicated to be used with ADXL boards 2 | # connected over the software SPI bus of the MCU boards 3 | 4 | # This include most BTT toolhead boards such as EBB boards, SB2209, SB2240, 5 | # but also some Mellow boards such as the Fly-SB2040, ... 6 | # If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:ADXL_CS) 7 | 8 | 9 | [adxl345] 10 | cs_pin: ADXL_CS 11 | spi_software_sclk_pin: ADXL_SCLK 12 | spi_software_mosi_pin: ADXL_MOSI 13 | spi_software_miso_pin: ADXL_MISO 14 | axes_map: x,y,z 15 | 16 | [resonance_tester] 17 | accel_chip: adxl345 18 | probe_points: 19 | -1,-1,-1 20 | 21 | 22 | # Include the IS calibration macros to unlock them when 23 | # an accelerometer is installed on the machine 24 | [include ../../../../macros/helpers/resonance_override.cfg] 25 | [include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg] 26 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/generics/lis2dw_software_spi.cfg: -------------------------------------------------------------------------------- 1 | # This LIS2DW file is dedicated to be used with LIS2DW boards 2 | # connected over the software SPI bus of the MCU boards 3 | 4 | # This include toolhead boards such as Mellow SHTv3 boards 5 | # If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:LIS2DW_CS) 6 | 7 | [lis2dw] 8 | cs_pin: LIS2DW_CS 9 | spi_software_sclk_pin: LIS2DW_SCLK 10 | spi_software_mosi_pin: LIS2DW_MOSI 11 | spi_software_miso_pin: LIS2DW_MISO 12 | axes_map: x,y,z 13 | 14 | [resonance_tester] 15 | accel_chip: lis2dw 16 | probe_points: 17 | -1,-1,-1 18 | 19 | 20 | # Include the IS calibration macros to unlock them when 21 | # an accelerometer is installed on the machine 22 | [include ../../../../macros/helpers/resonance_override.cfg] 23 | [include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg] 24 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/lis2dw_sht_v3.x.cfg: -------------------------------------------------------------------------------- 1 | [include generics/lis2dw_software_spi.cfg] 2 | 3 | [lis2dw] 4 | cs_pin: toolhead:LIS2DW 5 | spi_software_sclk_pin: toolhead:SCK 6 | spi_software_mosi_pin: toolhead:MOSI 7 | spi_software_miso_pin: toolhead:MISO 8 | -------------------------------------------------------------------------------- /config/hardware/accelerometers/lis2dw_usb_rp2040_spi1.cfg: -------------------------------------------------------------------------------- 1 | # This LIS2DW file is dedicated to be used with USB RP2040 boards where the LIS2DW 2 | # is connected to SPI1 3 | 4 | # This include BTT S2DW V1.0, ... 5 | 6 | 7 | # You need to set the proper serial in your overrides.cfg file 8 | [mcu lis2dw_mcu] 9 | serial: /dev/serial/by-id/xxx 10 | 11 | [lis2dw] 12 | cs_pin: lis2dw_mcu:gpio9 13 | spi_bus: spi1a 14 | axes_map: x,y,z 15 | 16 | [resonance_tester] 17 | accel_chip: lis2dw 18 | probe_points: 19 | -1,-1,-1 20 | 21 | 22 | # Include the IS calibration macros to unlock them when 23 | # an accelerometer is installed on the machine 24 | [include ../../../macros/helpers/resonance_override.cfg] 25 | [include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] 26 | -------------------------------------------------------------------------------- /config/hardware/axis/X/0.9deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 400 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/X/1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/X/TMC/TMC2209.cfg: -------------------------------------------------------------------------------- 1 | # X TMC2209 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_x_driver: "tmc2209" 5 | gcode: 6 | 7 | [tmc2209 stepper_x] 8 | uart_pin: X_TMCUART 9 | interpolate: True 10 | run_current: 0.8 11 | sense_resistor: 0.110 12 | stealthchop_threshold: 0 13 | -------------------------------------------------------------------------------- /config/hardware/axis/X/TMC/TMC2209_V0specific.cfg: -------------------------------------------------------------------------------- 1 | # X TMC2209 definition with some custom TMC parameters to reduce the 2 | # VFAs (Vertical Fine Artifacts) produced by the first V0 LDO motors kit 3 | 4 | 5 | # Including first the default X TMC2209 file 6 | [include TMC2209.cfg] 7 | 8 | # Then applying overrides for specific V0 parameters from LDO 9 | [tmc2209 stepper_x] 10 | run_current: 0.7 11 | # stealthchop_threshold: 999999 12 | driver_TBL: 2 13 | driver_TOFF: 2 14 | driver_HEND: 1 15 | driver_HSTRT: 4 16 | driver_PWM_LIM: 8 17 | driver_PWM_GRAD: 8 18 | driver_PWM_FREQ: 1 19 | driver_PWM_REG: 4 20 | -------------------------------------------------------------------------------- /config/hardware/axis/X/TMC/TMC2240.cfg: -------------------------------------------------------------------------------- 1 | # X TMC2240 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_x_driver: "tmc2240" 5 | gcode: 6 | 7 | [tmc2240 stepper_x] 8 | cs_pin: X_TMCUART 9 | spi_speed: 500000 10 | spi_software_sclk_pin: DRIVER_SPI_SCK 11 | spi_software_mosi_pin: DRIVER_SPI_MOSI 12 | spi_software_miso_pin: DRIVER_SPI_MISO 13 | interpolate: True 14 | run_current: 0.7 15 | stealthchop_threshold: 0 16 | -------------------------------------------------------------------------------- /config/hardware/axis/X/TMC/TMC5160.cfg: -------------------------------------------------------------------------------- 1 | # X TMC5160 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_x_driver: "tmc5160" 5 | gcode: 6 | 7 | [tmc5160 stepper_x] 8 | cs_pin: X_TMCUART 9 | spi_software_sclk_pin: DRIVER_SPI_SCK 10 | spi_software_mosi_pin: DRIVER_SPI_MOSI 11 | spi_software_miso_pin: DRIVER_SPI_MISO 12 | interpolate: True 13 | run_current: 0.8 14 | sense_resistor: 0.075 15 | stealthchop_threshold: 0 16 | -------------------------------------------------------------------------------- /config/hardware/axis/X/default_speed.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | homing_speed: 60 3 | homing_retract_dist: 0 4 | -------------------------------------------------------------------------------- /config/hardware/axis/X/default_wiring.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | step_pin: X_STEP 3 | dir_pin: X_DIR 4 | enable_pin: !X_ENABLE 5 | endstop_pin: X_STOP 6 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/0.9deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_y] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 400 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_y] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/TMC/TMC2209.cfg: -------------------------------------------------------------------------------- 1 | # Y TMC2209 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_y_driver: "tmc2209" 5 | gcode: 6 | 7 | [tmc2209 stepper_y] 8 | uart_pin: Y_TMCUART 9 | interpolate: True 10 | run_current: 0.8 11 | sense_resistor: 0.110 12 | stealthchop_threshold: 0 13 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/TMC/TMC2209_V0specific.cfg: -------------------------------------------------------------------------------- 1 | # Y TMC2209 definition with some custom TMC parameters to reduce the 2 | # VFAs (Vertical Fine Artifacts) produced by the first V0 LDO motors kit 3 | 4 | 5 | # Including first the default Y TMC2209 file 6 | [include TMC2209.cfg] 7 | 8 | # Then applying overrides for specific V0 parameters from LDO 9 | [tmc2209 stepper_y] 10 | run_current: 0.7 11 | # stealthchop_threshold: 999999 12 | driver_TBL: 2 13 | driver_TOFF: 2 14 | driver_HEND: 1 15 | driver_HSTRT: 4 16 | driver_PWM_LIM: 8 17 | driver_PWM_GRAD: 8 18 | driver_PWM_FREQ: 1 19 | driver_PWM_REG: 4 20 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/TMC/TMC2240.cfg: -------------------------------------------------------------------------------- 1 | # Y TMC2240 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_y_driver: "tmc2240" 5 | gcode: 6 | 7 | [tmc2240 stepper_y] 8 | cs_pin: Y_TMCUART 9 | spi_speed: 500000 10 | spi_software_sclk_pin: DRIVER_SPI_SCK 11 | spi_software_mosi_pin: DRIVER_SPI_MOSI 12 | spi_software_miso_pin: DRIVER_SPI_MISO 13 | interpolate: True 14 | run_current: 0.7 15 | stealthchop_threshold: 0 16 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/TMC/TMC5160.cfg: -------------------------------------------------------------------------------- 1 | # Y TMC5160 definition 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_y_driver: "tmc5160" 5 | gcode: 6 | 7 | [tmc5160 stepper_y] 8 | cs_pin: Y_TMCUART 9 | spi_software_sclk_pin: DRIVER_SPI_SCK 10 | spi_software_mosi_pin: DRIVER_SPI_MOSI 11 | spi_software_miso_pin: DRIVER_SPI_MISO 12 | interpolate: True 13 | run_current: 0.8 14 | sense_resistor: 0.075 15 | stealthchop_threshold: 0 16 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/default_speed.cfg: -------------------------------------------------------------------------------- 1 | [stepper_y] 2 | homing_speed: 60 3 | homing_retract_dist: 0 4 | -------------------------------------------------------------------------------- /config/hardware/axis/Y/default_wiring.cfg: -------------------------------------------------------------------------------- 1 | [stepper_y] 2 | step_pin: Y_STEP 3 | dir_pin: Y_DIR 4 | enable_pin: !Y_ENABLE 5 | endstop_pin: Y_STOP 6 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2209_1-Motor.cfg: -------------------------------------------------------------------------------- 1 | # Z TMC2209 definition 2 | 3 | # User variable only needed here as they are called recursively 4 | [gcode_macro _USER_VARIABLES] 5 | variable_z_driver: "tmc2209" 6 | gcode: 7 | 8 | 9 | [tmc2209 stepper_z] 10 | uart_pin: Z_TMCUART 11 | interpolate: True 12 | run_current: 0.8 13 | sense_resistor: 0.110 14 | stealthchop_threshold: 0 15 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2209_3-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC2209_1-Motor.cfg] 2 | 3 | [tmc2209 stepper_z1] 4 | uart_pin: Z1_TMCUART 5 | interpolate: True 6 | run_current: 0.8 7 | sense_resistor: 0.110 8 | stealthchop_threshold: 0 9 | 10 | [tmc2209 stepper_z2] 11 | uart_pin: Z2_TMCUART 12 | interpolate: True 13 | run_current: 0.8 14 | sense_resistor: 0.110 15 | stealthchop_threshold: 0 16 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2209_4-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC2209_3-Motors.cfg] 2 | 3 | [tmc2209 stepper_z3] 4 | uart_pin: Z3_TMCUART 5 | interpolate: True 6 | run_current: 0.8 7 | sense_resistor: 0.110 8 | stealthchop_threshold: 0 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2240_1-Motor.cfg: -------------------------------------------------------------------------------- 1 | # Z TMC2240 definition 2 | 3 | # User variable only needed here as they are called recursively 4 | [gcode_macro _USER_VARIABLES] 5 | variable_z_driver: "tmc2240" 6 | gcode: 7 | 8 | 9 | [tmc2240 stepper_z] 10 | cs_pin: Z_TMCUART 11 | spi_speed: 500000 12 | spi_software_sclk_pin: DRIVER_SPI_SCK 13 | spi_software_mosi_pin: DRIVER_SPI_MOSI 14 | spi_software_miso_pin: DRIVER_SPI_MISO 15 | interpolate: True 16 | run_current: 0.7 17 | stealthchop_threshold: 0 18 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2240_3-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC2240_1-Motor.cfg] 2 | 3 | [tmc2240 stepper_z1] 4 | cs_pin: Z1_TMCUART 5 | spi_speed: 500000 6 | spi_software_sclk_pin: DRIVER_SPI_SCK 7 | spi_software_mosi_pin: DRIVER_SPI_MOSI 8 | spi_software_miso_pin: DRIVER_SPI_MISO 9 | interpolate: True 10 | run_current: 0.7 11 | stealthchop_threshold: 0 12 | 13 | [tmc2240 stepper_z2] 14 | cs_pin: Z2_TMCUART 15 | spi_speed: 500000 16 | spi_software_sclk_pin: DRIVER_SPI_SCK 17 | spi_software_mosi_pin: DRIVER_SPI_MOSI 18 | spi_software_miso_pin: DRIVER_SPI_MISO 19 | interpolate: True 20 | run_current: 0.7 21 | stealthchop_threshold: 0 22 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC2240_4-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC2240_3-Motors.cfg] 2 | 3 | [tmc2240 stepper_z3] 4 | cs_pin: Z3_TMCUART 5 | spi_speed: 500000 6 | spi_software_sclk_pin: DRIVER_SPI_SCK 7 | spi_software_mosi_pin: DRIVER_SPI_MOSI 8 | spi_software_miso_pin: DRIVER_SPI_MISO 9 | interpolate: True 10 | run_current: 0.7 11 | stealthchop_threshold: 0 12 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC5160_1-Motor.cfg: -------------------------------------------------------------------------------- 1 | # Z TMC5160 definition 2 | 3 | # User variable only needed here as they are called recursively 4 | [gcode_macro _USER_VARIABLES] 5 | variable_z_driver: "tmc5160" 6 | gcode: 7 | 8 | 9 | [tmc5160 stepper_z] 10 | cs_pin: Z_TMCUART 11 | spi_speed: 500000 12 | spi_software_sclk_pin: DRIVER_SPI_SCK 13 | spi_software_mosi_pin: DRIVER_SPI_MOSI 14 | spi_software_miso_pin: DRIVER_SPI_MISO 15 | interpolate: True 16 | run_current: 0.8 17 | sense_resistor: 0.075 18 | stealthchop_threshold: 0 -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC5160_3-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC5160_1-Motor.cfg] 2 | 3 | [tmc5160 stepper_z1] 4 | cs_pin: Z1_TMCUART 5 | spi_speed: 500000 6 | spi_software_sclk_pin: DRIVER_SPI_SCK 7 | spi_software_mosi_pin: DRIVER_SPI_MOSI 8 | spi_software_miso_pin: DRIVER_SPI_MISO 9 | interpolate: True 10 | run_current: 0.8 11 | sense_resistor: 0.075 12 | stealthchop_threshold: 0 13 | 14 | [tmc5160 stepper_z2] 15 | cs_pin: Z2_TMCUART 16 | spi_speed: 500000 17 | spi_software_sclk_pin: DRIVER_SPI_SCK 18 | spi_software_mosi_pin: DRIVER_SPI_MOSI 19 | spi_software_miso_pin: DRIVER_SPI_MISO 20 | interpolate: True 21 | run_current: 0.8 22 | sense_resistor: 0.075 23 | stealthchop_threshold: 0 -------------------------------------------------------------------------------- /config/hardware/axis/Z/TMC/TMC5160_4-Motors.cfg: -------------------------------------------------------------------------------- 1 | [include TMC5160_3-Motors.cfg] 2 | 3 | [tmc5160 stepper_z3] 4 | cs_pin: Z3_TMCUART 5 | spi_speed: 500000 6 | spi_software_sclk_pin: DRIVER_SPI_SCK 7 | spi_software_mosi_pin: DRIVER_SPI_MOSI 8 | spi_software_miso_pin: DRIVER_SPI_MISO 9 | interpolate: True 10 | run_current: 0.8 11 | sense_resistor: 0.075 12 | stealthchop_threshold: 0 -------------------------------------------------------------------------------- /config/hardware/axis/Z/TriZero_0.9deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 32 3 | microsteps: 32 4 | full_steps_per_rotation: 400 5 | 6 | [stepper_z1] 7 | rotation_distance: 32 8 | microsteps: 32 9 | full_steps_per_rotation: 400 10 | 11 | [stepper_z2] 12 | rotation_distance: 32 13 | microsteps: 32 14 | full_steps_per_rotation: 400 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/TriZero_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 32 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | [stepper_z1] 7 | rotation_distance: 32 8 | microsteps: 32 9 | full_steps_per_rotation: 200 10 | 11 | [stepper_z2] 12 | rotation_distance: 32 13 | microsteps: 32 14 | full_steps_per_rotation: 200 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/Trident_TR8x2_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 2 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | [stepper_z1] 7 | rotation_distance: 2 8 | microsteps: 32 9 | full_steps_per_rotation: 200 10 | 11 | [stepper_z2] 12 | rotation_distance: 2 13 | microsteps: 32 14 | full_steps_per_rotation: 200 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/Trident_TR8x4_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 4 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | [stepper_z1] 7 | rotation_distance: 4 8 | microsteps: 32 9 | full_steps_per_rotation: 200 10 | 11 | [stepper_z2] 12 | rotation_distance: 4 13 | microsteps: 32 14 | full_steps_per_rotation: 200 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/Trident_TR8x8_0.9deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 8 3 | microsteps: 32 4 | full_steps_per_rotation: 400 5 | 6 | [stepper_z1] 7 | rotation_distance: 8 8 | microsteps: 32 9 | full_steps_per_rotation: 400 10 | 11 | [stepper_z2] 12 | rotation_distance: 8 13 | microsteps: 32 14 | full_steps_per_rotation: 400 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/Trident_TR8x8_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 8 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | [stepper_z1] 7 | rotation_distance: 8 8 | microsteps: 32 9 | full_steps_per_rotation: 200 10 | 11 | [stepper_z2] 12 | rotation_distance: 8 13 | microsteps: 32 14 | full_steps_per_rotation: 200 15 | 16 | # We also include the default wiring and speeds from here to avoid duplicating 17 | [include default_wiring_3M.cfg] 18 | [include default_speed.cfg] 19 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/V0_TR8x4_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 4 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring_1M.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/V0_TR8x8_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 8 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring_1M.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/V2.4_galileo2Z_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 40 3 | gear_ratio: 9:1 4 | microsteps: 32 5 | full_steps_per_rotation: 200 6 | 7 | [stepper_z1] 8 | rotation_distance: 40 9 | gear_ratio: 9:1 10 | microsteps: 32 11 | full_steps_per_rotation: 200 12 | 13 | [stepper_z2] 14 | rotation_distance: 40 15 | gear_ratio: 9:1 16 | microsteps: 32 17 | full_steps_per_rotation: 200 18 | 19 | [stepper_z3] 20 | rotation_distance: 40 21 | gear_ratio: 9:1 22 | microsteps: 32 23 | full_steps_per_rotation: 200 24 | 25 | # We also include the default wiring and speeds from here to avoid duplicating 26 | [include default_wiring_4M.cfg] 27 | [include default_speed.cfg] 28 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/V2.4_galileoZ_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 40 3 | gear_ratio: 6:1 4 | microsteps: 32 5 | full_steps_per_rotation: 200 6 | 7 | [stepper_z1] 8 | rotation_distance: 40 9 | gear_ratio: 6:1 10 | microsteps: 32 11 | full_steps_per_rotation: 200 12 | 13 | [stepper_z2] 14 | rotation_distance: 40 15 | gear_ratio: 6:1 16 | microsteps: 32 17 | full_steps_per_rotation: 200 18 | 19 | [stepper_z3] 20 | rotation_distance: 40 21 | gear_ratio: 6:1 22 | microsteps: 32 23 | full_steps_per_rotation: 200 24 | 25 | # We also include the default wiring and speeds from here to avoid duplicating 26 | [include default_wiring_4M.cfg] 27 | [include default_speed.cfg] 28 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/V2.4_stock_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 40 3 | gear_ratio: 80:16 4 | microsteps: 32 5 | full_steps_per_rotation: 200 6 | 7 | [stepper_z1] 8 | rotation_distance: 40 9 | gear_ratio: 80:16 10 | microsteps: 32 11 | full_steps_per_rotation: 200 12 | 13 | [stepper_z2] 14 | rotation_distance: 40 15 | gear_ratio: 80:16 16 | microsteps: 32 17 | full_steps_per_rotation: 200 18 | 19 | [stepper_z3] 20 | rotation_distance: 40 21 | gear_ratio: 80:16 22 | microsteps: 32 23 | full_steps_per_rotation: 200 24 | 25 | # We also include the default wiring and speeds from here to avoid duplicating 26 | [include default_wiring_4M.cfg] 27 | [include default_speed.cfg] 28 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/VSW_0.9deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 400 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring_1M.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/VSW_1.8deg.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | rotation_distance: 40 3 | microsteps: 32 4 | full_steps_per_rotation: 200 5 | 6 | # We also include the default wiring and speeds from here to avoid duplicating 7 | [include default_wiring_1M.cfg] 8 | [include default_speed.cfg] 9 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/default_speed.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | homing_speed: 15 3 | second_homing_speed: 8 4 | homing_retract_dist: 3.0 5 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/default_wiring_1M.cfg: -------------------------------------------------------------------------------- 1 | [stepper_z] 2 | step_pin: Z_STEP 3 | dir_pin: Z_DIR 4 | enable_pin: !Z_ENABLE 5 | endstop_pin: Z_STOP 6 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/default_wiring_3M.cfg: -------------------------------------------------------------------------------- 1 | # In this file we include the first motor 2 | [include default_wiring_1M.cfg] 3 | 4 | # And then, add a 2nd and 3rd motor... 5 | [stepper_z1] 6 | step_pin: Z1_STEP 7 | dir_pin: Z1_DIR 8 | enable_pin: !Z1_ENABLE 9 | 10 | [stepper_z2] 11 | step_pin: Z2_STEP 12 | dir_pin: Z2_DIR 13 | enable_pin: !Z2_ENABLE 14 | -------------------------------------------------------------------------------- /config/hardware/axis/Z/default_wiring_4M.cfg: -------------------------------------------------------------------------------- 1 | # In this file we include the first 3 motors 2 | [include default_wiring_3M.cfg] 3 | 4 | # And then, add a 4th motor... 5 | [stepper_z3] 6 | step_pin: Z3_STEP 7 | dir_pin: Z3_DIR 8 | enable_pin: !Z3_ENABLE 9 | -------------------------------------------------------------------------------- /config/hardware/axis/size/120mm.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | position_min: 0 3 | position_endstop: 120 4 | position_max: 120 5 | 6 | [stepper_y] 7 | position_min: 0 8 | position_endstop: 120 9 | position_max: 120 10 | 11 | [stepper_z] 12 | position_max: 120 13 | position_min: -5 14 | -------------------------------------------------------------------------------- /config/hardware/axis/size/180mm.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | position_min: 0 3 | position_endstop: 180 4 | position_max: 180 5 | 6 | [stepper_y] 7 | position_min: 0 8 | position_endstop: 180 9 | position_max: 180 10 | 11 | [stepper_z] 12 | position_max: 165 13 | position_min: -5 14 | -------------------------------------------------------------------------------- /config/hardware/axis/size/250mm.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | position_min: 0 3 | position_endstop: 250 4 | position_max: 250 5 | 6 | [stepper_y] 7 | position_min: 0 8 | position_endstop: 250 9 | position_max: 250 10 | 11 | [stepper_z] 12 | position_max: 210 13 | position_min: -5 14 | -------------------------------------------------------------------------------- /config/hardware/axis/size/300mm.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | position_min: 0 3 | position_endstop: 300 4 | position_max: 300 5 | 6 | [stepper_y] 7 | position_min: 0 8 | position_endstop: 300 9 | position_max: 300 10 | 11 | [stepper_z] 12 | position_max: 260 13 | position_min: -5 14 | -------------------------------------------------------------------------------- /config/hardware/axis/size/350mm.cfg: -------------------------------------------------------------------------------- 1 | [stepper_x] 2 | position_min: 0 3 | position_max: 350 4 | position_endstop: 350 5 | 6 | [stepper_y] 7 | position_min: 0 8 | position_max: 350 9 | position_endstop: 350 10 | 11 | [stepper_z] 12 | position_max: 310 13 | position_min: -5 14 | -------------------------------------------------------------------------------- /config/hardware/axis/size/VSW_MK52.cfg: -------------------------------------------------------------------------------- 1 | # NOTE: Safe Printing Area of a Prusa Mk52 bed is 2 | # 250mm x 210mm at its most conservative, however 3 | # the endstop for a Voron Switchwire is located at 4 | # max Y (aka 240mm) in its stock configuration. 5 | 6 | [stepper_x] 7 | position_min: 0 8 | position_endstop: 250 9 | position_max: 250 10 | 11 | [stepper_y] 12 | position_min: 0 13 | position_endstop: 240 14 | position_max: 240 15 | 16 | [stepper_z] 17 | position_max: 235 18 | position_min: -3.0 19 | -------------------------------------------------------------------------------- /config/hardware/bed_heaters/creality.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_heaterbed_enabled: True 3 | gcode: 4 | 5 | 6 | [heater_bed] 7 | heater_pin: BED_HEATER 8 | sensor_type: EPCOS 100K B57560G104F 9 | sensor_pin: BED_TEMPERATURE 10 | max_power: 1 11 | min_temp: 0 12 | max_temp: 150 13 | 14 | # We also include the "no wait too much for temperature" patch 15 | [include ../../../macros/helpers/bed_heater_ctrl.cfg] 16 | -------------------------------------------------------------------------------- /config/hardware/bed_heaters/keenovo.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_heaterbed_enabled: True 3 | gcode: 4 | 5 | 6 | [heater_bed] 7 | heater_pin: BED_HEATER 8 | sensor_type: NTC 100K MGB18-104F39050L32 9 | sensor_pin: BED_TEMPERATURE 10 | max_power: 1 11 | min_temp: 0 12 | max_temp: 120 13 | 14 | # We also include the "no wait too much for temperature" patch 15 | [include ../../../macros/helpers/bed_heater_ctrl.cfg] 16 | -------------------------------------------------------------------------------- /config/hardware/displays/BTT_mini12864.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the BTT mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = True 5 | variable_status_leds_minidisplay_led_name: "btt_mini12864" 6 | variable_status_leds_minidisplay_idx: '1,2' 7 | 8 | gcode: 9 | 10 | # Also include directly the leds control macros from here 11 | [include ../../../macros/hardware_functions/status_leds.cfg] 12 | # Include adaptations to the menus 13 | [include ../../../config/software/display/display.cfg] 14 | 15 | [display] 16 | lcd_type: uc1701 17 | cs_pin: EXP1_3 18 | a0_pin: EXP1_4 19 | rst_pin: EXP1_5 20 | encoder_pins: ^EXP2_5, ^EXP2_3 21 | click_pin: ^!EXP1_2 22 | ## Some micro-controller boards may require an spi bus to be specified: 23 | #spi_bus: spi 24 | ## Alternatively, some micro-controller boards may work with software spi: 25 | contrast: 63 26 | spi_software_miso_pin: EXP2_1 27 | spi_software_mosi_pin: EXP2_6 28 | spi_software_sclk_pin: EXP2_2 29 | 30 | [pwm_cycle_time beeper] 31 | pin: EXP1_1 32 | 33 | [neopixel btt_mini12864] 34 | # To control Neopixel RGB in mini12864 display 35 | pin: EXP1_6 36 | chain_count: 3 37 | initial_RED: 0.1 38 | initial_GREEN: 0.5 39 | initial_BLUE: 0.0 40 | color_order: RGB 41 | 42 | # Set RGB values on boot up for each Neopixel. 43 | # Index 3 = display, Index 1 and 2 = Knob 44 | [delayed_gcode setdisplayneopixel] 45 | initial_duration: 1 46 | gcode: 47 | SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0 48 | SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 49 | SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=3 50 | -------------------------------------------------------------------------------- /config/hardware/displays/BTT_mini12864_inversed.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the BTT mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = True 5 | variable_status_leds_minidisplay_led_name: "btt_mini12864" 6 | variable_status_leds_minidisplay_idx: '1,2' 7 | 8 | gcode: 9 | 10 | # Also include directly the leds control macros from here 11 | [include ../../../macros/hardware_functions/status_leds.cfg] 12 | # Include adaptations to the menus 13 | [include ../../../config/software/display/display.cfg] 14 | 15 | [display] 16 | lcd_type: uc1701 17 | cs_pin: EXP1_8 18 | a0_pin: EXP1_7 19 | rst_pin: EXP1_6 20 | encoder_pins: ^EXP2_6, ^EXP2_8 21 | click_pin: ^!EXP1_9 22 | ## Some micro-controller boards may require an spi bus to be specified: 23 | #spi_bus: spi 24 | ## Alternatively, some micro-controller boards may work with software spi: 25 | contrast: 63 26 | spi_software_miso_pin: EXP2_10 27 | spi_software_mosi_pin: EXP2_5 28 | spi_software_sclk_pin: EXP2_9 29 | 30 | [pwm_cycle_time beeper] 31 | pin: EXP1_10 32 | 33 | [neopixel btt_mini12864] 34 | # To control Neopixel RGB in mini12864 display 35 | pin: EXP1_5 36 | chain_count: 3 37 | initial_RED: 0.1 38 | initial_GREEN: 0.5 39 | initial_BLUE: 0.0 40 | color_order: RGB 41 | 42 | # Set RGB values on boot up for each Neopixel. 43 | # Index 3 = display, Index 1 and 2 = Knob 44 | [delayed_gcode setdisplayneopixel] 45 | initial_duration: 1 46 | gcode: 47 | SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0 48 | SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 49 | SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=3 50 | -------------------------------------------------------------------------------- /config/hardware/displays/Fysetc_mini12864.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the Fysetc mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = True 5 | variable_status_leds_minidisplay_led_name: "fysetc_mini12864" 6 | variable_status_leds_minidisplay_idx: '2,3' 7 | 8 | gcode: 9 | 10 | # Also include directly the leds control macros from here 11 | [include ../../../macros/hardware_functions/status_leds.cfg] 12 | # Include adaptations to the menus 13 | [include ../../../config/software/display/display.cfg] 14 | 15 | [display] 16 | lcd_type: uc1701 17 | cs_pin: EXP1_8 18 | a0_pin: EXP1_7 19 | rst_pin: EXP1_6 20 | encoder_pins: ^EXP2_8, ^EXP2_6 21 | click_pin: ^!EXP1_9 22 | ## Some micro-controller boards may require an spi bus to be specified: 23 | #spi_bus: spi 24 | ## Alternatively, some micro-controller boards may work with software spi: 25 | contrast: 63 26 | spi_software_miso_pin: EXP2_10 27 | spi_software_mosi_pin: EXP2_5 28 | spi_software_sclk_pin: EXP2_9 29 | 30 | [pwm_cycle_time beeper] 31 | pin: EXP1_10 32 | 33 | [neopixel fysetc_mini12864] 34 | # To control Neopixel RGB in mini12864 display 35 | pin: EXP1_5 36 | chain_count: 3 37 | initial_RED: 0.1 38 | initial_GREEN: 0.5 39 | initial_BLUE: 0.0 40 | color_order: RGB 41 | 42 | # Set RGB values on boot up for each Neopixel. 43 | # Index 1 = display, Index 2 and 3 = Knob 44 | [delayed_gcode setdisplayneopixel] 45 | initial_duration: 1 46 | gcode: 47 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0 48 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 49 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 50 | -------------------------------------------------------------------------------- /config/hardware/displays/Fysetc_mini12864_inversed.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the Fysetc mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = True 5 | variable_status_leds_minidisplay_led_name: "fysetc_mini12864" 6 | variable_status_leds_minidisplay_idx: '2,3' 7 | 8 | gcode: 9 | 10 | # Also include directly the leds control macros from here 11 | [include ../../../macros/hardware_functions/status_leds.cfg] 12 | # Include adaptations to the menus 13 | [include ../../../config/software/display/display.cfg] 14 | 15 | [display] 16 | lcd_type: uc1701 17 | cs_pin: EXP1_3 18 | a0_pin: EXP1_4 19 | rst_pin: EXP1_5 20 | encoder_pins: ^EXP2_3, ^EXP2_5 21 | click_pin: ^!EXP1_2 22 | ## Some micro-controller boards may require an spi bus to be specified: 23 | #spi_bus: spi 24 | ## Alternatively, some micro-controller boards may work with software spi: 25 | contrast: 63 26 | spi_software_miso_pin: EXP2_1 27 | spi_software_mosi_pin: EXP2_6 28 | spi_software_sclk_pin: EXP2_2 29 | 30 | [pwm_cycle_time beeper] 31 | pin: EXP1_1 32 | 33 | [neopixel fysetc_mini12864] 34 | # To control Neopixel RGB in mini12864 display 35 | pin: EXP1_6 36 | chain_count: 3 37 | initial_RED: 0.1 38 | initial_GREEN: 0.5 39 | initial_BLUE: 0.0 40 | color_order: RGB 41 | 42 | # Set RGB values on boot up for each Neopixel. 43 | # Index 1 = display, Index 2 and 3 = Knob 44 | [delayed_gcode setdisplayneopixel] 45 | initial_duration: 1 46 | gcode: 47 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0 48 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 49 | SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 50 | -------------------------------------------------------------------------------- /config/hardware/displays/Fysetc_mini12864_v1.2_v2.0.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the Fysetc mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = False 5 | variable_status_leds_minidisplay_led_name: "fysetc_mini12864" 6 | gcode: 7 | 8 | # Also include directly the leds control macros from here 9 | [include ../../../macros/hardware_functions/status_leds.cfg] 10 | 11 | 12 | [display] 13 | lcd_type: uc1701 14 | cs_pin: EXP1_8 15 | a0_pin: EXP1_7 16 | rst_pin: EXP1_6 17 | encoder_pins: ^EXP2_8, ^EXP2_6 18 | click_pin: ^!EXP1_9 19 | ## Some micro-controller boards may require an spi bus to be specified: 20 | #spi_bus: spi 21 | ## Alternatively, some micro-controller boards may work with software spi: 22 | contrast: 63 23 | spi_software_miso_pin: EXP2_10 24 | spi_software_mosi_pin: EXP2_5 25 | spi_software_sclk_pin: EXP2_9 26 | 27 | [pwm_cycle_time beeper] 28 | pin: EXP1_10 29 | 30 | [led fysetc_mini12864] 31 | red_pin: EXP1_5 32 | green_pin: EXP1_4 33 | blue_pin: EXP1_3 34 | initial_RED: 0.1 35 | initial_GREEN: 0.5 36 | initial_BLUE: 0.0 -------------------------------------------------------------------------------- /config/hardware/displays/Fysetc_mini12864_v1.2_v2.0_inversed.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the Fysetc mini12864 display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = False 5 | variable_status_leds_minidisplay_led_name: "fysetc_mini12864" 6 | gcode: 7 | 8 | # Also include directly the leds control macros from here 9 | [include ../../../macros/hardware_functions/status_leds.cfg] 10 | 11 | 12 | [display] 13 | lcd_type: uc1701 14 | cs_pin: EXP1_3 15 | a0_pin: EXP1_4 16 | rst_pin: EXP1_5 17 | encoder_pins: ^EXP2_3, ^EXP2_5 18 | click_pin: ^!EXP1_2 19 | ## Some micro-controller boards may require an spi bus to be specified: 20 | #spi_bus: spi 21 | ## Alternatively, some micro-controller boards may work with software spi: 22 | contrast: 63 23 | spi_software_miso_pin: EXP2_1 24 | spi_software_mosi_pin: EXP2_6 25 | spi_software_sclk_pin: EXP2_2 26 | 27 | [pwm_cycle_time beeper] 28 | pin: EXP1_1 29 | 30 | [led fysetc_mini12864] 31 | red_pin: EXP1_6 32 | green_pin: EXP1_7 33 | blue_pin: EXP1_8 34 | initial_RED: 0.1 35 | initial_GREEN: 0.5 36 | initial_BLUE: 0.0 -------------------------------------------------------------------------------- /config/hardware/displays/V0_display.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds integrated in the V0 Display 2 | [gcode_macro _USER_VARIABLES] 3 | variable_status_leds_minidisplay_enabled = True 4 | variable_status_leds_minidisplay_knob_only = False 5 | variable_status_leds_minidisplay_led_name: "v0_displaystatus" 6 | 7 | gcode: 8 | 9 | # Also include directly the leds control macros from here 10 | [include ../../../macros/hardware_functions/status_leds.cfg] 11 | # Include adaptations to the menus 12 | [include ../../../config/software/display/display.cfg] 13 | 14 | # You need to set the proper serial in your overrides.cfg file 15 | [mcu v0_display] 16 | #serial: my-v0-display-serial 17 | restart_method: command 18 | 19 | [display] 20 | lcd_type: sh1106 21 | i2c_mcu: v0_display 22 | i2c_bus: i2c1a 23 | # Set the direction of the encoder wheel 24 | # Standard: Right (clockwise) scrolls down or increases values. Left (counter-clockwise scrolls up or decreases values. 25 | encoder_pins: ^v0_display:PA3, ^v0_display:PA4 26 | # Reversed: Right (clockwise) scrolls up or decreases values. Left (counter-clockwise scrolls down or increases values. 27 | #encoder_pins: ^v0_display:PA4, ^v0_display:PA3 28 | click_pin: ^!v0_display:PA1 29 | kill_pin: ^!v0_display:PA5 30 | #x_offset: 2 31 | # Use X offset to shift the display towards the right. Value can be 0 to 3 32 | #vcomh: 0 33 | # Set the Vcomh value on SSD1306/SH1106 displays. This value is 34 | # associated with a "smearing" effect on some OLED displays. The 35 | # value may range from 0 to 63. Default is 0. 36 | # Adjust this value if you get some vertical stripes on your display. (31 seems to be a good value) 37 | 38 | [neopixel v0_displaystatus] 39 | pin: v0_display:PA0 40 | chain_count: 1 41 | # Can be GRBW depending on the manufacturer of the display 42 | color_order: GRB 43 | initial_RED: 0.1 44 | initial_GREEN: 0.5 45 | initial_BLUE: 0.0 46 | 47 | # Set RGB values on boot up for each Neopixel. 48 | # Index 1 = display, Index 2 and 3 = Knob 49 | [delayed_gcode setdisplayneopixel] 50 | initial_duration: 1 51 | gcode: 52 | SET_LED LED=v0_displaystatus RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0 53 | -------------------------------------------------------------------------------- /config/hardware/ercf.cfg: -------------------------------------------------------------------------------- 1 | ## DEPRECATED! 2 | ## Please use the mmu.cfg file instead 3 | 4 | 5 | ## Enraged Rabbit Carrot Feeder config file 6 | ## Designed to be used with Ercf Software V3 "Happy Hare" (HH) by moggieuk: https://github.com/moggieuk/ERCF-Software-V3 7 | 8 | [gcode_macro _USER_VARIABLES] 9 | variable_klippain_ercf_enabled: True 10 | gcode: 11 | -------------------------------------------------------------------------------- /config/hardware/extruder/TMC/TMC2209.cfg: -------------------------------------------------------------------------------- 1 | # Extruder TMC2209 definition 2 | [gcode_macro _USER_VARIABLES] 3 | variable_e_driver: "tmc2209" 4 | gcode: 5 | 6 | 7 | [tmc2209 extruder] 8 | uart_pin: E_TMCUART 9 | interpolate: True 10 | run_current: 0.45 11 | sense_resistor: 0.110 12 | stealthchop_threshold: 0 13 | -------------------------------------------------------------------------------- /config/hardware/extruder/TMC/TMC2240.cfg: -------------------------------------------------------------------------------- 1 | # Extruder TMC2240 definition 2 | [gcode_macro _USER_VARIABLES] 3 | variable_e_driver: "tmc2240" 4 | gcode: 5 | 6 | [tmc2240 extruder] 7 | cs_pin: E_TMCUART 8 | spi_speed: 500000 9 | spi_software_sclk_pin: DRIVER_SPI_SCK 10 | spi_software_mosi_pin: DRIVER_SPI_MOSI 11 | spi_software_miso_pin: DRIVER_SPI_MISO 12 | run_current: 0.6 13 | stealthchop_threshold: 0 14 | spi_speed: 500000 15 | interpolate: True 16 | -------------------------------------------------------------------------------- /config/hardware/extruder/cw1.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # BMG Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 22.6789511 10 | gear_ratio: 50:17 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] -------------------------------------------------------------------------------- /config/hardware/extruder/cw2.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # BMG Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 22.6789511 10 | gear_ratio: 50:10 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/default_wiring.cfg: -------------------------------------------------------------------------------- 1 | [extruder] 2 | step_pin: E_STEP 3 | dir_pin: E_DIR 4 | enable_pin: !E_ENABLE 5 | heater_pin: E_HEATER 6 | sensor_pin: E_TEMPERATURE 7 | -------------------------------------------------------------------------------- /config/hardware/extruder/galileo.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Galileo Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 22.6789511 10 | gear_ratio: 7.5:1 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/galileo2.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Galileo 2 Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 47.088 10 | gear_ratio: 9:1 11 | microsteps: 16 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/lgx_heavy.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Bontech LGX 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 54.4 10 | gear_ratio: 44:14, 37:17 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/lgx_lite.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Bontech LGX Lite 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 54.69 10 | gear_ratio: 44:10, 37:17 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/orbiter2.0.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Orbiter 2.0 Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 4.637 10 | microsteps: 32 11 | full_steps_per_rotation: 200 12 | 13 | nozzle_diameter: 0.400 14 | filament_diameter: 1.75 15 | max_extrude_only_distance: 110 16 | max_extrude_cross_section: 5 17 | sensor_type: ATC Semitec 104GT-2 18 | min_temp: 10 19 | max_temp: 270 20 | max_power: 1.0 21 | min_extrude_temp: 172 22 | pressure_advance: 0.0475 23 | pressure_advance_smooth_time: 0.040 24 | 25 | # Orbiter 2 motor will not be happy with 0.45 for run current. Recommended value in overrides.cfg is 0.85 depending on driver. 26 | # https://www.orbiterprojects.com/orbiter-v2-0/ for more details 27 | 28 | # We also include the default wiring and low thermal hotend patch 29 | [include default_wiring.cfg] 30 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 31 | -------------------------------------------------------------------------------- /config/hardware/extruder/sherpa_mini.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Sherpa mini Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 22.67895 10 | gear_ratio: 50:8 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104NT-4-R025H42G 19 | min_temp: 10 20 | max_temp: 290 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/extruder/vz_hextrudort.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_extruder_enabled: True 3 | gcode: 4 | 5 | 6 | [extruder] 7 | # Vz-HextrudORT Gear Ratio 8 | # new_rd = previous_rd * mesured_distance / requested_distance 9 | rotation_distance: 22 10 | gear_ratio: 50:10 11 | microsteps: 32 12 | full_steps_per_rotation: 200 13 | 14 | nozzle_diameter: 0.400 15 | filament_diameter: 1.75 16 | max_extrude_only_distance: 110 17 | max_extrude_cross_section: 5 18 | sensor_type: ATC Semitec 104GT-2 19 | min_temp: 10 20 | max_temp: 270 21 | max_power: 1.0 22 | min_extrude_temp: 172 23 | pressure_advance: 0.0475 24 | pressure_advance_smooth_time: 0.040 25 | 26 | # We also include the default wiring and low thermal hotend patch 27 | [include default_wiring.cfg] 28 | [include ../../../macros/helpers/hotend_heater_ctrl.cfg] 29 | -------------------------------------------------------------------------------- /config/hardware/fans/controller_fan.cfg: -------------------------------------------------------------------------------- 1 | [controller_fan controller_fan] 2 | pin: CONTROLLER_FAN 3 | kick_start_time: 0.5 4 | fan_speed: 1.0 5 | idle_timeout: 60 6 | -------------------------------------------------------------------------------- /config/hardware/fans/hotend_fan.cfg: -------------------------------------------------------------------------------- 1 | [heater_fan hotend_fan] 2 | pin: E_FAN 3 | max_power: 1.0 4 | kick_start_time: 0.100 5 | heater: extruder 6 | heater_temp: 50.0 7 | -------------------------------------------------------------------------------- /config/hardware/fans/hotend_fan_tachometer.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_hotend_fan_tach_enabled: True 3 | gcode: 4 | 5 | [heater_fan hotend_fan] 6 | pin: E_FAN 7 | max_power: 1.0 8 | kick_start_time: 0.100 9 | heater: extruder 10 | heater_temp: 50.0 11 | tachometer_pin: E_FAN_TACHO 12 | 13 | # And we also include the tachometer check macros from here 14 | [include ../../../macros/helpers/tachometer_check.cfg] 15 | -------------------------------------------------------------------------------- /config/hardware/fans/part_fan.cfg: -------------------------------------------------------------------------------- 1 | [fan] 2 | pin: PART_FAN 3 | kick_start_time: 0.100 4 | cycle_time: 0.010 5 | -------------------------------------------------------------------------------- /config/hardware/fans/part_fan_tachometer.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_part_fan_tach_enabled: True 3 | gcode: 4 | 5 | [fan] 6 | pin: PART_FAN 7 | kick_start_time: 0.100 8 | cycle_time: 0.010 9 | tachometer_pin: PART_FAN_TACHO 10 | 11 | # And we also include the tachometer check macros from here 12 | [include ../../../macros/helpers/tachometer_check.cfg] 13 | -------------------------------------------------------------------------------- /config/hardware/fans/rpi_fan.cfg: -------------------------------------------------------------------------------- 1 | [temperature_fan rpi_fan] 2 | pin: HOST_CONTROLLER_FAN 3 | kick_start_time: 0.5 4 | max_speed: 0.75 5 | target_temp: 50 6 | min_temp: 10 7 | max_temp: 95 8 | control: watermark 9 | sensor_type: temperature_host 10 | -------------------------------------------------------------------------------- /config/hardware/filament_sensors/motion_sensor.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_filament_sensor_enabled: True 3 | gcode: 4 | 5 | 6 | [filament_motion_sensor runout_sensor] 7 | switch_pin: RUNOUT_SENSOR 8 | detection_length: 7.0 9 | extruder: extruder 10 | pause_on_runout: True 11 | #runout_gcode: 12 | #insert_gcode: 13 | #event_delay: 14 | #pause_delay: 15 | -------------------------------------------------------------------------------- /config/hardware/filament_sensors/switch_sensor.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_filament_sensor_enabled: True 3 | gcode: 4 | 5 | 6 | [filament_switch_sensor runout_sensor] 7 | switch_pin: RUNOUT_SENSOR 8 | pause_on_runout: True 9 | #runout_gcode: 10 | #insert_gcode: 11 | #event_delay: 12 | #pause_delay: 13 | -------------------------------------------------------------------------------- /config/hardware/filters/exhaust_filter.cfg: -------------------------------------------------------------------------------- 1 | [heater_fan exhaust_filter] 2 | pin: EXHAUST_FAN 3 | max_power: 1.0 4 | shutdown_speed: 0.0 5 | kick_start_time: 5.0 6 | heater: heater_bed 7 | heater_temp: 60 8 | fan_speed: 1.0 9 | -------------------------------------------------------------------------------- /config/hardware/filters/nevermore_filter.cfg: -------------------------------------------------------------------------------- 1 | # Recirculating carbon filter (example: Nevermove v5, etc...) 2 | [gcode_macro _USER_VARIABLES] 3 | variable_filter_enabled: True 4 | variable_filter_name: "filter" 5 | gcode: 6 | 7 | # Also include directly the filter control macros from here 8 | [include ../../../macros/hardware_functions/filter.cfg] 9 | 10 | 11 | [fan_generic filter] 12 | pin: FILTER_FAN 13 | max_power: 1.0 14 | kick_start_time: 0.250 15 | off_below: 0.30 16 | # hardware_pwm: True 17 | # cycle_time: 0.001 18 | -------------------------------------------------------------------------------- /config/hardware/heated_bed.cfg: -------------------------------------------------------------------------------- 1 | ## This file is deprecated in favor of the included file. 2 | 3 | [include bed_heaters/keenovo.cfg] 4 | -------------------------------------------------------------------------------- /config/hardware/lights/fcob_white.cfg: -------------------------------------------------------------------------------- 1 | # White lights using 24V (example: white fcob) 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_light_enabled: True 5 | variable_light_pin_name: "caselight" 6 | gcode: 7 | 8 | # Also include directly the white lights control macros from here 9 | [include ../../../macros/hardware_functions/caselights.cfg] 10 | 11 | 12 | [output_pin caselight] 13 | pin: LIGHT_OUTPUT 14 | pwm: true 15 | value: 0 16 | scale: 100 17 | cycle_time: 0.010 18 | -------------------------------------------------------------------------------- /config/hardware/lights/neopixel_caselight.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds used as general printer lights 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_status_leds_caselight_enabled = True 5 | variable_status_leds_effects_enabled = False 6 | variable_status_leds_caselight_led_name: "caselight" 7 | gcode: 8 | 9 | # Also include directly the leds control macros from here 10 | [include ../../../macros/hardware_functions/status_leds.cfg] 11 | [include config_colors.cfg] 12 | 13 | 14 | [neopixel caselight] 15 | pin: LIGHT_NEOPIXEL 16 | # The pin connected to the neopixel. This parameter must be 17 | # provided. 18 | chain_count: 31 19 | # The number of Neopixel chips that are "daisy chained" to the 20 | # provided pin. The default is 1 (which indicates only a single 21 | # Neopixel is connected to the pin). 22 | color_order: GRB 23 | # Set the pixel order required by the LED hardware (using a string 24 | # containing the letters R, G, B, W with W optional). The default is 25 | # GRB. 26 | initial_RED: 0.0 27 | initial_GREEN: 0.0 28 | initial_BLUE: 0.0 29 | #initial_WHITE: 0.0 30 | # See the "led" section for information on these parameters. 31 | -------------------------------------------------------------------------------- /config/hardware/lights/status_leds.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds used on the toolhead (stealthburner style) 2 | 3 | [gcode_macro _USER_VARIABLES] 4 | variable_status_leds_enabled: True 5 | variable_status_leds_effects_enabled: False 6 | variable_status_leds_logo_led_name: "status_leds" 7 | variable_status_leds_logo_idx: '1' 8 | variable_status_leds_nozzle_led_name: "status_leds" 9 | variable_status_leds_nozzle_idx: '2,3' 10 | gcode: 11 | 12 | # Also include directly the leds control macros from here 13 | [include ../../../macros/hardware_functions/status_leds.cfg] 14 | [include config_colors.cfg] 15 | 16 | 17 | [neopixel status_leds] 18 | pin: STATUS_NEOPIXEL 19 | # The pin connected to the neopixel. This parameter must be provided. 20 | chain_count: 3 21 | # The number of Neopixel chips that are "daisy chained" to the 22 | # provided pin. The default is 1 (which indicates only a single 23 | # Neopixel is connected to the pin). 24 | color_order: GRBW 25 | # Set the pixel order required by the LED hardware. Options are GRB, 26 | # RGB, GRBW, or RGBW. The default is GRB. 27 | initial_RED: 0.0 28 | initial_GREEN: 0.0 29 | initial_BLUE: 0.0 30 | initial_WHITE: 0.0 31 | # Sets the initial LED color of the Neopixel. Each value should be 32 | # between 0.0 and 1.0. The WHITE option is only available on RGBW 33 | # LEDs. The default for each color is 0.# 34 | -------------------------------------------------------------------------------- /config/hardware/lights/status_leds_rainbow_barf.cfg: -------------------------------------------------------------------------------- 1 | # Neopixel leds used on the toolhead (stealthburner style) 2 | # in a rainbow barf pattern PCB 3 | 4 | [gcode_macro _USER_VARIABLES] 5 | variable_status_leds_enabled: True 6 | variable_status_leds_effects_enabled: False 7 | variable_status_leds_logo_led_name: "status_leds" 8 | variable_status_leds_logo_idx: '1,2,3,4,5,6,7,8' 9 | variable_status_leds_nozzle_led_name: "status_leds" 10 | variable_status_leds_nozzle_idx: '9,10' 11 | gcode: 12 | 13 | # Also include directly the leds control macros from here 14 | [include ../../../macros/hardware_functions/status_leds.cfg] 15 | [include config_colors.cfg] 16 | 17 | 18 | [neopixel status_leds] 19 | pin: STATUS_NEOPIXEL 20 | # The pin connected to the neopixel. This parameter must be provided. 21 | chain_count: 10 22 | # The number of Neopixel chips that are "daisy chained" to the 23 | # provided pin. The default is 1 (which indicates only a single 24 | # Neopixel is connected to the pin). 25 | color_order: GRB, GRB, GRB, GRB, GRB, GRB, GRB, GRB, GRBW, GRBW 26 | # Set the pixel order required by the LED hardware. Options are GRB, 27 | # RGB, GRBW, or RGBW. The default is GRB. 28 | initial_RED: 0.0 29 | initial_GREEN: 0.0 30 | initial_BLUE: 0.0 31 | initial_WHITE: 0.0 32 | # Sets the initial LED color of the Neopixel. Each value should be 33 | # between 0.0 and 1.0. The WHITE option is only available on RGBW 34 | # LEDs. The default for each color is 0.# 35 | -------------------------------------------------------------------------------- /config/hardware/mmu.cfg: -------------------------------------------------------------------------------- 1 | ## MMU config file 2 | ## Designed to be used with the "HappyHare" (HH) software backend by moggieuk: https://github.com/moggieuk/Happy-Hare 3 | 4 | [gcode_macro _USER_VARIABLES] 5 | variable_klippain_mmu_enabled: True 6 | gcode: 7 | 8 | [extruder] 9 | max_extrude_only_distance: 200 10 | max_extrude_cross_section: 50.0 11 | 12 | 13 | # Also include directly the MMU macros and config from here 14 | [include ../../macros/hardware_functions/mmu.cfg] 15 | -------------------------------------------------------------------------------- /config/hardware/probes/beacon_virtual.cfg: -------------------------------------------------------------------------------- 1 | # This probe type is for a Beacon probe used directly as a virtual Z endstop 2 | # rather than with an existing physical endstop. To use this configuration, 3 | # you will need to manually add the Beacon Klipper plugin! 4 | 5 | ## Then, you should just add the following two lines to your overrides and everything should work! 6 | ## The rest of the allowed config entries are available on this link: config/hardware/probes/inductive_virtual.cfg 7 | # [beacon] 8 | # serial: /dev/serial/by-id/usb-Beacon_Beacon_... 9 | 10 | 11 | [gcode_macro _USER_VARIABLES] 12 | # We can declare an "inductive_virtual" probe type as it's pretty close to the Beacon way of working and should just work! 13 | variable_probe_type_enabled: "inductive_virtual" 14 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 15 | gcode: 16 | 17 | # Beacon probe definition also include the probe management macro directly from here 18 | [include ../../../macros/base/probing/generic_probe.cfg] 19 | 20 | [stepper_z] 21 | endstop_pin: probe:z_virtual_endstop 22 | homing_retract_dist: 0 23 | -------------------------------------------------------------------------------- /config/hardware/probes/bltouch_virtual.cfg: -------------------------------------------------------------------------------- 1 | # This probe type is for an BLTouch probe used directly as a virtual Z endstop rather than 2 | # with an existing physical endstop. This configuration is common if you are running a 3 | # Voron Switchwire or other "bed slinger" that does not have a fixed Z endstop at bed 4 | # height. 5 | 6 | [gcode_macro _USER_VARIABLES] 7 | variable_probe_type_enabled: "bltouch" 8 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 9 | gcode: 10 | 11 | # The BLTouch probe definition also includes the probe management and 12 | # overides directly from here 13 | [include ../../../macros/base/probing/generic_probe.cfg] 14 | 15 | [bltouch] 16 | sensor_pin: ^PROBE_INPUT 17 | control_pin: SERVO_PIN 18 | x_offset: 0.0 19 | y_offset: 0.0 20 | z_offset: 0 21 | samples: 1 22 | sample_retract_dist: 3.0 23 | samples_result: median 24 | samples_tolerance: 0.004 25 | samples_tolerance_retries: 1 26 | 27 | [stepper_z] 28 | endstop_pin: probe:z_virtual_endstop 29 | -------------------------------------------------------------------------------- /config/hardware/probes/dockable.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_probe_type_enabled: "dockable" 3 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 4 | gcode: 5 | 6 | # Dockable probe definition also include the probe management and overrides directly from here 7 | [include ../../../macros/base/probing/generic_probe.cfg] 8 | [include ../../../macros/base/probing/dockable_probe.cfg] 9 | [include ../../../macros/base/probing/overrides/dockable_probe_overrides.cfg] 10 | 11 | [probe] 12 | pin: ^PROBE_INPUT 13 | x_offset: 0 14 | y_offset: 19.75 15 | z_offset: 6.42 16 | speed: 8 17 | lift_speed: 15 18 | samples: 2 19 | samples_result: median 20 | sample_retract_dist: 2.0 21 | samples_tolerance: 0.007 22 | samples_tolerance_retries: 3 23 | 24 | [stepper_z] 25 | position_endstop: 0 26 | -------------------------------------------------------------------------------- /config/hardware/probes/dockable_virtual.cfg: -------------------------------------------------------------------------------- 1 | # This probe type is for a dockable probe (Klicky, Euclid, etc) used directly as a virtual 2 | # Z endstop rather than with an existing physical endstop. This configuration is common 3 | # if you are running a Voron Switchwire or other "bed slinger" that does not have a fixed Z 4 | # endstop at bed height. 5 | 6 | [gcode_macro _USER_VARIABLES] 7 | variable_probe_type_enabled: "dockable_virtual" 8 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 9 | gcode: 10 | 11 | # Dockable probe definition also include the probe management and overrides directly from here 12 | [include ../../../macros/base/probing/generic_probe.cfg] 13 | [include ../../../macros/base/probing/dockable_probe.cfg] 14 | [include ../../../macros/base/probing/overrides/dockable_probe_overrides.cfg] 15 | 16 | [probe] 17 | pin: ^PROBE_INPUT 18 | x_offset: 0 19 | y_offset: 19.75 20 | z_offset: 6.42 21 | speed: 8 22 | lift_speed: 15 23 | samples: 2 24 | samples_result: median 25 | sample_retract_dist: 2.0 26 | samples_tolerance: 0.007 27 | samples_tolerance_retries: 3 28 | 29 | [stepper_z] 30 | endstop_pin: probe:z_virtual_endstop 31 | -------------------------------------------------------------------------------- /config/hardware/probes/inductive.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_probe_type_enabled: "inductive" 3 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 4 | gcode: 5 | 6 | # Inductive probe definition also include the probe management macro directly from here 7 | [include ../../../macros/base/probing/generic_probe.cfg] 8 | 9 | [probe] 10 | pin: ^PROBE_INPUT 11 | x_offset: 0 12 | y_offset: 25.0 13 | z_offset: 0 14 | speed: 8 15 | lift_speed: 15 16 | samples: 3 17 | samples_result: median 18 | sample_retract_dist: 3.0 19 | samples_tolerance: 0.007 20 | samples_tolerance_retries: 3 21 | 22 | [stepper_z] 23 | position_endstop: 0 24 | -------------------------------------------------------------------------------- /config/hardware/probes/inductive_virtual.cfg: -------------------------------------------------------------------------------- 1 | # This probe type is for an inductive probe used directly as a virtual Z endstop 2 | # rather than with an existing physical endstop. This configuration is common 3 | # if you are running a Voron Switchwire or other "bed slinger" that does not 4 | # have a fixed Z endstop at bed height. 5 | 6 | [gcode_macro _USER_VARIABLES] 7 | variable_probe_type_enabled: "inductive_virtual" 8 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "tilt_calib", "extruder_heating", "purge", "clean", "z_offset", "bedmesh", "primeline" 9 | gcode: 10 | 11 | # Inductive probe definition also include the probe management macro directly from here 12 | [include ../../../macros/base/probing/generic_probe.cfg] 13 | 14 | [probe] 15 | pin: ^PROBE_INPUT 16 | x_offset: 0 17 | y_offset: 25.0 18 | z_offset: 0 19 | speed: 8 20 | lift_speed: 15 21 | samples: 3 22 | samples_result: median 23 | sample_retract_dist: 3.0 24 | samples_tolerance: 0.007 25 | samples_tolerance_retries: 3 26 | 27 | [stepper_z] 28 | endstop_pin: probe:z_virtual_endstop 29 | -------------------------------------------------------------------------------- /config/hardware/probes/no_probe.cfg: -------------------------------------------------------------------------------- 1 | # When no probe is installed on the machine, there is still the need to define a corresponding default START_PRINT sequence. 2 | # If you want to write your own sequence, have a look at your overrides.cfg file! 3 | [gcode_macro _USER_VARIABLES] 4 | variable_probe_type_enabled: "none" 5 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "extruder_heating", "purge", "clean", "z_offset", "primeline" 6 | gcode: 7 | 8 | [stepper_z] 9 | position_endstop: 0 10 | -------------------------------------------------------------------------------- /config/hardware/probes/voron_tap.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_probe_type_enabled: "vorontap" 3 | variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "clean", "tilt_calib", "z_offset", "bedmesh", "extruder_heating", "purge", "clean", "primeline" 4 | gcode: 5 | 6 | # TAP probe definition also include the probe management macro directly from here 7 | [include ../../../macros/base/probing/generic_probe.cfg] 8 | 9 | [probe] 10 | pin: ^PROBE_INPUT 11 | x_offset: 0 12 | y_offset: 0 13 | z_offset: 0 14 | speed: 5 15 | lift_speed: 10 16 | samples: 3 17 | samples_result: median 18 | sample_retract_dist: 1.0 19 | samples_tolerance: 0.005 20 | samples_tolerance_retries: 3 21 | 22 | [stepper_z] 23 | endstop_pin: probe:z_virtual_endstop 24 | -------------------------------------------------------------------------------- /config/hardware/servos/probe_servo.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for a servo that will be 2 | # used to deploy the dockable probe 3 | [gcode_macro _USER_VARIABLES] 4 | variable_probe_servo_enabled: True 5 | variable_probe_servo_name: "probeservo" 6 | gcode: 7 | 8 | # Also include directly the servo macros from here 9 | [include ../../../macros/hardware_functions/servos.cfg] 10 | 11 | 12 | [servo probeservo] 13 | pin: SERVO_PIN 14 | maximum_servo_angle: 90 15 | minimum_pulse_width: 0.0011 16 | maximum_pulse_width: 0.0021 17 | -------------------------------------------------------------------------------- /config/hardware/servos/purgeclean_servo.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for a servo that will be 2 | # used to deploy the purge bucket and brush 3 | [gcode_macro _USER_VARIABLES] 4 | variable_purgeclean_servo_enabled: True 5 | variable_purgeclean_servo_name: "purgeservo" 6 | gcode: 7 | 8 | # Also include directly the servo macros from here 9 | [include ../../../macros/hardware_functions/servos.cfg] 10 | 11 | 12 | [servo purgeservo] 13 | pin: SERVO_PIN 14 | maximum_servo_angle: 90 15 | minimum_pulse_width: 0.0011 16 | maximum_pulse_width: 0.0021 17 | -------------------------------------------------------------------------------- /config/hardware/servos/shared_probepurge_servo.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for a servo that will be used to deploy at 2 | # the same time the dockable probe AND the purge bucket and brush 3 | [gcode_macro _USER_VARIABLES] 4 | variable_probe_servo_enabled: True 5 | variable_probe_servo_name: "sharedservo" 6 | variable_purgeclean_servo_enabled: True 7 | variable_purgeclean_servo_name: "sharedservo" 8 | gcode: 9 | 10 | # Also include directly the servo macros from here 11 | [include ../../../macros/hardware_functions/servos.cfg] 12 | 13 | 14 | [servo sharedservo] 15 | pin: SERVO_PIN 16 | maximum_servo_angle: 90 17 | minimum_pulse_width: 0.0011 18 | maximum_pulse_width: 0.0021 19 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/cabinet_temp.cfg: -------------------------------------------------------------------------------- 1 | [temperature_sensor Electrical_Cabinet] 2 | sensor_type: ATC Semitec 104GT-2 3 | sensor_pin: ELECTRICAL_CABINET_TEMPERATURE 4 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/chamber_temp.cfg: -------------------------------------------------------------------------------- 1 | # If the machine is equiped by a temperature sensor in the chamber 2 | # it will be used to measure and control the chamber heatsoak 3 | [gcode_macro _USER_VARIABLES] 4 | variable_chamber_temperature_sensor_enabled: True 5 | variable_chamber_temperature_sensor_name: "Chamber" 6 | gcode: 7 | 8 | 9 | [temperature_sensor Chamber] 10 | sensor_type: ATC Semitec 104GT-2 11 | sensor_pin: CHAMBER_TEMPERATURE 12 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/chamber_temp_ds18b20.cfg: -------------------------------------------------------------------------------- 1 | # If the machine is equiped by a temperature sensor in the chamber 2 | # it will be used to measure and control the chamber heatsoak 3 | 4 | # This file is very specific to DS18B20 sensors connected to the Pi 1Wire interface 5 | # See: https://forum.vorondesign.com/threads/adding-a-temperature-sensor-when-youre-out-of-thermistor-ports.186/ 6 | 7 | [gcode_macro _USER_VARIABLES] 8 | variable_chamber_temperature_sensor_enabled: True 9 | variable_chamber_temperature_sensor_name: "Chamber" 10 | gcode: 11 | 12 | [include ../../mcu_definitions/rpi.cfg] 13 | 14 | [temperature_sensor Chamber] 15 | sensor_type: DS18B20 16 | sensor_mcu: rpi 17 | serial_no: override-me-to-the-correct-serial 18 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/chamber_temp_toolhead.cfg: -------------------------------------------------------------------------------- 1 | # If the machine is equiped by a temperature sensor in the chamber 2 | # it will be used to measure and control the chamber heatsoak 3 | [gcode_macro _USER_VARIABLES] 4 | variable_chamber_temperature_sensor_enabled: True 5 | variable_chamber_temperature_sensor_name: "Chamber" 6 | gcode: 7 | 8 | 9 | [temperature_sensor Chamber] 10 | sensor_type: ATC Semitec 104GT-2 11 | sensor_pin: toolhead:CHAMBER_TEMPERATURE 12 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/custom_thermistors.cfg: -------------------------------------------------------------------------------- 1 | # This is a custom thermistor definition that is 2 | # commonly found in some MCU boards like the Picobilical 3 | [thermistor CMFB103F3950FANT] 4 | temperature1: 0.0 5 | resistance1: 32116.0 6 | temperature2: 40.0 7 | resistance2: 5309.0 8 | temperature3: 80.0 9 | resistance3: 1228.0 10 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/mcu_temp.cfg: -------------------------------------------------------------------------------- 1 | [temperature_sensor mcu] 2 | sensor_type = temperature_mcu 3 | min_temp = 0 4 | max_temp = 90 5 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/rpi_temp.cfg: -------------------------------------------------------------------------------- 1 | [temperature_sensor Raspberry_Pi] 2 | sensor_type: temperature_host 3 | -------------------------------------------------------------------------------- /config/hardware/temperature_sensors/toolhead_mcu_temp.cfg: -------------------------------------------------------------------------------- 1 | [temperature_sensor toolhead_mcu] 2 | sensor_type: temperature_mcu 3 | sensor_mcu: toolhead 4 | min_temp = 0 5 | max_temp = 100 6 | -------------------------------------------------------------------------------- /config/kinematics/cartesian.cfg: -------------------------------------------------------------------------------- 1 | [printer] 2 | kinematics: cartesian 3 | max_velocity: 200 4 | max_accel: 3000 5 | max_z_velocity: 30 6 | max_z_accel: 500 7 | # minimum_cruise_ratio: 0.5 # This left commented to not break older Klipper versions 8 | square_corner_velocity: 5.0 9 | 10 | # And add directly all the machines standard includes here 11 | # to put them above the rest from printer.cfg 12 | [include ../machine.cfg] 13 | -------------------------------------------------------------------------------- /config/kinematics/corexy.cfg: -------------------------------------------------------------------------------- 1 | [printer] 2 | kinematics: corexy 3 | max_velocity: 400 4 | max_accel: 8000 5 | max_z_velocity: 30 6 | max_z_accel: 500 7 | # minimum_cruise_ratio: 0.5 # This left commented to not break older Klipper versions 8 | square_corner_velocity: 5.0 9 | 10 | # And add directly all the machines standard includes here 11 | # to put them above the rest from printer.cfg 12 | [include ../machine.cfg] 13 | -------------------------------------------------------------------------------- /config/kinematics/corexz.cfg: -------------------------------------------------------------------------------- 1 | [printer] 2 | kinematics: corexz 3 | max_velocity: 400 4 | max_accel: 1000 5 | max_z_velocity: 200 6 | max_z_accel: 1000 7 | # minimum_cruise_ratio: 0.5 # This left commented to not break older Klipper versions 8 | square_corner_velocity: 5.0 9 | 10 | # And add directly all the machines standard includes here 11 | # to put them above the rest from printer.cfg 12 | [include ../machine.cfg] 13 | -------------------------------------------------------------------------------- /config/machine.cfg: -------------------------------------------------------------------------------- 1 | [virtual_sdcard] 2 | path: ~/printer_data/gcodes 3 | on_error_gcode: 4 | {% if printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 5 | STATUS_LEDS COLOR="ERROR" 6 | {% endif %} 7 | {% if printer["gcode_macro _USER_VARIABLES"].probe_type_enabled == "dockable" or printer["gcode_macro _USER_VARIABLES"].probe_type_enabled == "dockable_virtual" %} 8 | _PROBE_ON_ERROR_ACTION 9 | {% endif %} 10 | 11 | # Park only if printer is homed 12 | {% if "xyz" in printer.toolhead.homed_axes %} 13 | PARK 14 | {% endif %} 15 | 16 | 17 | [idle_timeout] 18 | timeout: 1800 19 | gcode: 20 | RESPOND MSG="Idle timeout reached" 21 | TURN_OFF_HEATERS 22 | M84 23 | {% if printer["gcode_macro _USER_VARIABLES"].light_enabled %} 24 | LIGHT_OFF 25 | {% endif %} 26 | {% if printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 27 | STATUS_LEDS COLOR="OFF" 28 | {% endif %} 29 | 30 | [pause_resume] 31 | [display_status] 32 | [exclude_object] 33 | [respond] 34 | 35 | [force_move] 36 | enable_force_move: True 37 | 38 | [gcode_arcs] 39 | resolution: 0.1 40 | 41 | 42 | # ----------------------------------------------------------------------------------- 43 | # Include all the remaining files (not already included in config files) and scripts 44 | # from here to avoid to include them in the main printer.cfg and avoid user confusion 45 | # ----------------------------------------------------------------------------------- 46 | 47 | [include hardware/temperature_sensors/custom_thermistors.cfg] 48 | 49 | [include software/shaketune.cfg] 50 | 51 | [include ../scripts/*.cfg] 52 | 53 | [include ../macros/base/*.cfg] 54 | [include ../macros/base/homing/homing_*.cfg] 55 | 56 | [include ../macros/calibration/calib*.cfg] 57 | 58 | [include ../macros/helpers/filament_swap.cfg] 59 | [include ../macros/helpers/heatsoak.cfg] 60 | [include ../macros/helpers/prime_line.cfg] 61 | [include ../macros/helpers/nozzle_cleaning.cfg] 62 | [include ../macros/helpers/temp_check.cfg] 63 | 64 | [include ../macros/miscs/compatibility.cfg] 65 | [include ../macros/miscs/debugging.cfg] 66 | [include ../macros/miscs/startup.cfg] 67 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Manta_E3EZ_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_M1_STEP=PA14, MCU_M1_DIR=PA10, MCU_M1_EN=PA13, MCU_M1_CS=PB8, 4 | MCU_M2_STEP=PC8, MCU_M2_DIR=PA15, MCU_M2_EN=PC14, MCU_M2_CS=PC9, 5 | MCU_M3_STEP=PD2, MCU_M3_DIR=PD4, MCU_M3_EN=PD3, MCU_M3_CS=PD0, 6 | MCU_M4_STEP=PD5, MCU_M4_DIR=PD6, MCU_M4_EN=PB3, MCU_M4_CS=PD1, 7 | MCU_M5_STEP=PB7, MCU_M5_DIR=PB6, MCU_M5_EN=PB4, MCU_M5_CS=PB5, 8 | 9 | MCU_M1_STOP=PC4, MCU_M2_STOP=PB0, MCU_M3_STOP=PC6, MCU_M4_STOP=PC5, MCU_M5_STOP=PB1, 10 | 11 | MCU_HE0=PB11 , MCU_HE1=PB10 , 12 | 13 | MCU_BED_OUT=PB2 , 14 | 15 | MCU_THB=PA3 , MCU_TH0=PA4 , MCU_TH1=PA5 , 16 | 17 | MCU_FAN0=PA8 , MCU_FAN1=PB15 , MCU_FAN2=PB14 , 18 | 19 | MCU_RGB1=PC7 , 20 | 21 | MCU_PROBE1=PA6 , MCU_PROBE2=PA7 , 22 | 23 | MCU_PS_ON=PA9 , 24 | MCU_POWER_DET=PB9 , 25 | 26 | 27 | MCU_SPI3_MOSI=PC12 , MCU_SPI3_MISO=PC11 , MCU_SPI3_SCK=PC10 , MCU_SPI3_CS=PC15 , 28 | 29 | 30 | # EXP1 header 31 | EXP1_1=PC1 , EXP1_2=PC2 , 32 | EXP1_3=PC3 , EXP1_4=RST , 33 | EXP1_5=PC0 , EXP1_6=PA0 , # Slot in the socket on this side 34 | EXP1_7=PA2 , EXP1_8=PA1 , 35 | EXP1_9= , EXP1_10=<5V> , 36 | 37 | 38 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Manta_M5P_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_M1_STEP=PC8 , MCU_M1_DIR=PC9 , MCU_M1_EN=PA15 , MCU_M1_CS=PD9 , 4 | MCU_M2_STEP=PA10 , MCU_M2_DIR=PA14 , MCU_M2_EN=PA13 , MCU_M2_CS=PD8 , 5 | MCU_M3_STEP=PC6 , MCU_M3_DIR=PC7 , MCU_M3_EN=PA9 , MCU_M3_CS=PB10 , 6 | MCU_M4_STEP=PB12 , MCU_M4_DIR=PB11 , MCU_M4_EN=PA8 , MCU_M4_CS=PB2 , 7 | MCU_M5_STEP=PB0 , MCU_M5_DIR=PB1 , MCU_M5_EN=PC4 , MCU_M5_CS=PA6 , 8 | 9 | MCU_M1_STOP=PD3 , MCU_M2_STOP=PD2 , MCU_M3_STOP=PC3 , MCU_M4_STOP=PC2 , 10 | 11 | MCU_HE0=PC5 , MCU_HE1=PA7 , 12 | 13 | MCU_BED_OUT=PA5 , 14 | 15 | MCU_THB=PA0 , MCU_TH0=PA1 , MCU_TH1=PA2 , 16 | 17 | MCU_FAN0=PA4 , MCU_FAN1=PA3 , 18 | 19 | MCU_RGB1=PC11 , MCU_RGB2=PC14 , 20 | 21 | MCU_PROBE1=PC15 , MCU_PROBE2=PC13 , 22 | MCU_IND_PROBE=PC15 , 23 | 24 | MCU_SPI2_MOSI=PB15 , MCU_SPI2_MISO=PB14 , MCU_SPI2_SCK=PB13 , MCU_SPI2_CS=PC0 , 25 | 26 | 27 | # EXP1 header 28 | EXP1_1=PD5 , EXP1_2=PD4 , 29 | EXP1_3=PB3 , EXP1_4=PD6 , 30 | EXP1_5=PB5 , EXP1_6=PB4 , # Slot in the socket on this side 31 | EXP1_7=PB7 , EXP1_8=PB6 , 32 | EXP1_9= , EXP1_10=<5V> , 33 | 34 | # EXP2 header 35 | EXP2_1=PB14 , EXP2_2=PB13 , 36 | EXP2_3=PB8 , EXP2_4=PB9 , 37 | EXP2_5=PC10 , EXP2_6=PB15 , # Slot in the socket on this side 38 | EXP2_7=PC12 , EXP2_8=PF2 , 39 | EXP2_9= , EXP2_10= , 40 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Manta_M8P_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_M1_STEP=PE2 , MCU_M1_DIR=PB4 , MCU_M1_EN=PC11 , MCU_M1_CS=PC10 , 4 | MCU_M2_STEP=PF12 , MCU_M2_DIR=PF11 , MCU_M2_EN=PB3 , MCU_M2_CS=PF13 , 5 | MCU_M3_STEP=PD7 , MCU_M3_DIR=PD6 , MCU_M3_EN=PF10 , MCU_M3_CS=PF9 , 6 | MCU_M4_STEP=PD3 , MCU_M4_DIR=PD2 , MCU_M4_EN=PD5 , MCU_M4_CS=PD4 , 7 | MCU_M5_STEP=PC9 , MCU_M5_DIR=PC8 , MCU_M5_EN=PD1 , MCU_M5_CS=PD0 , 8 | MCU_M6_STEP=PA10 , MCU_M6_DIR=PD15 , MCU_M6_EN=PA15 , MCU_M6_CS=PF8 , 9 | MCU_M7_STEP=PD12 , MCU_M7_DIR=PD11 , MCU_M7_EN=PD14 , MCU_M7_CS=PD13 , 10 | MCU_M8_STEP=PD10 , MCU_M8_DIR=PD8 , MCU_M8_EN=PD9 , MCU_M8_CS=PC7 , 11 | 12 | MCU_M1_STOP=PF3 , MCU_M2_STOP=PF4 , MCU_M3_STOP=PF5 , MCU_M4_STOP=PC0 , 13 | MCU_M5_STOP=PC1 , MCU_M6_STOP=PC2 , 14 | 15 | MCU_HE0=PE3 , MCU_HE1=PB5 , MCU_HE2=PB6 , MCU_HE3=PE1 , 16 | 17 | MCU_BED_OUT=PB7 , 18 | 19 | MCU_THB=PA0 , MCU_TH0=PA1 , MCU_TH1=PA2 , MCU_TH2=PA3 , MCU_TH3=PA4 , 20 | 21 | MCU_FAN0=PE6 , MCU_FAN1=PE0 , MCU_FAN2=PC12 , MCU_FAN3=PE5 , 22 | MCU_FAN4=PE4 , MCU_FAN4_TACH=PC13 , 23 | MCU_FAN5=PB8 , MCU_FAN5_TACH=PC14 , 24 | MCU_FAN6=PB9 , MCU_FAN6_TACH=PC15 , 25 | 26 | MCU_RGB1=PC6 , MCU_RGB2=PA9 , 27 | MCU_PS_ON=PC3 , 28 | 29 | MCU_PROBE1=PB1 , MCU_PROBE2=PB2 , 30 | MCU_IND_PROBE=PF6 , 31 | 32 | MCU_SPI2_MOSI=PA7 , MCU_SPI2_MISO=PA6 , MCU_SPI2_SCK=PA5 , MCU_SPI2_CS=PC4 , 33 | 34 | MCU_FIL_DET1=PB0 , MCU_FIL_DET2=PC5 , 35 | 36 | # EXP1 header 37 | EXP1_1=PE9 , EXP1_2=PE10 , 38 | EXP1_3=PE11 , EXP1_4=PE12 , 39 | EXP1_5=PE13 , EXP1_6=PE14 , # Slot in the socket on this side 40 | EXP1_7=PE15 , EXP1_8=PB10 , 41 | EXP1_9= , EXP1_10=<5V> , 42 | 43 | # EXP2 header 44 | EXP2_1=PB14 , EXP2_2=PB13 , 45 | EXP2_3=PF7 , EXP2_4=PB12 , 46 | EXP2_5=PE7 , EXP2_6=PB11 , # Slot in the socket on this side 47 | EXP2_7=PE8 , EXP2_8= , 48 | EXP2_9= , EXP2_10=PC5 , 49 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Manta_M8P_v1.1.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_M1_STEP=PE2 , MCU_M1_DIR=PB4 , MCU_M1_EN=PC11 , MCU_M1_CS=PC10 , 4 | MCU_M2_STEP=PF12 , MCU_M2_DIR=PF11 , MCU_M2_EN=PB3 , MCU_M2_CS=PF13 , 5 | MCU_M3_STEP=PD7 , MCU_M3_DIR=PD6 , MCU_M3_EN=PF10 , MCU_M3_CS=PF9 , 6 | MCU_M4_STEP=PD3 , MCU_M4_DIR=PD2 , MCU_M4_EN=PD5 , MCU_M4_CS=PD4 , 7 | MCU_M5_STEP=PC9 , MCU_M5_DIR=PC8 , MCU_M5_EN=PD1 , MCU_M5_CS=PD0 , 8 | MCU_M6_STEP=PA10 , MCU_M6_DIR=PA14 , MCU_M6_EN=PA15 , MCU_M6_CS=PF8 , 9 | MCU_M7_STEP=PD11 , MCU_M7_DIR=PD9 , MCU_M7_EN=PD15 , MCU_M7_CS=PD14 , 10 | MCU_M8_STEP=PD8 , MCU_M8_DIR=PC6 , MCU_M8_EN=PC7 , MCU_M8_CS=PD10 , 11 | 12 | MCU_M1_STOP=PF3 , MCU_M2_STOP=PF4 , MCU_M3_STOP=PF5 , MCU_M4_STOP=PC0 , 13 | MCU_M5_STOP=PC1 , MCU_M6_STOP=PC2 , MCU_M7_STOP=PC13 , 14 | 15 | MCU_HE0=PE3 , MCU_HE1=PB5 , MCU_HE2=PB6 , MCU_HE3=PE1 , 16 | 17 | MCU_BED_OUT=PB7 , 18 | 19 | MCU_THB=PA0 , MCU_TH0=PA1 , MCU_TH1=PA2 , MCU_TH2=PA3 , MCU_TH3=PA4 , 20 | 21 | MCU_FAN0=PE6 , MCU_FAN1=PE0 , MCU_FAN2=PC12 , MCU_FAN3=PE5 , MCU_FAN4=PE4 , 22 | MCU_FAN5=PB8 , MCU_FAN5_TACH=PC14 , 23 | MCU_FAN6=PB9 , MCU_FAN6_TACH=PC15 , 24 | 25 | MCU_RGB1=PA9 , MCU_RGB2=PB15 , 26 | MCU_PS_ON=PC3 , 27 | 28 | MCU_PROBE1=PB1 , MCU_PROBE2=PB2 , 29 | MCU_IND_PROBE=PF6 , 30 | 31 | MCU_SPI2_MOSI=PA7 , MCU_SPI2_MISO=PA6 , MCU_SPI2_SCK=PA5 , MCU_SPI2_CS=PC4 , 32 | 33 | MCU_FWS1=PB0 , MCU_FWS=PC5 , 34 | 35 | # EXP1 header 36 | EXP1_1=PE9 , EXP1_2=PE10 , 37 | EXP1_3=PE11 , EXP1_4=PE12 , 38 | EXP1_5=PE13 , EXP1_6=PE14 , # Slot in the socket on this side 39 | EXP1_7=PE15 , EXP1_8=PB10 , 40 | EXP1_9= , EXP1_10=<5V> , 41 | 42 | # EXP2 header 43 | EXP2_1=PB14 , EXP2_2=PB13 , 44 | EXP2_3=PF7 , EXP2_4=PB12 , 45 | EXP2_5=PE7 , EXP2_6=PB11 , # Slot in the socket on this side 46 | EXP2_7=PE8 , EXP2_8= , 47 | EXP2_9= , EXP2_10=PC5 , 48 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Manta_M8P_v2.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_M1_STEP=PE6 , MCU_M1_DIR=PE5 , MCU_M1_EN=PC14 , MCU_M1_CS=PC13 , 4 | MCU_M2_STEP=PE2 , MCU_M2_DIR=PE1 , MCU_M2_EN=PE4 , MCU_M2_CS=PE3 , 5 | MCU_M3_STEP=PB8 , MCU_M3_DIR=PB7 , MCU_M3_EN=PE0 , MCU_M3_CS=PB9 , 6 | MCU_M4_STEP=PB4 , MCU_M4_DIR=PB3 , MCU_M4_EN=PB6 , MCU_M4_CS=PB5 , 7 | MCU_M5_STEP=PG13 , MCU_M5_DIR=PG12 , MCU_M5_EN=PG15 , MCU_M5_CS=PG14 , 8 | MCU_M6_STEP=PG9 , MCU_M6_DIR=PD7 , MCU_M6_EN=PG11 , MCU_M6_CS=PG10 , 9 | MCU_M7_STEP=PD4 , MCU_M7_DIR=PD3 , MCU_M7_EN=PD6 , MCU_M7_CS=PD5 , 10 | MCU_M8_STEP=PC7 , MCU_M8_DIR=PC8 , MCU_M8_EN=PD2 , MCU_M8_CS=PC6 , 11 | 12 | MCU_M1_STOP=PF4 , MCU_M2_STOP=PF3 , MCU_M3_STOP=PF2 , MCU_M4_STOP=PF1 , 13 | MCU_M5_STOP=PF0 , MCU_M6_STOP=PC15 , 14 | 15 | MCU_HE0=PA0 , MCU_HE1=PA1 , MCU_HE2=PA3 , MCU_HE3=PA5 , 16 | 17 | MCU_BED_OUT=PF5 , 18 | 19 | MCU_THB=PB1 , MCU_TH0=PB0 , MCU_TH1=PC5 , MCU_TH2=PC4 , MCU_TH3=PA7 , 20 | 21 | MCU_FAN0=PF7 , MCU_FAN1=PF9 , MCU_FAN2=PF6 , MCU_FAN3=PF8 , MCU_FAN4=PA4 , 22 | MCU_FAN5=PA6 , MCU_FAN5_TACH=PC2 , 23 | MCU_FAN6=PA2 , MCU_FAN6_TACH=PC1 , 24 | 25 | MCU_RGB1=PD15 , 26 | MCU_PS_ON=PD14 , 27 | MCU_POWER_DET=PB10 , 28 | 29 | MCU_PROBE1=PD13 , MCU_PROBE2=PD12 , 30 | MCU_IND_PROBE=PD8 , 31 | 32 | MCU_SPI_MOSI=PC12 , MCU_SPI_MISO=PC11 , MCU_SPI_SCK=PC10 , MCU_SPI_CS=PA15 , 33 | MCU_M_SPI_MOSI=PG6, MCU_M_SPI_MISO=PG7, MCU_M_SPI_SCK=PG8, 34 | 35 | # TX RX 36 | MCU_CAN_LOW=PD1 , MCU_CAN_HIGH=PD0 , 37 | 38 | MCU_FWS1=PC0 , MCU_FWS=PF10 , 39 | 40 | # EXP ribbon 41 | EXP1_1=PE7, EXP1_2=PG1, 42 | EXP1_3=PG0, EXP1_4=PF15, 43 | EXP1_5=PF14, EXP1_6=PF13, 44 | EXP1_7=PF12, EXP1_8=PF11, 45 | EXP1_9=, EXP1_10=<5V>, 46 | EXP2_1=PE13, EXP2_2=PE12, 47 | EXP2_3=PE15, EXP2_4=PE11, 48 | EXP2_5=PE10, EXP2_6=PE14, 49 | EXP2_7=PE8, EXP2_8=, 50 | EXP2_9=, EXP2_10= 51 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Octopus.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_MOTOR0_STEP=PF13 , MCU_MOTOR0_DIR=PF12 , MCU_MOTOR0_ENABLE=PF14 , MCU_MOTOR0_UART=PC4 , 4 | MCU_MOTOR1_STEP=PG0 , MCU_MOTOR1_DIR=PG1 , MCU_MOTOR1_ENABLE=PF15 , MCU_MOTOR1_UART=PD11 , 5 | MCU_MOTOR2_1_STEP=PF11 , MCU_MOTOR2_1_DIR=PG3 , MCU_MOTOR2_1_ENABLE=PG5 , MCU_MOTOR2_1_UART=PC6 , 6 | MCU_MOTOR3_STEP=PG4 , MCU_MOTOR3_DIR=PC1 , MCU_MOTOR3_ENABLE=PA0 , MCU_MOTOR3_UART=PC7 , 7 | MCU_MOTOR4_STEP=PF9 , MCU_MOTOR4_DIR=PF10 , MCU_MOTOR4_ENABLE=PG2 , MCU_MOTOR4_UART=PF2 , 8 | MCU_MOTOR5_STEP=PC13 , MCU_MOTOR5_DIR=PF0 , MCU_MOTOR5_ENABLE=PF1 , MCU_MOTOR5_UART=PE4 , 9 | MCU_MOTOR6_STEP=PE2 , MCU_MOTOR6_DIR=PE3 , MCU_MOTOR6_ENABLE=PD4 , MCU_MOTOR6_UART=PE1 , 10 | MCU_MOTOR7_STEP=PE6 , MCU_MOTOR7_DIR=PA14 , MCU_MOTOR7_ENABLE=PE0 , MCU_MOTOR7_UART=PD3 , 11 | 12 | MCU_STOP0=PG6 , MCU_STOP1=PG9 , MCU_STOP2=PG10 , MCU_STOP3=PG11 , 13 | MCU_STOP4=PG12 , MCU_STOP5=PG13 , MCU_STOP6=PG14 , MCU_STOP7=PG15 , 14 | MCU_PROBE=PB7 , 15 | MCU_SERVOS=PB6 , 16 | 17 | MCU_HE0=PA2 , MCU_HE1=PA3 , MCU_HE2=PB10 , MCU_HE3=PB11 , 18 | 19 | MCU_BED0=PA1 , 20 | 21 | MCU_TB=PF3 , 22 | MCU_T0=PF4 , MCU_T1=PF5 , MCU_T2=PF6 , MCU_T3=PF7 , 23 | 24 | MCU_FAN0=PA8 , MCU_FAN1=PE5 , MCU_FAN2=PD12 , MCU_FAN3=PD13 , MCU_FAN4=PD14 , MCU_FAN5=PD15 , 25 | 26 | MCU_NEOPIXEL=PB0 , 27 | MCU_PS_ON=PE11 , 28 | MCU_POWER_DET=PC0 , 29 | 30 | # EXP1 header 31 | EXP1_1=PE8 , EXP1_2=PE7 , 32 | EXP1_3=PE9 , EXP1_4=PE10 , 33 | EXP1_5=PE12 , EXP1_6=PE13 , # Slot in the socket on this side 34 | EXP1_7=PE14 , EXP1_8=PE15 , 35 | EXP1_9= , EXP1_10=<5V> , 36 | 37 | # EXP2 header 38 | EXP2_1=PA6 , EXP2_2=PA5 , 39 | EXP2_3=PB1 , EXP2_4=PA4 , 40 | EXP2_5=PB2 , EXP2_6=PA7 , # Slot in the socket on this side 41 | EXP2_7=PC15 , EXP2_8= , 42 | EXP2_9= , EXP2_10=<5V> , 43 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_Octopus_Pro_v1.1.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_MOTOR0_STEP=PF13 , MCU_MOTOR0_DIR=PF12 , MCU_MOTOR0_ENABLE=PF14 , MCU_MOTOR0_UART=PC4 , 4 | MCU_MOTOR1_STEP=PG0 , MCU_MOTOR1_DIR=PG1 , MCU_MOTOR1_ENABLE=PF15 , MCU_MOTOR1_UART=PD11 , 5 | MCU_MOTOR2_1_STEP=PF11 , MCU_MOTOR2_1_DIR=PG3 , MCU_MOTOR2_1_ENABLE=PG5 , MCU_MOTOR2_1_UART=PC6 , 6 | MCU_MOTOR3_STEP=PG4 , MCU_MOTOR3_DIR=PC1 , MCU_MOTOR3_ENABLE=PA2 , MCU_MOTOR3_UART=PC7 , 7 | MCU_MOTOR4_STEP=PF9 , MCU_MOTOR4_DIR=PF10 , MCU_MOTOR4_ENABLE=PG2 , MCU_MOTOR4_UART=PF2 , 8 | MCU_MOTOR5_STEP=PC13 , MCU_MOTOR5_DIR=PF0 , MCU_MOTOR5_ENABLE=PF1 , MCU_MOTOR5_UART=PE4 , 9 | MCU_MOTOR6_STEP=PE2 , MCU_MOTOR6_DIR=PE3 , MCU_MOTOR6_ENABLE=PD4 , MCU_MOTOR6_UART=PE1 , 10 | MCU_MOTOR7_STEP=PE6 , MCU_MOTOR7_DIR=PA14 , MCU_MOTOR7_ENABLE=PE0 , MCU_MOTOR7_UART=PD3 , 11 | 12 | MCU_STOP0=PG6 , MCU_STOP1=PG9 , MCU_STOP2=PG10 , MCU_STOP3=PG11 , 13 | MCU_STOP4=PG12 , MCU_STOP5=PG13 , MCU_STOP6=PG14 , MCU_STOP7=PG15 , 14 | MCU_PROBE=PB7 , 15 | MCU_SERVOS=PB6 , 16 | 17 | MCU_HE0=PA0 , MCU_HE1=PA3 , MCU_HE2=PB0 , MCU_HE3=PB11 , 18 | 19 | MCU_BED0=PA1 , 20 | 21 | MCU_TB=PF3 , 22 | MCU_T0=PF4 , MCU_T1=PF5 , MCU_T2=PF6 , MCU_T3=PF7 , 23 | 24 | MCU_FAN0=PA8 , MCU_FAN1=PE5 , MCU_FAN2=PD12 , MCU_FAN3=PD13 , MCU_FAN4=PD14 , MCU_FAN5=PD15 , 25 | 26 | MCU_NEOPIXEL=PB10 , 27 | MCU_PS_ON=PE11 , 28 | MCU_POWER_DET=PC0 , 29 | 30 | # EXP1 header 31 | EXP1_1=PE8 , EXP1_2=PE7 , 32 | EXP1_3=PE9 , EXP1_4=PE10 , 33 | EXP1_5=PE12 , EXP1_6=PE13 , # Slot in the socket on this side 34 | EXP1_7=PE14 , EXP1_8=PE15 , 35 | EXP1_9= , EXP1_10=<5V> , 36 | 37 | # EXP2 header 38 | EXP2_1=PA6 , EXP2_2=PA5 , 39 | EXP2_3=PB1 , EXP2_4=PA4 , 40 | EXP2_5=PB2 , EXP2_6=PA7 , # Slot in the socket on this side 41 | EXP2_7=PC15 , EXP2_8= , 42 | EXP2_9= , EXP2_10=<5V> , 43 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_SKR_3.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_XM_STEP=PD4 , MCU_XM_DIR=PD3 , MCU_XM_ENABLE=PD6 , MCU_XM_UART=PD5 , 4 | MCU_YM_STEP=PA15 , MCU_YM_DIR=PA8 , MCU_YM_ENABLE=PD1 , MCU_YM_UART=PD0 , 5 | MCU_ZM_STEP=PE2 , MCU_ZM_DIR=PE3 , MCU_ZM_ENABLE=PE0 , MCU_ZM_UART=PE1 , 6 | MCU_E0M_STEP=PD15 , MCU_E0M_DIR=PD14 , MCU_E0M_ENABLE=PC7 , MCU_E0M_UART=PC6 , 7 | MCU_E1M_STEP=PD11 , MCU_E1M_DIR=PD10 , MCU_E1M_ENABLE=PD13 , MCU_E1M_UART=PD12 , 8 | 9 | MCU_MOTSPI_MISO=PE15 , MCU_MOTSPI_MOSI=PE13 , MCU_MOTSPI_SCK=PE14 , 10 | 11 | MCU_XSTOP=PC1 , MCU_YSTOP=PC3 , MCU_ZSTOP=PC0 , 12 | MCU_E0DET=PC2 , MCU_E1DET=PA0 , MCU_PWRDET=PC15 , 13 | 14 | MCU_HE0=PB3 , MCU_HE1=PB4 , 15 | MCU_BED=PD7 , 16 | 17 | MCU_PSON=PE4 , 18 | 19 | MCU_TB=PA1 , MCU_TH0=PA2 , MCU_TH1=PA3 , 20 | 21 | MCU_FAN0=PB7 , MCU_FAN1=PB6 , MCU_FAN2=PB5 , 22 | 23 | MCU_RGB=PE6 , 24 | 25 | MCU_SERVOS=PE5 , MCU_PROBE=PC13 , 26 | 27 | # EXP1 header 28 | EXP1_1=PC5 , EXP1_2=PB0 , 29 | EXP1_3=PB1 , EXP1_4=PE8 , 30 | EXP1_5=PE9 , EXP1_6=PE10 , # Key in the socket on this side 31 | EXP1_7=PE11 , EXP1_8=PE12 , 32 | EXP1_9= , EXP1_10=<5V> , 33 | 34 | # EXP2 header 35 | EXP2_1=PA6 , EXP2_2=PA5 , 36 | EXP2_3=PE7 , EXP2_4=PA4 , 37 | EXP2_5=PB2 , EXP2_6=PA7 , # Key in the socket on this side 38 | EXP2_7=PC4 , EXP2_8= , 39 | EXP2_9= , EXP2_10= , 40 | 41 | # TFT header 42 | MCU_TFT_1=<5V> , 43 | MCU_TFT_2= , 44 | MCU_TFT_3=PA9 , 45 | MCU_TFT_4=PA10 , 46 | MCU_TFT_5= , 47 | 48 | # Mini-SD 49 | MCU_MINISD_DATA1=PC9 , MCU_MINISD_DATA0=PC8 , MCU_MINISD_CLK=PC12 , MCU_MINISD_CMD=PD2 , MCU_MINISD_DATA3=PC11 , MCU_MINISD_DATA2=PC10 , 50 | 51 | # WIFI 52 | MCU_WIFI_GND= , MCU_WIFI_VCC=<3.3V> , 53 | MCU_WIFI_IO15=PB12 , MCU_WIFI_IO13=PB15 , 54 | MCU_WIFI_IO2= , MCU_WIFI_IO12=PB14 , 55 | MCU_WIFI_IO0=PB10 , MCU_WIFI_IO14=PB13 , 56 | MCU_WIFI_IO4=PB11 , MCU_WIFI_IO16= , 57 | MCU_WIFI_IO5= , MCU_WIFI_EN= , 58 | MCU_WIFI_RXD=PD8 , MCU_WIFI_ADC= , 59 | MCU_WIFI_TXD=PD9 , MCU_WIFI_RST=PC14 , 60 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_SKR_Mini_E3_v2.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_XM_STEP=PB13 , MCU_XM_DIR=PB12 , MCU_XM_ENABLE=PB14 , 4 | MCU_YM_STEP=PB10 , MCU_YM_DIR=PB2 , MCU_YM_ENABLE=PB11 , 5 | MCU_ZM_STEP=PB0 , MCU_ZM_DIR=PC5 , MCU_ZM_ENABLE=PB1 , 6 | MCU_EM_STEP=PB3 , MCU_EM_DIR=PB4 , MCU_EM_ENABLE=PD2 , 7 | MCU_TMCUART=PC11 , MCU_TMCTX=PC10 , 8 | 9 | MCU_XSTOP=PC0 , MCU_YSTOP=PC1 , MCU_ZSTOP=PC2 , 10 | MCU_E0STOP=PC15 , MCU_PS_ON=PC13 , MCU_PWRDET=PC12 , 11 | 12 | MCU_HE0=PC8 , 13 | MCU_BED=PC9 , 14 | 15 | MCU_TH0=PA0 , 16 | MCU_TB=PC3 , 17 | 18 | MCU_FAN0=PC6 , MCU_FAN1=PC7 , 19 | 20 | MCU_SERVOS=PA1 , 21 | 22 | MCU_PROBE=PC14 , 23 | 24 | MCU_NEOPIXEL=PA8 , 25 | 26 | # EXP1 header 27 | EXP1_1=<5V> , EXP1_2= , 28 | EXP1_3=PB15 , EXP1_4=PB8 , 29 | EXP1_5=PB9 , EXP1_6=PA10 , # Key in the socket on this side 30 | EXP1_7= , EXP1_8=PA9 , 31 | EXP1_9=PA15 , EXP1_10=PB5 , 32 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_SKR_Mini_E3_v3.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_XM_STEP=PB13 , MCU_XM_DIR=PB12 , MCU_XM_ENABLE=PB14 , 4 | MCU_YM_STEP=PB10 , MCU_YM_DIR=PB2 , MCU_YM_ENABLE=PB11 , 5 | MCU_ZM_STEP=PB0 , MCU_ZM_DIR=PC5 , MCU_ZM_ENABLE=PB1 , 6 | MCU_EM_STEP=PB3 , MCU_EM_DIR=PB4 , MCU_EM_ENABLE=PD1 , 7 | MCU_TMCUART=PC11 , MCU_TMCTX=PC10 , 8 | 9 | MCU_XSTOP=PC0 , MCU_YSTOP=PC1 , MCU_ZSTOP=PC2 , 10 | MCU_E0STOP=PC15 , MCU_PS_ON=PC13 , MCU_PWRDET=PC12 , 11 | 12 | MCU_HE0=PC8 , 13 | MCU_BED=PC9 , 14 | 15 | MCU_TH0=PA0 , 16 | MCU_THB=PC4 , 17 | 18 | MCU_FAN0=PC6 , MCU_FAN1=PC7 , MCU_FAN2=PB15 , 19 | 20 | # Z-Probe Header 21 | MCU_SERVOS=PA1 , MCU_PROBE=PC14 , 22 | 23 | # Neopixel1 Header 24 | MCU_NEOPIXEL=PA8 , 25 | 26 | # EXP1 header 27 | EXP1_1=<5V> , EXP1_2= , 28 | EXP1_3=PD6 , EXP1_4=PB8 , 29 | EXP1_5=PB9 , EXP1_6=PA10 , # Key in the socket on this side 30 | EXP1_7= , EXP1_8=PA9 , 31 | EXP1_9=PA15 , EXP1_10=PB5 , 32 | 33 | # SPI1 header 34 | MCU_SPI1_MOSI=PA7 , MCU_SPI1_MISO=PA6 , MCU_SPI1_SCK=PA5 , MCU_SPI1_CS=PD9 , 35 | 36 | # I/O header 37 | MCU_IO0=PD0 , MCU_IO1=PD2 , MCU_IO2=PD3 , MCU_IO3=PD4 , MCU_IO4=PD5 38 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_SKR_Pico_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_X_STEP=gpio11 , MCU_X_DIR=gpio10 , MCU_X_EN=gpio12 , 4 | MCU_Y_STEP=gpio6 , MCU_Y_DIR=gpio5 , MCU_Y_EN=gpio7 , 5 | MCU_Z_STEP=gpio19 , MCU_Z_DIR=gpio28 , MCU_Z_EN=gpio2 , 6 | MCU_E0_STEP=gpio14 , MCU_E0_DIR=gpio13 , MCU_E0_EN=gpio15 , 7 | MCU_TMCUART=gpio9 , MCU_TMCTX=gpio8 , 8 | 9 | MCU_X-STOP=gpio4 , MCU_Y-STOP=gpio3 , MCU_Z-STOP=gpio25 , 10 | MCU_E0-STOP=gpio16 , 11 | 12 | MCU_HE=gpio23 , 13 | MCU_HB=gpio21 , 14 | 15 | MCU_TH0=gpio27 , 16 | MCU_THB=gpio26 , 17 | 18 | MCU_FAN1=gpio17 , MCU_FAN2=gpio18 , MCU_FAN3=gpio20 , 19 | 20 | MCU_SERVOS=gpio29 , 21 | 22 | MCU_PROBE=gpio22 , 23 | 24 | MCU_RGB=gpio24 , 25 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/BTT_SKR_Pro_V1.2.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_XM_STEP=PE9 , MCU_XM_DIR=PF1 , MCU_XM_ENABLE=PF2 , MCU_XM_TMCUART=PC13 , MCU_XM_TMCTX=PE4 , 4 | MCU_YM_STEP=PE11 , MCU_YM_DIR=PE8 , MCU_YM_ENABLE=PD7 , MCU_YM_TMCUART=PE3 , MCU_YM_TMCTX=PE2 , 5 | MCU_ZM_STEP=PE13 , MCU_ZM_DIR=PC2 , MCU_ZM_ENABLE=PC0 , MCU_ZM_TMCUART=PE1 , MCU_ZM_TMCTX=PE0 , 6 | MCU_E0M_STEP=PE14 , MCU_E0M_DIR=PA0 , MCU_E0M_ENABLE=PC3 , MCU_E0M_TMCUART=PD4 , MCU_E0M_TMCTX=PD2 , 7 | MCU_EM1_STEP=PD15 , MCU_EM1_DIR=PE7, MCU_EM1_ENABLE=PA3 , MCU_EM1_TMCUART=PD1 , MCU_EM1_TMCTX=PD0 , 8 | MCU_EM2_STEP=PD13 , MCU_EM2_DIR=PG9, MCU_EM2_ENABLE=PF0 , MCU_EM2_TMCUART=PD6 , MCU_EM2_TMCTX=PD5 , 9 | 10 | 11 | MCU_XSTOP=PB10 , MCU_YSTOP=PE12 , MCU_ZSTOP=PG8 , 12 | MCU_E0STOP=PE15 , MCU_E1STOP=PE10 , MCU_E2STOP=PG5 , 13 | 14 | MCU_HEAT0=PB1 , MCU_HEAT1=PD14 , MCU_HEAT2=PB0 , 15 | MCU_BED=PD12 , 16 | 17 | MCU_T0=PF3 , MCU_T1=PF4 , MCU_T2=PF5 , MCU_T3=PF6 , 18 | 19 | MCU_FAN0=PC8 , MCU_FAN1=PE5 , MCU_FAN2=PE6 , 20 | 21 | # Z-Probe Header 22 | MCU_SERVOS=PA1 , MCU_PROBE=PA2 , 23 | 24 | # EXP1 header 25 | EXP1_1=PG4 , EXP1_2=PA8 , 26 | EXP1_3=PD11 , EXP1_4=PD10 , 27 | EXP1_5=PG2 , EXP1_6=PG3 , # Key in the socket on other side 28 | EXP1_7=PG6 , EXP1_8=PG7 , 29 | EXP1_9= , EXP1_10=<5V> , 30 | 31 | # EXP2 header 32 | EXP2_1=PB14 , EXP2_2=PB13 , 33 | EXP2_3=PG10 , EXP2_4=PB12 , 34 | EXP2_5=PF11 , EXP2_6=PB15 , # Key in the socket on other side 35 | EXP2_7=PF12 , EXP2_8= , 36 | EXP2_9= , EXP2_10=PF13 , 37 | 38 | # SPI header 39 | MCU_SPI_MOSI=PC12 , MCU_SPI_MISO=PC11 , MCU_SPI_SCK=PC10 , MCU_SPI_CS=PA15 , 40 | 41 | # UART header 42 | MCU_UART_RX3=PD9 , MCU_UART_TX3=PD8 , 43 | 44 | # I2C header 45 | MCU_I2C_SDA=PB7 , MCU_I2C_SCL=PB6 , 46 | 47 | # I/O header 48 | MCU_IO0=PD0 , MCU_IO1=PD2 , MCU_IO2=PD3 , MCU_IO3=PD4 , MCU_IO4=PD5 , 49 | 50 | # WIFI header (#_# = ROW_COL) 51 | MCU_WIFI_1_2=PG0 , MCU_WIFI_1_3=PG1 , MCU_WIFI_1_4=PC7, 52 | MCU_WIFI_2_1=PC6 , MCU_WIFI_2_2=PF14 , MCU_WIFI_2_3=PF15 -------------------------------------------------------------------------------- /config/mcu_definitions/main/Fysetc_Catalyst_v1.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_A_MOT_STEP=PC15 , MCU_A_MOT_DIR=PC13 , MCU_A_MOT_ENABLE=PA10 , MCU_A_MOT_CS_PDN=PC14 , MCU_A_MOD_DIAG=PA9 , 4 | MCU_B_MOT_STEP=PC12 , MCU_B_MOT_DIR=PC10 , MCU_B_MOT_ENABLE=PD2 , MCU_B_MOT_CS_PDN=PC11 , MCU_B_MOD_DIAG=PB3 , 5 | MCU_Z_MOT_STEP=PB2 , MCU_Z_MOT_DIR=PC5 , MCU_Z_MOT_ENABLE=PB10 , MCU_Z_MOT_CS_PDN=PC4 , 6 | MCU_E_MOT_STEP=PB6 , MCU_E_MOT_DIR=PB4 , MCU_E_MOT_ENABLE=PB7 , MCU_E_MOT_CS_PDN=PB5 , 7 | MCU_SPI_MOSI=PA7 , MCU_SPI_MISO=PA6 , MCU_SPI_SCK=PA5 , 8 | 9 | MCU_FAN0=PA13 , MCU_FAN1=PA14 , MCU_FAN2=PA8 , 10 | MCU_NEOPIXEL=PC9 , 11 | 12 | MCU_PROBE=PC3 , # aka MCU_IO3 13 | 14 | MCU_IO0=PA0 , MCU_IO1=PA1 , MCU_IO2=PA2 , MCU_IO3=PC3 , 15 | 16 | MCU_HEAT=PC7 , 17 | 18 | MCU_BED=PC8 , 19 | 20 | MCU_T0=PC0 , MCU_T1=PB0 , MCU_T2=PB1 , 21 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/Fysetc_Cheetah_v3.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_XM_STEP=PC0 , MCU_XM_DIR=PC1 , MCU_XM_ENABLE=PC3 , 4 | MCU_YM_STEP=PC14 , MCU_YM_DIR=PC13 , MCU_YM_ENABLE=PC15 , 5 | MCU_ZM_STEP=PB4 , MCU_ZM_DIR=PB5 , MCU_ZM_ENABLE=PC2 , 6 | MCU_EM_STEP=PB2 , MCU_EM_DIR=PA15 , MCU_EM_ENABLE=PD2 , 7 | MCU_TMCUART=PB3 , MCU_TMCTX=PA2 , 8 | 9 | MCU_XSTOP=PA2 , MCU_YSTOP=PA3 , MCU_ZSTOP=PC4 , 10 | MCU_E0STOP=PA1 , 11 | 12 | MCU_HE0=PC7 , 13 | MCU_BED=PC8 , 14 | 15 | MCU_TH0=PC5 , 16 | MCU_THB=PB0 , 17 | MCU_TH2=PB1 , 18 | 19 | MCU_FAN0=PA14 , MCU_FAN1=PA13 , MCU_FAN2=PA8 , 20 | 21 | # Z-Probe Header 22 | MCU_SERVOS=PA0, MCU_PROBE=PC4 , 23 | 24 | # PI Header 25 | MCU_Pi_PWR_UART_TX1=PA9 , 26 | MCU_Pi_PWR_UART_RX1=PA10 , 27 | 28 | # ?? Header 29 | MCU_P2_DP=PA11 , 30 | MCU_P2_DM=PA12 , 31 | 32 | # EXP1 header 33 | EXP1_1= , EXP1_2=<5V> , 34 | EXP1_3=PB7 , EXP1_4=PB6 , 35 | EXP1_5=PB14 , EXP1_6=PB13 , # Slot in the socket on this side 36 | EXP1_7=PB12 , EXP1_8=PB15 , 37 | EXP1_9=PC6 , EXP1_10=PB10 , 38 | 39 | # EXP2 header 40 | EXP2_1= , EXP2_2=<5V> , 41 | EXP2_3= , EXP2_4=PC12 , 42 | EXP2_5=PA7 , EXP2_6=PC11 , # Slot in the socket on this side 43 | EXP2_7=PA4 , EXP2_8=PC10 , 44 | EXP2_9=PA5 ,EXP2_10=PA6 , 45 | 46 | # EXP3 header 47 | EXP3_1=PB10 , EXP3_2=PC6 , 48 | EXP3_3=PC10 , EXP3_4=PB14 , 49 | EXP3_5=PC11 , EXP3_6=PB13 , # Slot in the socket on this side 50 | EXP3_7=PB12 , EXP3_8=PB15 , 51 | EXP3_9= , EXP3_10=<5V> -------------------------------------------------------------------------------- /config/mcu_definitions/main/Fysetc_Spider_v3.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | MCU_X_MOT_STEP=PE11 , MCU_X_MOT_DIR=PE10 , MCU_X_MOT_ENABLE=PE9 , MCU_X_MOT_CS_PDN=PE7 , 4 | MCU_Y_MOT_STEP=PD8 , MCU_Y_MOT_DIR=PB12 , MCU_Y_MOT_ENABLE=PD9 , MCU_Y_MOT_CS_PDN=PE15 , 5 | MCU_Z_MOT_STEP=PD14 , MCU_Z_MOT_DIR=PD13 , MCU_Z_MOT_ENABLE=PD15 , MCU_Z_MOT_CS_PDN=PD10 , 6 | MCU_E0_MOT_STEP=PD5 , MCU_E0_MOT_DIR=PD6 , MCU_E0_MOT_ENABLE=PD4 , MCU_E0_MOT_CS_PDN=PD7 , 7 | MCU_E1_MOT_STEP=PE6 , MCU_E1_MOT_DIR=PC13 , MCU_E1_MOT_ENABLE=PE5 , MCU_E1_MOT_CS_PDN=PC14 , 8 | MCU_E2_MOT_STEP=PE2 , MCU_E2_MOT_DIR=PE4 , MCU_E2_MOT_ENABLE=PE3 , MCU_E2_MOT_CS_PDN=PC15 , 9 | MCU_E3_MOT_STEP=PD12 , MCU_E3_MOT_DIR=PC4 , MCU_E3_MOT_ENABLE=PE8 , MCU_E3_MOT_CS_PDN=PA15 , 10 | MCU_E4_MOT_STEP=PE1 , MCU_E4_MOT_DIR=PE0 , MCU_E4_MOT_ENABLE=PC5 , MCU_E4_MOT_CS_PDN=PD11 , 11 | MCU_SPI4_MOSI=PE14 , MCU_SPI4_MISO=PE13 , MCU_SPI4_SCK=PE12 , 12 | 13 | MCU_X_MIN=PB14 , MCU_Y_MIN=PB13 , MCU_Z_MIN=PA0 , 14 | MCU_X_MAX=PA1 , MCU_Y_MAX=PA2 , MCU_Z_MAX=PA3 , 15 | 16 | MCU_FAN0=PA13 , MCU_FAN1=PA14 , MCU_FAN2=PB2 , MCU_FAN3=PB5 , MCU_FAN4=PB6 , MCU_FAN5=PB7 , 17 | # MCU_RGB_R=PB6 , MCU_RGB_G=PB5 , MCU_RGB_B=PB7 , 18 | MCU_G_DATA_5V=PD3 , 19 | 20 | MCU_HEAT0=PB15 , MCU_HEAT1=PC8 , MCU_HEAT2=PB3 , 21 | 22 | MCU_BED_OUT=PB4 , 23 | 24 | MCU_T0=PC0 , MCU_T1=PC1 , MCU_T2=PC2 , MCU_T3=PC3 , MCU_T4=PB1 , MCU_TB=PB0 , 25 | 26 | # AUX3 header 27 | MCU_AUX3_RST= , MCU_AUX3_GND= , 28 | MCU_AUX3_CS=PA4 , MCU_AUX3_SCK=PA5 , 29 | MCU_AUX3_MOSI=PA7 , MCU_AUX3_MISO=PA6 , 30 | MCU_AUX3_CD=PB10 , MCU_AUX3_5V=<5V> , 31 | 32 | # EXP1 header 33 | EXP1_1=<5V> , EXP1_2= , 34 | EXP1_3=PD1 , EXP1_4=PD0 , 35 | EXP1_5=PC12 , EXP1_6=PC10 , # Slot in the socket on this side 36 | EXP1_7=PD2 , EXP1_8=PC11 , 37 | EXP1_9=PA8 , EXP1_10= PC9 , 38 | 39 | # EXP2 header 40 | EXP2_1=<5V> , EXP2_2= , 41 | EXP2_3= , EXP2_4=PB10 , 42 | EXP2_5=PA7 , EXP2_6=PC7 , # Slot in the socket on this side 43 | EXP2_7=PA4 , EXP2_8=PC6 , 44 | EXP2_9=PA5 , EXP2_10=PA6 , 45 | -------------------------------------------------------------------------------- /config/mcu_definitions/main/Mellow_Fly_Gemini_v3.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mcu_manufacturer] 2 | aliases: 3 | # Stepper drivers 4 | MCU_DRIVE0_EN=PA3, MCU_DRIVE0_STEP=PC13, MCU_DRIVE0_DIR=PC1, MCU_DRIVE0_UART=PB11, # X 5 | MCU_DRIVE1_EN=PD2, MCU_DRIVE1_STEP=PC14, MCU_DRIVE1_DIR=PC4, MCU_DRIVE1_UART=PC10, # Y 6 | MCU_DRIVE2_EN=PC12, MCU_DRIVE2_STEP=PC15, MCU_DRIVE2_DIR=PC5, MCU_DRIVE2_UART=PB7, # Z 7 | MCU_DRIVE3_EN=PC11, MCU_DRIVE3_STEP=PC3, MCU_DRIVE3_DIR=PC8, MCU_DRIVE3_UART=PB6, # E 8 | 9 | # Heaters 10 | MCU_BED=PA2, 11 | MCU_HEAT0=PA0, 12 | 13 | # Thermisors 14 | MCU_THB=PC2, 15 | MCU_TH0=PC0, 16 | 17 | # Fans 18 | MCU_FAN0=PC6, MCU_FAN1=PC7, 19 | 20 | # End stops 21 | MCU_DRIVE0_STOP=PA4, MCU_DRIVE1_STOP=PA5, MCU_DRIVE2_STOP=PA6, MCU_DRIVE3_STOP=PB1, 22 | 23 | # TMC SPI 24 | MCU_TMC_MOSI=PB5, MCU_TMC_MISO=PB4, MCU_TMC_SCK=PB3, 25 | 26 | # CAN TX RX 27 | MCU_CAN_LOW=PB8 , MCU_CAN_HIGH=PB9 , 28 | 29 | # ST-LINK 30 | MCU_STLINK_1= , MCU_STLINK_2=PA14 , MCU_STLINK_3=PA13 , MCU_STLINK_4= , MCU_STLINK_5=<3.3V> , MCU_STLINK_6=<5V> , 31 | 32 | # EXP1 header 33 | EXP1_1=PC9, EXP1_3=PA13, EXP1_5=PA9, EXP1_7=, EXP1_9=, 34 | EXP1_2=PB10, EXP1_4=PA10, EXP1_6=PA8, EXP1_8=, EXP1_10=<5V>, 35 | # EXP2 header 36 | EXP2_1=PB14, EXP2_3=PA15, EXP2_5=PA14, EXP2_7=PA7, EXP2_9=, 37 | EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10=, 38 | 39 | 40 | # BL Touch 41 | MCU_SERVO=PB0, # BL Touch servo pin 42 | MCU_PROBE=PA1 # BL Touch end stop pin -------------------------------------------------------------------------------- /config/mcu_definitions/mmu/BTT_MMB_CAN_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mmu_manufacturer] 2 | mcu: mmu 3 | aliases: 4 | MCU_M1_STEP=PB15 , MCU_M1_DIR=PB14 , MCU_M1_EN=PA8 , MCU_M1_UART=PA10 , # MCU_M1_DIAG=PA3 , 5 | MCU_M2_STEP=PD2 , MCU_M2_DIR=PB13 , MCU_M2_EN=PD1 , MCU_M2_UART=PC7 , # MCU_M2_DIAG=PA4 , 6 | MCU_M3_STEP=PD0 , MCU_M3_DIR=PD3 , MCU_M3_EN=PA15 , MCU_M3_UART=PC6 , MCU_M3_DIAG=PB9 , 7 | MCU_M4_STEP=PB6 , MCU_M4_DIR=PB7 , MCU_M4_EN=PB5 , MCU_M4_UART=PA9 , # MCU_M4_DIAG=PB8 , 8 | 9 | MCU_MISO=PA6 , MCU_SCK=PA5 , MCU_MOSI=PA7 , 10 | 11 | MCU_STP1=PA3 , MCU_STP2=PA4 , MCU_STP3=PB9 , # Shared with Steppers Diag pins 1-2-4 so it's better to use STP 4-11 for others servos/sensors 12 | MCU_STP4=PB8 , MCU_STP5=PC15 , MCU_STP6=PC13 , MCU_STP7=PC14 , MCU_STP8=PB12 , MCU_STP9=PB11 , MCU_STP10=PB10 , MCU_STP11=PB2 , 13 | 14 | 15 | MCU_MOT=PA0 , 16 | MCU_SENSOR=PA1 , 17 | MCU_RGB=PA2 , 18 | 19 | ## I2C header 20 | MCU_I2C_SDA=PB4 , MCU_I2C_SCL=PB3 , 21 | 22 | ## SWD header 23 | MCU_SWD_PA14=PA14 , MCU_SWD_PA13=PA13 , 24 | -------------------------------------------------------------------------------- /config/mcu_definitions/mmu/BTT_SKR_Pico_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mmu_manufacturer] 2 | mcu: mmu 3 | aliases: 4 | MCU_X_STEP=gpio11 , MCU_X_DIR=gpio10 , MCU_X_EN=gpio12 , 5 | MCU_Y_STEP=gpio6 , MCU_Y_DIR=gpio5 , MCU_Y_EN=gpio7 , 6 | MCU_Z_STEP=gpio19 , MCU_Z_DIR=gpio28 , MCU_Z_EN=gpio2 , 7 | MCU_E0_STEP=gpio14 , MCU_E0_DIR=gpio13 , MCU_E0_EN=gpio15 , 8 | MCU_TMCUART=gpio9 , MCU_TMCTX=gpio8 , 9 | 10 | MCU_X-STOP=gpio4 , MCU_Y-STOP=gpio3 , MCU_Z-STOP=gpio25 , 11 | MCU_E0-STOP=gpio16 , 12 | 13 | MCU_HE=gpio23 , 14 | MCU_HB=gpio21 , 15 | 16 | MCU_TH0=gpio27 , 17 | MCU_THB=gpio26 , 18 | 19 | MCU_FAN1=gpio17 , MCU_FAN2=gpio18 , MCU_FAN3=gpio20 , 20 | 21 | MCU_SERVOS=gpio29 , 22 | 23 | MCU_PROBE=gpio22 , 24 | 25 | MCU_RGB=gpio24 , 26 | -------------------------------------------------------------------------------- /config/mcu_definitions/mmu/Fysetc_ERCF_ERB.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mmu_manufacturer] 2 | mcu: mmu 3 | aliases: 4 | MCU_GEAR_MOTOR_STEP=gpio10 , MCU_GEAR_MOTOR_DIR=gpio9 , MCU_GEAR_MOTOR_EN=gpio8 , MCU_GEAR_MOTOR_UART=gpio20 , 5 | MCU_GEAR_MOTOR_DIAG=gpio13 , 6 | MCU_SELECTOR_MOTOR_STEP=gpio16 , MCU_SELECTOR_MOTOR_DIR=gpio15 , MCU_SELECTOR_MOTOR_EN=gpio14 , MCU_SELECTOR_MOTOR_UART=gpio17 , 7 | MCU_SELECTOR_MOTOR_DIAG=gpio19 , 8 | 9 | MCU_HALL_SENSOR=gpio25 , 10 | MCU_ENDSTOP=gpio24 , 11 | MCU_SERVO=gpio23 , 12 | MCU_ENCODER=gpio22 , 13 | MCU_RGB=gpio21 , 14 | 15 | # EXTRA PINS header 16 | MCU_0=gpio0 , MCU_1=gpio1 , 17 | MCU_2=gpio2 , MCU_3=gpio3 , 18 | MCU_4=gpio4 , MCU_5=gpio5 , 19 | MCU_6=gpio6 , MCU_7=gpio7 , 20 | MCU_26=gpio26 , MCU_27=gpio27 , 21 | MCU_28=gpio28 , MCU_29=gpio29 , 22 | GND= , 5V=<5V> , 23 | -------------------------------------------------------------------------------- /config/mcu_definitions/mmu/Mellow_fly_ERCF.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mmu_manufacturer] 2 | mcu: mmu 3 | aliases: 4 | MCU_GEAR_STEP=gpio7 , MCU_GEAR_DIR=gpio8 , MCU_GEAR_EN=gpio6 , MCU_GEAR_UART=gpio9 , 5 | MCU_GEAR_DIAG=gpio23 , 6 | MCU_SELECTOR_STEP=gpio2 , MCU_SELECTOR_DIR=gpio1 , MCU_SELECTOR_EN=gpio3 , MCU_SELECTOR_UART=gpio0 , 7 | MCU_SELECTOR_DIAG=gpio22 , 8 | 9 | MCU_ENDSTOP=gpio20 , 10 | MCU_SERVO=gpio21 , 11 | MCU_ENCODER=gpio15 , 12 | MCU_EXTRA=gpio14 , 13 | 14 | MCU_MISO=gpio16 , MCU_MOSI=gpio18 , MCU_SCK=gpio19 , 15 | 16 | GND= , GND= , 17 | 3.3V=<3.3V> , 3.3V=<3.3V> , 18 | MCU_IO26=gpio26 , MCU_IO10=gpio10 , 19 | MCU_IO27=gpio27 , MCU_IO11=gpio11 , 20 | MCU_IO28=gpio28 , MCU_IO12=gpio12 , 21 | MCU_IO29=gpio29 , MCU_IO24=gpio24 , 22 | MCU_IO25=gpio25 , MCU_IO13=gpio13 , 23 | -------------------------------------------------------------------------------- /config/mcu_definitions/mmu/Tircown_ERCF_easy_brd.cfg: -------------------------------------------------------------------------------- 1 | [board_pins mmu_manufacturer] 2 | mcu: mmu 3 | aliases: 4 | MCU_GEAR_STEP=PA4 , MCU_GEAR_DIR=PA10 , MCU_GEAR_ENABLE=PA2 , 5 | MCU_SELECTOR_STEP=PA9 , MCU_SELECTOR_DIR=PB8 , MCU_SELECTOR_ENABLE=PA11 , MCU_SELECTOR_DIAG=PA7, 6 | MCU_TMCUART=PA8 , 7 | 8 | MCU_SELECTOR_STOP=PB9 , 9 | 10 | MCU_SERVO=PA5, 11 | 12 | MCU_ENCODER=PA6, 13 | -------------------------------------------------------------------------------- /config/mcu_definitions/rpi.cfg: -------------------------------------------------------------------------------- 1 | [mcu rpi] 2 | serial: /tmp/klipper_host_mcu 3 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_EBB36-42_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_TMCDRIVER_STEP=PA9 , MCU_TMCDRIVER_DIR=PA8 , MCU_TMCDRIVER_ENABLE=PA10 , MCU_TMCDRIVER_UART=PA13 , 5 | 6 | MCU_ENDSTOP1=PC13 , MCU_ENDSTOP2=PC14 , MCU_ENDSTOP3=PC15 , 7 | MCU_PROBE=PA5 , 8 | MCU_SERVOS=PA4 , 9 | 10 | MCU_HOTEND0=PB1 , 11 | MCU_TH0=PA0 , 12 | 13 | MCU_FAN0=PA1 , MCU_FAN1=PA2 , 14 | 15 | MCU_RGB=PA3 , 16 | 17 | MCU_SPI1_CS=PA15 , MCU_SPI1_SCLK=PB3 , MCU_SPI1_MISO=PB4 , MCU_SPI1_MOSI=PB5 , 18 | MCU_SPI2_CS=PB12 , MCU_SPI2_SCLK=PB13 , MCU_SPI2_MISO=PB14 , MCU_SPI2_MOSI=PB15 , 19 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_EBB36-42_v1.1.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_TMCDRIVER_STEP=PD0 , MCU_TMCDRIVER_DIR=PD1 , MCU_TMCDRIVER_ENABLE=PD2 , MCU_TMCDRIVER_UART=PA15 , 5 | 6 | MCU_ENDSTOP1=PB6 , MCU_ENDSTOP2=PB5 , MCU_ENDSTOP3=PB7 , 7 | MCU_PROBE=PB8 , 8 | MCU_SERVOS=PB9 , 9 | 10 | MCU_HOTEND0=PA2 , 11 | MCU_TH0=PA3 , 12 | 13 | MCU_FAN1=PA0 , MCU_FAN2=PA1 , 14 | 15 | MCU_RGB=PD3 , 16 | 17 | MCU_SPI1_CS=PA4 , MCU_SPI1_SCLK=PA5 , MCU_SPI1_MISO=PA6 , MCU_SPI1_MOSI=PA7 , 18 | MCU_SPI2_CS=PB12 , MCU_SPI2_SCLK=PB10 , MCU_SPI2_MISO=PB2 , MCU_SPI2_MOSI=PB11 , 19 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_EBB36-42_v1.2.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_TMCDRIVER_STEP=PD0 , MCU_TMCDRIVER_DIR=PD1 , MCU_TMCDRIVER_ENABLE=PD2 , MCU_TMCDRIVER_UART=PA15 , 5 | 6 | MCU_ENDSTOP1=PB6 , MCU_ENDSTOP2=PB5 , MCU_ENDSTOP3=PB7 , 7 | MCU_PROBE=PB8 , 8 | MCU_SERVOS=PB9 , 9 | 10 | MCU_HOTEND0=PB13 , 11 | MCU_TH0=PA3 , 12 | 13 | MCU_FAN1=PA0 , MCU_FAN2=PA1 , 14 | 15 | MCU_RGB=PD3 , 16 | 17 | MCU_SPI1_CS=PA4 , MCU_SPI1_SCLK=PA5 , MCU_SPI1_MISO=PA6 , MCU_SPI1_MOSI=PA7 , 18 | MCU_SPI2_CS=PB12 , MCU_SPI2_SCLK=PB10 , MCU_SPI2_MISO=PB2 , MCU_SPI2_MOSI=PB11 , 19 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_SB2209_RP2040_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | 5 | MCU_E0_STEP=gpio18 , MCU_E0_DIR=gpio19 , MCU_E0_EN=gpio17 , MCU_E0_UART=gpio20 , 6 | 7 | MCU_ENDSTOP=gpio24 , 8 | MCU_PROBE1=gpio21 , MCU_PROBE2=gpio22 , 9 | 10 | MCU_HE0=gpio7 , 11 | MCU_TH0=gpio27 , 12 | 13 | MCU_ONBOARD_NTCK100K=gpio28 , 14 | 15 | MCU_IND_FAN=gpio6 , 16 | MCU_FAN1_PWM=gpio14 , MCU_FAN2_PWM=gpio13 , 17 | MCU_4WFAN_TACH=gpio12 , MCU_4WFAN_PWM=gpio15 , 18 | 19 | MCU_31865_MOSI=gpio8 , MCU_31865_CS=gpio9 , MCU_31865_CLK=gpio10 , MCU_31865_MISO=gpio11 , 20 | MCU_ADXL345_MOSI=gpio0 , MCU_ADXL345_CS=gpio1 , MCU_ADXL345_CLK=gpio2 , MCU_ADXL345_MISO=gpio3 , 21 | 22 | MCU_RGB=gpio16 , 23 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_SB2209_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_MOTORDRIVE_STEP=PD0 , MCU_MOTORDRIVE_DIR=PD1 , MCU_MOTORDRIVE_ENABLE=PD2 , MCU_MOTORDRIVE_UART=PA15 , 5 | MCU_MOTORDRIVE_DIAG=PB3 , 6 | 7 | MCU_STOP1=PB6 , MCU_STOP2=PB5 , MCU_STOP3=PB7 , 8 | MCU_PROBE=PB8 , 9 | MCU_SERVOS=PB9 , 10 | 11 | MCU_HE0=PB13 , 12 | MCU_TH0=PA3 , 13 | MCU_NTC=PA2 , 14 | 15 | MCU_FAN1_PWM=PA0 , MCU_FAN2_PWM=PA1 , 16 | MCU_4WFAN_TACH=PB15 , MCU_4WFAN_PWM=PB14 , 17 | 18 | MCU_RGB=PD3 , 19 | MCU_PS=PC13 , 20 | 21 | MCU_SPI1_NSS=PA4 , MCU_SPI1_CLK=PA5 , MCU_SPI1_MISO=PA6 , MCU_SPI1_MOSI=PA7 , 22 | MCU_SPI2_NSS=PB12 , MCU_SPI2_CLK=PB10 , MCU_SPI2_MISO=PB2 , MCU_SPI2_MOSI=PB11 , 23 | MCU_SPI_OUT_NSS=PA10 , MCU_SPI_OUT_IO1 = PA9 , MCU_SPI_OUT_IO2 = PA8 , # shared pins between SPI2 and SPI_OUT 24 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/BTT_SB2240_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_MOTORDRIVE_STEP=PD0 , MCU_MOTORDRIVE_DIR=PD1 , MCU_MOTORDRIVE_ENABLE=PD2 , MCU_MOTORDRIVE_DIAG=PB3 , 5 | MCU_MOTOR_SPI_NSS=PA15 , # CLK/MOSI/MISO are shared with SPI2 configuration 6 | 7 | MCU_STOP1=PB6 , MCU_STOP2=PB5 , MCU_STOP3=PB7 , 8 | MCU_PROBE=PB8 , 9 | MCU_SERVOS=PB9 , 10 | 11 | MCU_HE0=PB13 , 12 | MCU_TH0=PA3 , 13 | MCU_NTC=PA2 , 14 | 15 | MCU_FAN1_PWM=PA0 , MCU_FAN2_PWM=PA1 , 16 | MCU_4WFAN_TACH=PB15 , MCU_4WFAN_PWM=PB14 , 17 | 18 | MCU_RGB=PD3 , 19 | MCU_PS=PC13 , 20 | 21 | MCU_SPI1_NSS=PA4 , MCU_SPI1_CLK=PA5 , MCU_SPI1_MISO=PA6 , MCU_SPI1_MOSI=PA7 , 22 | MCU_SPI2_NSS=PB12 , MCU_SPI2_CLK=PB10 , MCU_SPI2_MISO=PB2 , MCU_SPI2_MOSI=PB11 , 23 | MCU_SPI_OUT_NSS=PA10 , MCU_SPI_OUT_IO1 = PA9 , MCU_SPI_OUT_IO2 = PA8 , # shared pins between SPI2 and SPI_OUT 24 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Fysetc_SB_Can_TH_v1.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_TMCDRIVER_STEP=PA7 , MCU_TMCDRIVER_DIR=PA5 , MCU_TMCDRIVER_ENABLE=PB4 , MCU_TMCDRIVER_UART=PA10 , 5 | MCU_EXT_DIAG=PB5 , MCU_TMCDRIVER_TX=PA9 , 6 | 7 | MCU_PROBE=PB6 , MCU_IO1=PB11 , MCU_IO2=PB7 , 8 | 9 | MCU_HE0=PA8 , 10 | MCU_TE0=PA0 , 11 | 12 | MCU_FAN0_PWM=PA2 , MCU_FAN1_PWM=PA3 , 13 | 14 | MCU_RGB=PB1 , MCU_STATUS=PA1 , 15 | 16 | MCU_ADXL345_CSPIN=PB12 , MCU_ADXL345_CLK=PB13 , MCU_ADXL345_MISO=PB14 , MCU_ADXL345_MOSI=PB15 , 17 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/LDO_Nitehawk-SB_v1.0.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EMOT_EN=gpio25 , MCU_EMOT_STEP=gpio23 , MCU_EMOT_DIR=gpio24 , MCU_EMOT_UART=gpio0 , MCU_EMOT_TX=gpio1 , 5 | 6 | MCU_ENDSTOP_X=gpio13 , MCU_ENDSTOP_Y=gpio12 , 7 | MCU_HV_ENDSTOP=gpio10 , 8 | 9 | MCU_FAN0=gpio5 , MCU_FAN1=gpio6 , 10 | MCU_PWM0=gpio16 , MCU_PWM1=gpio17 , 11 | 12 | MCU_TEMP=gpio29 , 13 | 14 | MCU_HEAT=gpio9 , MCU_HEAT_CHAMBER=gpio28 , MCU_NH_TEMP=gpio26 , 15 | 16 | MCU_RGB=gpio7 , MCU_ACTIVITY_LED=gpio8 , 17 | 18 | MCU_ADXL_CS=gpio21 , MCU_ADXL_SCK=gpio18 , MCU_ADXL_MOSI=gpio20 , MCU_ADXL_MISO=gpio19 , 19 | 20 | MCU_FS=gpio3 , MCU_SU=gpio2 , MCU_ST_UART_TX=gpio1 , MCU_ST_UART_RX=gpio0 , 21 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SB2040_Pro.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EMOT_EN=gpio7 , MCU_EMOT_STEP=gpio9 , MCU_EMOT_DIR=gpio10 , MCU_EMOT_CS=gpio8 , 5 | 6 | MCU_5V_ENDSTOP=gpio28 , 7 | MCU_ENDSTOP=gpio29 , 8 | MCU_HV_ENDSTOP=gpio25 , 9 | 10 | MCU_FAN0=gpio13 , MCU_FAN1=gpio14 , MCU_FAN2=gpio15 , 11 | 12 | MCU_TEMP=gpio27 , MCU_ONBOARD_NTCK100K=gpio26 , 13 | 14 | MCU_HEAT=gpio6 , 15 | 16 | MCU_RGB=gpio12 , 17 | MCU_PWM0=gpio16 , MCU_PWM1=gpio17 , 18 | 19 | MCU_ADXL_CS=gpio1 , MCU_ADXL_SCK=gpio0 , MCU_ADXL_MOSI=gpio3 , MCU_ADXL_MISO=gpio2 , # gpio0-2-3 share with EMOT SPI!!! 20 | MCU_MAX31865_CS=gpio22 , MCU_MAX31865_SCK=gpio18 , MCU_MAX31865_MOSI=gpio19 , MCU_MAX31865_MISO=gpio23 , 21 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SB2040_v1.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EMOT_EN=gpio7 , MCU_EMOT_STEP=gpio9 , MCU_EMOT_DIR=gpio10 , MCU_EMOT_UART=gpio8 , 5 | 6 | MCU_5V_ENDSTOP=gpio28 , 7 | MCU_ENDSTOP=gpio29 , 8 | MCU_HV_ENDSTOP=gpio25 , 9 | 10 | MCU_FAN0=gpio13 , MCU_FAN1=gpio14 , MCU_FAN2=gpio15 , 11 | 12 | MCU_TEMP=gpio27 , MCU_ONBOARD_NTCK100K=gpio26 , 13 | 14 | MCU_HEAT=gpio6 , 15 | 16 | MCU_RGB=gpio12 , 17 | MCU_PWM0=gpio16 , MCU_PWM1=gpio17 , 18 | 19 | MCU_ADXL_CS=gpio1 , MCU_ADXL_SCK=gpio0 , MCU_ADXL_MOSI=gpio3 , MCU_ADXL_MISO=gpio2 , 20 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SB2040_v2.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EMOT_EN=gpio7 , MCU_EMOT_STEP=gpio9 , MCU_EMOT_DIR=gpio10 , MCU_EMOT_UART=gpio8 , 5 | 6 | MCU_5V_ENDSTOP=gpio28 , 7 | MCU_ENDSTOP=gpio29 , 8 | MCU_HV_ENDSTOP=gpio25 , 9 | 10 | MCU_FAN0=gpio13 , MCU_FAN1=gpio14 , MCU_FAN2=gpio15 , 11 | 12 | MCU_TEMP=gpio27 , MCU_ONBOARD_NTCK100K=gpio26 , 13 | 14 | MCU_HEAT=gpio6 , 15 | 16 | MCU_RGB=gpio12 , 17 | MCU_PWM0=gpio16 , MCU_PWM1=gpio17 , 18 | 19 | MCU_ADXL_CS=gpio1 , MCU_ADXL_SCK=gpio0 , MCU_ADXL_MOSI=gpio3 , MCU_ADXL_MISO=gpio2 , 20 | MCU_MAX31865_CS=gpio22 , MCU_MAX31865_SCK=gpio18 , MCU_MAX31865_MOSI=gpio19 , MCU_MAX31865_MISO=gpio23 , 21 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SHT36-42_v1.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EXT_EN=PA15 , MCU_EXT_STEP=PB4 , MCU_EXT_DIR=PB3 , MCU_EXT_UART=PB5 , 5 | 6 | MCU_LIMIT_0=PA0 , MCU_LIMIT_1=PA1 , MCU_LIMIT_2=PA2 , 7 | 8 | MCU_PROBE_1=PC15 , MCU_PROBE_2=PB1 , 9 | 10 | MCU_FAN0=PB11 , MCU_FAN1=PB10 , 11 | 12 | MCU_TH0=PB0 , MCU_PT100=PA3 , 13 | 14 | MCU_HE0=PA8 , 15 | 16 | MCU_RGBLED=PB15 , 17 | 18 | MCU_ADXL=PA4 , 19 | 20 | MCU_AUX0=PB2 , 21 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SHT36_v2.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EXT_EN=PA15 , MCU_EXT_STEP=PB4 , MCU_EXT_DIR=PB3 , MCU_EXT_UART=PB5 , MCU_EXT_DIAG=PB6 , 5 | 6 | MCU_LIMIT_0=PA1 , MCU_LIMIT_1=PA2 , 7 | 8 | MCU_PROBE_1=PC15 , MCU_PROBE_2=PB1 , 9 | 10 | MCU_FAN0=PB10 , MCU_FAN1=PB11 , 11 | 12 | MCU_TH0=PA3 , MCU_PT100=PB12 , MCU_TC0=PA4 , 13 | 14 | MCU_HE0=PA8 , 15 | 16 | MCU_RGBLED=PB0 , 17 | 18 | MCU_ADXL=PA9 , 19 | -------------------------------------------------------------------------------- /config/mcu_definitions/toolhead/Mellow_SHT36_v3.x.cfg: -------------------------------------------------------------------------------- 1 | [board_pins toolhead_manufacturer] 2 | mcu: toolhead 3 | aliases: 4 | MCU_EXT_EN=gpio14 , MCU_EXT_STEP=gpio7 , MCU_EXT_DIR=gpio6 , MCU_EXT_UART=gpio15 , MCU_EXT_DIAG= , 5 | 6 | MCU_LIMIT_0=gpio20 , MCU_LIMIT_1=gpio16 , 7 | 8 | MCU_PROBE_1=gpio22 , MCU_PROBE_2=gpio24 , 9 | 10 | MCU_FAN0=gpio13 , MCU_FAN1=gpio21 , 11 | 12 | MCU_TH0=gpio27 , MCU_PT100=gpio17 , MCU_TC0= , 13 | 14 | MCU_HE0=gpio23 , 15 | 16 | MCU_RGBLED=gpio26 , 17 | 18 | MCU_SW_SCK=gpio2 , MCU_SW_MISO=gpio4 , MCU_SW_MOSI=gpio3 , 19 | MCU_LIS2DW_CS=gpio12 , 20 | MCU_MAX31865_CS=gpio17 , 21 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_120mm.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | 13 | [bed_mesh] 14 | speed: 350 15 | horizontal_move_z: 20 16 | mesh_min: 7, 21.75 17 | mesh_max: 105, 113 18 | probe_count: 5, 5 19 | fade_start: 0.6 20 | fade_end: 10.0 21 | algorithm: bicubic 22 | zero_reference_position: 60, 60 23 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_180mm.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | 13 | [bed_mesh] 14 | speed: 350 15 | horizontal_move_z: 20 16 | mesh_min: 30, 30 17 | mesh_max: 170, 170 18 | probe_count: 5, 5 19 | fade_start: 0.6 20 | fade_end: 10.0 21 | algorithm: bicubic 22 | zero_reference_position: 90, 90 23 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_250mm.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | 13 | [bed_mesh] 14 | speed: 350 15 | horizontal_move_z: 20 16 | mesh_min: 25, 25 17 | mesh_max: 225, 225 18 | probe_count: 7, 7 19 | fade_start: 0.6 20 | fade_end: 10.0 21 | algorithm: bicubic 22 | zero_reference_position: 125, 125 23 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_300mm.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | 13 | [bed_mesh] 14 | speed: 350 15 | horizontal_move_z: 20 16 | mesh_min: 25, 25 17 | mesh_max: 275, 275 18 | probe_count: 9, 9 19 | fade_start: 0.6 20 | fade_end: 10.0 21 | algorithm: bicubic 22 | zero_reference_position: 150, 150 23 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_350mm.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | 13 | [bed_mesh] 14 | speed: 350 15 | horizontal_move_z: 20 16 | mesh_min: 25, 25 17 | mesh_max: 325, 325 18 | probe_count: 9, 9 19 | fade_start: 0.6 20 | fade_end: 10.0 21 | algorithm: bicubic 22 | zero_reference_position: 175, 175 23 | -------------------------------------------------------------------------------- /config/software/bed_mesh/bed_mesh_mk52.cfg: -------------------------------------------------------------------------------- 1 | # If this files is included, then it also activate the bed_mesh 2 | # automatically in the START_PRINT macro 3 | [gcode_macro _USER_VARIABLES] 4 | variable_bed_mesh_enabled: True 5 | gcode: 6 | 7 | # Also include directly the dockable probe overide of BED_MESH_CALIBRATE from here 8 | [include ../../../macros/base/probing/overrides/bed_mesh_calibrate.cfg] 9 | # And also include the adaptive mesh macro at the same time 10 | [include ../../../macros/calibration/adaptive_bed_mesh.cfg] 11 | 12 | [bed_mesh] 13 | speed: 350 14 | horizontal_move_z: 20 15 | mesh_min: 25, 35 16 | mesh_max: 225, 215 17 | probe_count: 7, 7 18 | fade_start: 0.6 19 | fade_end: 10.0 20 | algorithm: bicubic 21 | -------------------------------------------------------------------------------- /config/software/firmware_rectraction.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_firmware_retraction_enabled: True 3 | gcode: 4 | 5 | [firmware_retraction] 6 | # G10 to retract and G11 to unrectract 7 | retract_length: 0.4 8 | # unretract_extra_length: 0 9 | retract_speed: 30 10 | unretract_speed: 30 11 | -------------------------------------------------------------------------------- /config/software/input_shaper.cfg: -------------------------------------------------------------------------------- 1 | [input_shaper] 2 | # Supported shapers: zv, mzv, zvd, ei, 2hump_ei, 3hump_ei 3 | shaper_freq_x: 56.4 4 | shaper_type_x: zv 5 | shaper_freq_y: 38.4 6 | shaper_type_y: mzv 7 | -------------------------------------------------------------------------------- /config/software/sensorless_homing/sensorless_BTT_TMC2240.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for Sensorless homing using TMC2240 drivers 2 | # To use it, be sure to place the corresponding jumpers correctly on your MCU! 3 | [gcode_macro _USER_VARIABLES] 4 | variable_sensorless_homing_enabled: True 5 | gcode: 6 | 7 | 8 | [stepper_x] 9 | homing_speed: 40 10 | endstop_pin: tmc2240_stepper_x:virtual_endstop 11 | 12 | [tmc2240 stepper_x] 13 | diag0_pin: ^!X_STOP 14 | driver_SGT: -64 15 | 16 | [stepper_y] 17 | homing_speed: 40 18 | endstop_pin: tmc2240_stepper_y:virtual_endstop 19 | 20 | [tmc2240 stepper_y] 21 | diag0_pin: ^!Y_STOP 22 | driver_SGT: -64 # -64 is most sensitive value, 63 is least sensitive 23 | 24 | 25 | ## PLEASE READ THE FOLLOWING: 26 | ## -64 is the most sensitive value, 63 is the least sensitive. Here we set a default 27 | ## value of -64 to avoid any trouble or crash. Your axes should not move with this parameter! 28 | 29 | ## Follow the Klipper documentation here: https://www.klipper3d.org/TMC_Drivers.html#sensorless-homing 30 | ## to find the best suited SGTHRS value according to your machine. Then you can put it in your overrides 31 | ## file like that: 32 | 33 | # [tmc2240 stepper_x] 34 | # driver_SGT: xxx 35 | 36 | # [tmc2240 stepper_y] 37 | # driver_SGT: xxx 38 | -------------------------------------------------------------------------------- /config/software/sensorless_homing/sensorless_MKS_TMC2240.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for Sensorless homing using TMC2240 drivers 2 | # To use it, be sure to place the corresponding jumpers correctly on your MCU! 3 | [gcode_macro _USER_VARIABLES] 4 | variable_sensorless_homing_enabled: True 5 | gcode: 6 | 7 | 8 | [stepper_x] 9 | homing_speed: 40 10 | endstop_pin: tmc2240_stepper_x:virtual_endstop 11 | 12 | [tmc2240 stepper_x] 13 | diag1_pin: ^!X_STOP 14 | driver_SGT: -64 15 | 16 | [stepper_y] 17 | homing_speed: 40 18 | endstop_pin: tmc2240_stepper_y:virtual_endstop 19 | 20 | [tmc2240 stepper_y] 21 | diag1_pin: ^!Y_STOP 22 | driver_SGT: -64 # -64 is most sensitive value, 63 is least sensitive 23 | 24 | 25 | ## PLEASE READ THE FOLLOWING: 26 | ## -64 is the most sensitive value, 63 is the least sensitive. Here we set a default 27 | ## value of -64 to avoid any trouble or crash. Your axes should not move with this parameter! 28 | 29 | ## Follow the Klipper documentation here: https://www.klipper3d.org/TMC_Drivers.html#sensorless-homing 30 | ## to find the best suited SGTHRS value according to your machine. Then you can put it in your overrides 31 | ## file like that: 32 | 33 | # [tmc2240 stepper_x] 34 | # driver_SGT: xxx 35 | 36 | # [tmc2240 stepper_y] 37 | # driver_SGT: xxx 38 | -------------------------------------------------------------------------------- /config/software/sensorless_homing/sensorless_TMC2209.cfg: -------------------------------------------------------------------------------- 1 | # This file add support for Sensorless homing using TMC2209 drivers 2 | # To use it, be sure to place the corresponding jumpers correctly on your MCU! 3 | [gcode_macro _USER_VARIABLES] 4 | variable_sensorless_homing_enabled: True 5 | gcode: 6 | 7 | 8 | [stepper_x] 9 | homing_speed: 40 10 | endstop_pin: tmc2209_stepper_x:virtual_endstop 11 | 12 | [tmc2209 stepper_x] 13 | diag_pin: ^X_STOP 14 | driver_SGTHRS: 255 15 | 16 | [stepper_y] 17 | homing_speed: 40 18 | endstop_pin: tmc2209_stepper_y:virtual_endstop 19 | 20 | [tmc2209 stepper_y] 21 | diag_pin: ^Y_STOP 22 | driver_SGTHRS: 255 23 | 24 | 25 | ## PLEASE READ THE FOLLOWING: 26 | ## 255 is the most sensitive value, 0 is the least sensitive. Here we set a default 27 | ## value of 255 to avoid any trouble or crash. Your axes should not move with this parameter! 28 | 29 | ## Follow the Klipper documentation here: https://www.klipper3d.org/TMC_Drivers.html#sensorless-homing 30 | ## to find the best suited SGTHRS value according to your machine. Then you can put it in your overrides 31 | ## file like that: 32 | 33 | # [tmc2209 stepper_x] 34 | # driver_SGTHRS: new value for X 35 | 36 | # [tmc2209 stepper_y] 37 | # driver_SGTHRS: new value for Y 38 | -------------------------------------------------------------------------------- /config/software/shaketune.cfg: -------------------------------------------------------------------------------- 1 | # This is an automatic override for the Shake&Tune entrypoint. This will allow it 2 | # to work correctly in the full Klippain environement (within the scripts folder). 3 | 4 | [gcode_shell_command shaketune] 5 | command: ~/printer_data/config/scripts/K-ShakeTune/shaketune.sh 6 | timeout: 600.0 7 | verbose: True 8 | -------------------------------------------------------------------------------- /config/software/spoolman.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _USER_VARIABLES] 2 | variable_spoolman_enabled: True 3 | gcode: 4 | 5 | # Automatically include the spoolman macros 6 | [include ../../macros/helpers/spoolman.cfg] 7 | -------------------------------------------------------------------------------- /config/software/tilting/bedscrews_120mm.cfg: -------------------------------------------------------------------------------- 1 | # Bed screws leveling definition 2 | [bed_screws] 3 | screw1: 60,5 4 | screw1_name: front screw 5 | screw2: 5,115 6 | screw2_name: back left 7 | screw3: 115,115 8 | screw3_name: back right 9 | -------------------------------------------------------------------------------- /config/software/tilting/qgl_180mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_qgl_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/qgl.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [quad_gantry_level] 14 | gantry_corners: 15 | -60.2,-10.4 16 | 244.1,234.5 17 | points: 18 | 30,30 19 | 30,170 20 | 170,170 21 | 170,30 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | max_adjust: 10 27 | -------------------------------------------------------------------------------- /config/software/tilting/qgl_250mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_qgl_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/qgl.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [quad_gantry_level] 14 | gantry_corners: 15 | -60,-10 16 | 310,320 17 | points: 18 | 50,25 19 | 50,175 20 | 200,175 21 | 200,25 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | max_adjust: 10 27 | -------------------------------------------------------------------------------- /config/software/tilting/qgl_300mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_qgl_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/qgl.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [quad_gantry_level] 14 | gantry_corners: 15 | -60,-10 16 | 360,370 17 | points: 18 | 50,25 19 | 50,225 20 | 250,225 21 | 250,25 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | max_adjust: 10 27 | -------------------------------------------------------------------------------- /config/software/tilting/qgl_350mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_qgl_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/qgl.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [quad_gantry_level] 14 | gantry_corners: 15 | -60,-10 16 | 410,420 17 | points: 18 | 50,25 19 | 50,275 20 | 300,275 21 | 300,25 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | max_adjust: 10 27 | -------------------------------------------------------------------------------- /config/software/tilting/z_tilt_120mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_ztilt_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/z_tilt.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [z_tilt] 14 | z_positions: 15 | -48, 14 16 | 60, 140 17 | 168, 14 18 | points: 19 | 22.5, 0.5 20 | 74.5, 98.25 21 | 116.5, 0.5 22 | speed: 350 23 | horizontal_move_z: 16 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | -------------------------------------------------------------------------------- /config/software/tilting/z_tilt_250mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_ztilt_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/z_tilt.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [z_tilt] 14 | z_positions: 15 | -50, 18 16 | 125, 298 17 | 300, 18 18 | points: 19 | 30, 5 20 | 125, 195 21 | 220, 5 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | -------------------------------------------------------------------------------- /config/software/tilting/z_tilt_300mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_ztilt_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/z_tilt.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [z_tilt] 14 | z_positions: 15 | -50, 18 16 | 150, 348 17 | 350, 18 18 | points: 19 | 30, 5 20 | 150, 245 21 | 270, 5 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | -------------------------------------------------------------------------------- /config/software/tilting/z_tilt_350mm.cfg: -------------------------------------------------------------------------------- 1 | # Quand gantry leveling definition 2 | # If this files is included, then it also activate the QGL 3 | # automatically in the START_PRINT macro 4 | [gcode_macro _USER_VARIABLES] 5 | variable_ztilt_enabled: True 6 | gcode: 7 | 8 | # Also include directly the dockable probe overide of qgl from here 9 | [include ../../../macros/base/probing/overrides/z_tilt.cfg] 10 | [include ../../../macros/base/homing/tilting.cfg] 11 | 12 | 13 | [z_tilt] 14 | z_positions: 15 | -50, 18 16 | 175, 398 17 | 400, 18 18 | points: 19 | 30, 5 20 | 175, 295 21 | 320, 5 22 | speed: 350 23 | horizontal_move_z: 12 24 | retries: 5 25 | retry_tolerance: 0.0075 26 | -------------------------------------------------------------------------------- /config/software/z_calibration.cfg: -------------------------------------------------------------------------------- 1 | # If using the z_calibration plugin (when this file is included in the 2 | # main printer.cfg), the z_endstop position is extracted automaticaly 3 | # from the plugin configuration section [z_calibration]. 4 | 5 | # This file need a probe AND and a physical Z endstop pin to be able to work. 6 | 7 | [gcode_macro _USER_VARIABLES] 8 | variable_zcalib_plugin_enabled: True 9 | gcode: 10 | 11 | # Automatically include the associated CALIBRATE_Z overide 12 | [include ../../macros/base/homing/z_calibration.cfg] 13 | 14 | 15 | [z_calibration] 16 | # Physical Z endstop pin position 17 | nozzle_xy_position: -1,-1 18 | # Probe switch position on physical endstop 19 | switch_xy_position: -1,-1 20 | # Switch offset (default D2F-5: 0.5mm and SSG-5H: 0.7mm) 21 | # Smaller number means higher nozzle to the PEI 22 | switch_offset: 0.50 23 | offset_margins: -0.750, 1.0 24 | samples: 3 25 | #samples_tolerance: 0.01 26 | speed: 350 # X,Y movements 27 | probing_first_fast: true 28 | before_switch_gcode: ACTIVATE_PROBE 29 | end_gcode: DEACTIVATE_PROBE 30 | -------------------------------------------------------------------------------- /docs/features.md: -------------------------------------------------------------------------------- 1 | # Features 2 | 3 | This config is designed to be generic. You can use it on a lot of machines by selecting and enabling the hardware options you need. This also activate automatically the associated macros and process under the hood. 4 | 5 | On the other hand, if you don't want to use this full config folder, most of the specific macros and software features can also be installed as standalone in your own config folder. 6 | 7 | 8 | ## Software 9 | 10 | I tried, when possible, to put all the print settings directly in the Klipper config. My utlimate goal is be to be able to use the same Gcode file (sliced generically) with multiple materials or even share it across multiple printers. That's why I use and set firmware retraction, set pressure advance in the macros, etc... 11 | 12 | Here you can find a list of all the custom features availables in the macros or in the software configuration of this Klipper config: 13 | 14 | - [Adaptive bed mesh](./features/adaptive_bed_mesh.md) to mesh only where and when it's needed 15 | - Easy [pressure advance calibration](./features/pa_calibration.md) macro 16 | - Easy [flow calibration](./features/flow_calibration.md) macro 17 | - Automatic [input shaper workflow](./features/is_workflow.md) to calibrate it without using SSH 18 | - Custom designed [vibrations measurements and calibration workflow](./features/vibr_measurements.md) to be able to do an advanced calibration of the machine speed settings and optimize your global mechanical assembly 19 | - More feature descriptions and info will be added later... 20 | 21 | 22 | ## Hardware 23 | 24 | This config support out of the box a lot of different machine hardware configurations. 25 | 26 | Please see [How to write an override](./overrides.md#how-to-write-an-override) in docs/overrides.md for more information on customizing your configuration. 27 | 28 | -------------------------------------------------------------------------------- /docs/features/is_workflow.md: -------------------------------------------------------------------------------- 1 | # Input Shaper workflow 2 | 3 | This has now moved to its own repository: [Klippain Shake&Tune module](https://github.com/Frix-x/klippain-shaketune) 4 | 5 | > **Note** 6 | > 7 | > For Klippain users, nothing is needed to do as the latest version of K-Shake&Tune is always included in the full Klippain package! 8 | -------------------------------------------------------------------------------- /docs/features/vibr_measurements.md: -------------------------------------------------------------------------------- 1 | # Vibrations measurements 2 | 3 | This has now moved to its own repository: [Klippain Shake&Tune module](https://github.com/Frix-x/klippain-shaketune) 4 | 5 | > **Note** 6 | > 7 | > For Klippain users, nothing is needed to do as the latest version of K-Shake&Tune is always included in the full Klippain package! 8 | -------------------------------------------------------------------------------- /docs/images/flow_calibration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/flow_calibration.png -------------------------------------------------------------------------------- /docs/images/mmu/HHv2_error_tmc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/mmu/HHv2_error_tmc.png -------------------------------------------------------------------------------- /docs/images/mmu/HHv2_mcu_tmc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/mmu/HHv2_mcu_tmc.png -------------------------------------------------------------------------------- /docs/images/mmu/HHv2emptygate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/mmu/HHv2emptygate.png -------------------------------------------------------------------------------- /docs/images/pa_calibration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/pa_calibration.png -------------------------------------------------------------------------------- /docs/images/pa_calibration_band_count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/pa_calibration_band_count.png -------------------------------------------------------------------------------- /docs/images/resonances_belts_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/resonances_belts_example.png -------------------------------------------------------------------------------- /docs/images/resonances_x_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/resonances_x_example.png -------------------------------------------------------------------------------- /docs/images/resonances_y_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/resonances_y_example.png -------------------------------------------------------------------------------- /docs/images/vibrations_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/images/vibrations_example.png -------------------------------------------------------------------------------- /docs/input_shaper.md: -------------------------------------------------------------------------------- 1 | # Tuning Klipper's Input Shaper system 2 | 3 | This documentation has now moved into the [Klippain Shake&Tune module](https://github.com/Frix-x/klippain-shaketune/tree/main/docs) documentation. 4 | -------------------------------------------------------------------------------- /docs/klippain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frix-x/klippain/ce8626ce81b0c7dbddee9b3861d518c28ed5682f/docs/klippain.png -------------------------------------------------------------------------------- /macros/base/control.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _OFF] 2 | description: Turn off the printer 3 | gcode: 4 | {% set light_enabled = printer["gcode_macro _USER_VARIABLES"].light_enabled %} 5 | {% set status_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 6 | {% set display_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_minidisplay_enabled %} 7 | M84 ; turn steppers off 8 | TURN_OFF_HEATERS ; turn bed / hotend off 9 | M107 ; turn print cooling fan off 10 | {% if light_enabled %} 11 | LIGHT_OFF ; turn off light 12 | {% endif %} 13 | {% if status_leds_enabled %} 14 | STATUS_LEDS COLOR="SHUTDOWN" ; turn off status LEDs 15 | {% endif %} 16 | {% if display_leds_enabled %} 17 | _SET_ALLLEDS_BY_NAME LEDS="minidisplay" COLOR="shutdown" ; turn off all minidisplay LEDs even in knob only mode 18 | {% endif %} 19 | 20 | [gcode_macro SHUTDOWN] 21 | description: Turn off the printer and shutdown the host 22 | gcode: 23 | _OFF ; Shortcut to turn everything off (see above for this macro) 24 | {action_respond_info('action:poweroff')} ; OctoPrint compatible host shutdown 25 | {action_call_remote_method("shutdown_machine")} ; Moonraker compatible host shutdown 26 | -------------------------------------------------------------------------------- /macros/base/homing/homing_conditional.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _CG28] 2 | description: Homing only if necessary 3 | gcode: 4 | {% set status_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 5 | 6 | {% if "xyz" not in printer.toolhead.homed_axes %} 7 | {% if status_leds_enabled %} 8 | STATUS_LEDS COLOR="HOMING" 9 | {% endif %} 10 | G28 11 | {% if status_leds_enabled %} 12 | STATUS_LEDS COLOR="READY" 13 | {% endif %} 14 | {% endif %} 15 | -------------------------------------------------------------------------------- /macros/base/homing/tilting.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _TILT_CALIBRATE] 2 | description: Do a QGL, Z_tilt, etc... depending of the machine configuration 3 | gcode: 4 | {% set FORCE_OPERATION = params.FORCE|default('true') %} 5 | {% set conf_QGL = printer["gcode_macro _USER_VARIABLES"].qgl_enabled %} 6 | {% set conf_ztilt = printer["gcode_macro _USER_VARIABLES"].ztilt_enabled %} 7 | {% set probe_type_enabled = printer["gcode_macro _USER_VARIABLES"].probe_type_enabled %} 8 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} 9 | 10 | {% if probe_type_enabled == "dockable" %} 11 | SET_GCODE_VARIABLE MACRO=_PROBE_ON_ERROR_ACTION VARIABLE=probing VALUE=True 12 | {% endif %} 13 | 14 | {% if conf_QGL %} 15 | {% if printer.quad_gantry_level.applied|lower == 'false' or FORCE_OPERATION|lower == 'true' %} 16 | {% if verbose %} 17 | RESPOND MSG="QGL..." 18 | {% endif %} 19 | QUAD_GANTRY_LEVEL 20 | {% endif %} 21 | {% elif conf_ztilt %} 22 | {% if printer.z_tilt.applied|lower == 'false' or FORCE_OPERATION|lower == 'true' %} 23 | {% if verbose %} 24 | RESPOND MSG="Z tilt adjust..." 25 | {% endif %} 26 | Z_TILT_ADJUST 27 | {% endif %} 28 | {% else %} 29 | {% if verbose %} 30 | RESPOND MSG="No tilt calibration needed on this machine. Continuing..." 31 | {% endif %} 32 | {% endif %} 33 | 34 | {% if probe_type_enabled == "dockable" %} 35 | SET_GCODE_VARIABLE MACRO=_PROBE_ON_ERROR_ACTION VARIABLE=probing VALUE=False 36 | {% endif %} 37 | -------------------------------------------------------------------------------- /macros/base/homing/z_calibration.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro CALIBRATE_Z] 2 | rename_existing: _BASE_CALIBRATE_Z 3 | description: Perform the Z calibration using the physical Z endstop and the dockable probe 4 | gcode: 5 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} 6 | {% set bed_mesh_enabled = printer["gcode_macro _USER_VARIABLES"].bed_mesh_enabled %} 7 | {% set status_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 8 | 9 | {% if status_leds_enabled %} 10 | STATUS_LEDS COLOR="CALIBRATING_Z" 11 | {% endif %} 12 | 13 | {% if verbose %} 14 | RESPOND MSG="Auto Z calibration..." 15 | {% endif %} 16 | 17 | {% if not 'xyz' in printer.toolhead.homed_axes %} 18 | { action_raise_error("Must Home printer first!") } 19 | {% endif %} 20 | 21 | {% if verbose %} 22 | { action_respond_info("Z Offset calibration") } 23 | {% endif %} 24 | 25 | # Goto to z probe avoiding dock 26 | _GOTO_Z_PROBE 27 | 28 | # If there is a bed_mesh enabled and a zero_reference_position set, we retrieve it to calibrate Z on it (using probe offsets) 29 | # Else, we default to the center of the bed 30 | {% if not bed_mesh_enabled or not printer["configfile"].config["bed_mesh"]["zero_reference_position"] %} 31 | _BASE_CALIBRATE_Z 32 | {% else %} 33 | {% set ZRPx, ZRPy = printer["configfile"].config["bed_mesh"]["zero_reference_position"].split(',')|map('trim')|map('float') %} 34 | _BASE_CALIBRATE_Z BED_POSITION="{ZRPx},{ZRPy}" 35 | {% endif %} 36 | 37 | {% if status_leds_enabled %} 38 | STATUS_LEDS COLOR="READY" 39 | {% endif %} 40 | -------------------------------------------------------------------------------- /macros/base/probing/overrides/bed_mesh_calibrate.cfg: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # Dockable probe macros highly inspired from https://github.com/jlas1/Klicky-Probe 3 | # Reworked by Elpopo and myself to simplify it while trying to stay generic 4 | ############################################################################# 5 | 6 | [gcode_macro BED_MESH_CALIBRATE] 7 | rename_existing: _BASE_BED_MESH_CALIBRATE 8 | description: Perform Mesh Bed Leveling with klicky automount 9 | gcode: 10 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} 11 | {% set probe_type_enabled = printer["gcode_macro _USER_VARIABLES"].probe_type_enabled %} 12 | 13 | {% if verbose %} 14 | { action_respond_info("Bed Mesh Calibrate") } 15 | {% endif %} 16 | _CG28 17 | 18 | ACTIVATE_PROBE 19 | 20 | {% if probe_type_enabled == "dockable" %} 21 | SET_GCODE_VARIABLE MACRO=_PROBE_ON_ERROR_ACTION VARIABLE=probing VALUE=True 22 | {% endif %} 23 | 24 | _BASE_BED_MESH_CALIBRATE {% for p in params %}{'%s=%s ' % (p, params[p])}{% endfor %} 25 | 26 | {% if probe_type_enabled == "dockable" %} 27 | SET_GCODE_VARIABLE MACRO=_PROBE_ON_ERROR_ACTION VARIABLE=probing VALUE=False 28 | {% endif %} 29 | 30 | DEACTIVATE_PROBE 31 | -------------------------------------------------------------------------------- /macros/base/probing/overrides/qgl.cfg: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # Dockable probe macros highly inspired from https://github.com/jlas1/Klicky-Probe 3 | # Reworked by Elpopo and myself to simplify it while trying to stay generic 4 | ############################################################################# 5 | 6 | [gcode_macro QUAD_GANTRY_LEVEL] 7 | rename_existing: _BASE_QUAD_GANTRY_LEVEL 8 | description: Conform a moving, twistable gantry to the shape of a stationary bed with klicky automount 9 | gcode: 10 | {% set tilting_travel_accel = printer["gcode_macro _USER_VARIABLES"].tilting_travel_accel %} 11 | {% set status_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 12 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} 13 | 14 | {% if verbose %} 15 | { action_respond_info("Quad gantry leveling") } 16 | {% endif %} 17 | 18 | _CG28 19 | 20 | {% if status_leds_enabled %} 21 | STATUS_LEDS COLOR="LEVELING" 22 | {% endif %} 23 | 24 | ACTIVATE_PROBE 25 | 26 | # Set the tilting acceleration prior to any movement 27 | {% set saved_accel = printer.toolhead.max_accel %} 28 | M204 S{tilting_travel_accel} 29 | 30 | _BASE_QUAD_GANTRY_LEVEL {% for p in params %}{'%s=%s ' % (p, params[p])}{% endfor %} 31 | 32 | # Reset acceleration values to what it was before 33 | SET_VELOCITY_LIMIT ACCEL={saved_accel} 34 | 35 | DEACTIVATE_PROBE 36 | 37 | {% if status_leds_enabled %} 38 | STATUS_LEDS COLOR="READY" 39 | {% endif %} 40 | -------------------------------------------------------------------------------- /macros/base/probing/overrides/z_tilt.cfg: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # Dockable probe macros highly inspired from https://github.com/jlas1/Klicky-Probe 3 | # Reworked by Elpopo and myself to simplify it while trying to stay generic 4 | ############################################################################# 5 | 6 | [gcode_macro Z_TILT_ADJUST] 7 | rename_existing: _BASE_Z_TILT_ADJUST 8 | description: Conform a moving bed to the shape of a stationary gantry with dockable probe automount 9 | gcode: 10 | {% set tilting_travel_accel = printer["gcode_macro _USER_VARIABLES"].tilting_travel_accel %} 11 | {% set status_leds_enabled = printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %} 12 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} 13 | 14 | 15 | {% if verbose %} 16 | { action_respond_info("Z tilt adjust") } 17 | {% endif %} 18 | 19 | _CG28 20 | 21 | {% if status_leds_enabled %} 22 | STATUS_LEDS COLOR="LEVELING" 23 | {% endif %} 24 | 25 | ACTIVATE_PROBE 26 | 27 | # Set the tilting acceleration prior to any movement 28 | {% set saved_accel = printer.toolhead.max_accel %} 29 | M204 S{tilting_travel_accel} 30 | 31 | _BASE_Z_TILT_ADJUST {% for p in params %}{'%s=%s ' % (p, params[p])}{% endfor %} 32 | 33 | # Reset acceleration values to what it was before 34 | SET_VELOCITY_LIMIT ACCEL={saved_accel} 35 | 36 | DEACTIVATE_PROBE 37 | 38 | {% if status_leds_enabled %} 39 | STATUS_LEDS COLOR="READY" 40 | {% endif %} 41 | -------------------------------------------------------------------------------- /macros/hardware_functions/caselights.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro LIGHT_OFF] 2 | gcode: 3 | {% set light_pin_name = printer["gcode_macro _USER_VARIABLES"].light_pin_name %} 4 | 5 | set_pin pin={light_pin_name} value=0 6 | 7 | 8 | [gcode_macro LIGHT_ON] 9 | gcode: 10 | {% set S = params.S|default(100)|float %} 11 | {% set light_pin_name = printer["gcode_macro _USER_VARIABLES"].light_pin_name %} 12 | 13 | set_pin pin={light_pin_name} value={S} 14 | -------------------------------------------------------------------------------- /macros/hardware_functions/filter.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro START_FILTER] 2 | gcode: 3 | {% set SPEED = params.SPEED|default(1)|float %} 4 | 5 | {% set filter_name = printer["gcode_macro _USER_VARIABLES"].filter_name %} 6 | SET_FAN_SPEED FAN={filter_name} SPEED={SPEED} 7 | 8 | 9 | [gcode_macro STOP_FILTER] 10 | gcode: 11 | {% set filter_name = printer["gcode_macro _USER_VARIABLES"].filter_name %} 12 | SET_FAN_SPEED FAN={filter_name} SPEED=0 13 | 14 | 15 | [delayed_gcode _STOP_FILTER_DELAYED] 16 | gcode: 17 | STOP_FILTER 18 | -------------------------------------------------------------------------------- /macros/helpers/bed_heater_ctrl.cfg: -------------------------------------------------------------------------------- 1 | # This file add a specific override to fix the PID controller bad behavior 2 | # on low thermal inertia devices such as the BambuLabs hotend. This allows a 3 | # shunt of the "waiting time" during temperature settle in case there is some problems 4 | 5 | [gcode_macro M190] 6 | rename_existing: M190.1 7 | gcode: 8 | {% set S = params.S|float %} 9 | {% set actual_temp = printer.heater_bed.temperature|float %} 10 | 11 | {% set fix_heaters_temperature_settle = printer["gcode_macro _USER_VARIABLES"].fix_heaters_temperature_settle %} 12 | 13 | {% if fix_heaters_temperature_settle %} 14 | M140 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 15 | {% if S != 0 %} 16 | {% if actual_temp <= S %} 17 | TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={S} 18 | {% else %} 19 | TEMPERATURE_WAIT SENSOR=heater_bed MAXIMUM={S} 20 | {% endif %} 21 | {% endif %} 22 | {% else %} 23 | M190.1 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 24 | {% endif %} 25 | -------------------------------------------------------------------------------- /macros/helpers/hotend_heater_ctrl.cfg: -------------------------------------------------------------------------------- 1 | # This file add a specific override to fix the PID controller bad behavior 2 | # on low thermal inertia devices such as the BambuLabs hotend. This allows a 3 | # shunt of the "waiting time" during temperature settle in case there is some problems 4 | 5 | 6 | [gcode_macro M109] 7 | rename_existing: M109.1 8 | gcode: 9 | {% set S = params.S|float %} 10 | {% set actual_temp = printer.extruder.temperature|float %} 11 | 12 | {% set fix_heaters_temperature_settle = printer["gcode_macro _USER_VARIABLES"].fix_heaters_temperature_settle %} 13 | 14 | {% if fix_heaters_temperature_settle %} 15 | M104 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 16 | {% if S != 0 %} 17 | {% if actual_temp <= S %} 18 | TEMPERATURE_WAIT SENSOR=extruder MINIMUM={S} 19 | {% else %} 20 | TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={S} 21 | {% endif %} 22 | {% endif %} 23 | {% else %} 24 | M109.1 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 25 | {% endif %} -------------------------------------------------------------------------------- /macros/helpers/resonance_override.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro TEST_RESONANCES] 2 | rename_existing: BASE_TEST_RESONANCES 3 | description: Runs input shaper test at the center of the bed 4 | gcode: 5 | {% set Tx, Ty = printer["gcode_macro _USER_VARIABLES"].resonnance_test_point_xy|map('float') %} 6 | {% set Tz = printer["gcode_macro _USER_VARIABLES"].resonnance_test_z_clearance|float %} 7 | 8 | {% if Tx == -1 and Ty == -1 %} 9 | {% set max_x = printer.toolhead.axis_maximum.x|float %} 10 | {% set max_y = printer.toolhead.axis_maximum.y|float %} 11 | 12 | BASE_TEST_RESONANCES POINT={max_x / 2},{max_y / 2},{Tz} {rawparams} 13 | {% else %} 14 | BASE_TEST_RESONANCES POINT={Tx},{Ty},{Tz} {rawparams} 15 | {% endif %} 16 | -------------------------------------------------------------------------------- /macros/helpers/spoolman.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro SET_ACTIVE_SPOOL] 2 | description: Set Spoolman active spool 3 | gcode: 4 | {% if params.SPOOL_ID %} 5 | {% set spool_id = params.SPOOL_ID|int %} 6 | {action_call_remote_method( 7 | "spoolman_set_active_spool", 8 | spool_id=spool_id 9 | )} 10 | {% else %} 11 | {action_respond_info("Parameter 'SPOOL_ID' is required")} 12 | {% endif %} 13 | 14 | [gcode_macro CLEAR_ACTIVE_SPOOL] 15 | description: Clear Spoolman active spool 16 | gcode: 17 | {action_call_remote_method( 18 | "spoolman_set_active_spool", 19 | spool_id=None 20 | )} 21 | -------------------------------------------------------------------------------- /macros/helpers/temp_check.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _LOW_TEMP_CHECK] 2 | description: Check the nozzle is at temperature and heat it if needed 3 | gcode: 4 | {% set T = params.T|default(printer["gcode_macro _USER_VARIABLES"].print_default_extruder_temp)|float %} 5 | 6 | {% if printer.extruder.target != 0 %} 7 | {% if printer.extruder.temperature < printer.extruder.target %} 8 | M109 S{printer.extruder.target|float} 9 | {% endif %} 10 | {% else %} 11 | {% if printer.extruder.target < T %} 12 | M109 S{T} 13 | {% endif %} 14 | {% endif %} 15 | -------------------------------------------------------------------------------- /macros/miscs/compatibility.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro M701] 2 | description: Map M701 to LOAD_FILAMENT 3 | gcode: 4 | LOAD_FILAMENT 5 | 6 | [gcode_macro M702] 7 | description: Map M702 to UNLOAD_FILAMENT 8 | gcode: 9 | UNLOAD_FILAMENT 10 | 11 | [gcode_macro M600] 12 | description: Map M600 to CHANGE_FILAMENT 13 | gcode: 14 | CHANGE_FILAMENT 15 | 16 | [gcode_macro M125] 17 | description: Map M125 to PARK 18 | gcode: 19 | PARK 20 | 21 | [gcode_macro M900] 22 | description: Map M900 to SET_PRESSURE_ADVANCE 23 | gcode: 24 | {% if 'K' in params %} 25 | {% if 'E' in params %} 26 | SET_PRESSURE_ADVANCE EXTRUDER={params.E} ADVANCE={params.K} 27 | {% else %} 28 | SET_PRESSURE_ADVANCE ADVANCE={params.K} 29 | {% endif %} 30 | {% endif %} 31 | 32 | [gcode_macro M204] 33 | description: Map M204 to SET_VELOCITY_LIMIT for ACCEL 34 | rename_existing: M204.1 35 | gcode: 36 | {% if 'S' in params %} 37 | {% set S = params.S|float %} 38 | SET_VELOCITY_LIMIT ACCEL={S} 39 | {% endif %} 40 | 41 | [gcode_macro M205] 42 | description: Map M205 to SET_VELOCITY_LIMIT for SQUARE_CORNER_VELOCITY 43 | gcode: 44 | {% if 'X' in params %} 45 | SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY={params.X} 46 | {% elif 'Y' in params %} 47 | SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY={params.Y} 48 | {% endif %} 49 | 50 | [gcode_macro G00] 51 | gcode: 52 | G0 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 53 | 54 | [gcode_macro G01] 55 | gcode: 56 | G1 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 57 | 58 | [gcode_macro G02] 59 | gcode: 60 | G2 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 61 | 62 | [gcode_macro G03] 63 | gcode: 64 | G2 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 65 | 66 | [gcode_macro G04] 67 | gcode: 68 | G4 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} 69 | -------------------------------------------------------------------------------- /macros/miscs/debugging.cfg: -------------------------------------------------------------------------------- 1 | [gcode_macro _SEARCH_VARS] 2 | description: Search for variables in the "printer" object from Klipper 3 | gcode: 4 | {% set search = params.S|lower %} 5 | {% set ns = namespace() %} 6 | {% for item in printer %} 7 | {% if ' ' in item %} 8 | {% set ns.path = ['printer', "['%s']" % (item), ''] %} 9 | {% else %} 10 | {% set ns.path = ['printer.', item, ''] %} 11 | {% endif %} 12 | 13 | {% if search in ns.path|lower %} 14 | { action_respond_info(ns.path|join) } 15 | {% endif %} 16 | 17 | {% if printer[item].items() %} 18 | {% for childkey, child in printer[item].items() recursive %} 19 | {% set ns.path = ns.path[:loop.depth|int + 1] %} 20 | 21 | {% if ' ' in childkey %} 22 | {% set null = ns.path.append("['%s']" % (childkey)) %} 23 | {% else %} 24 | {% set null = ns.path.append(".%s" % (childkey)) %} 25 | {% endif %} 26 | 27 | {% if child is mapping %} 28 | { loop(child.items()) } 29 | {% else %} 30 | {% if search in ns.path|lower %} 31 | { action_respond_info("%s : %s" % (ns.path|join, child)) } 32 | {% endif %} 33 | {% endif %} 34 | 35 | {% endfor %} 36 | {% endif %} 37 | {% endfor %} 38 | -------------------------------------------------------------------------------- /moonraker/base.conf: -------------------------------------------------------------------------------- 1 | [server] 2 | host: 0.0.0.0 3 | port: 7125 4 | klippy_uds_address: {data_path}/comms/klippy.sock 5 | max_upload_size: 1024 6 | 7 | [machine] 8 | provider: systemd_dbus 9 | 10 | [data_store] 11 | temperature_store_size: 1200 12 | gcode_store_size: 1000 13 | 14 | [authorization] 15 | force_logins: False 16 | cors_domains: 17 | *.local 18 | *.lan 19 | *://app.fluidd.xyz 20 | *://dev-app.fluidd.xyz 21 | *://my.mainsail.xyz 22 | trusted_clients: 23 | 10.0.0.0/8 24 | 127.0.0.0/8 25 | 169.254.0.0/16 26 | 172.16.0.0/12 27 | 192.168.0.0/16 28 | FE80::/10 29 | ::1/128 30 | 31 | [history] 32 | 33 | [octoprint_compat] 34 | 35 | [update_manager] 36 | enable_auto_refresh: True 37 | 38 | 39 | [update_manager Klippain] 40 | type: git_repo 41 | path: ~/klippain_config 42 | origin: https://github.com/Frix-x/klippain.git 43 | primary_branch: main 44 | managed_services: moonraker klipper 45 | install_script: install.sh 46 | -------------------------------------------------------------------------------- /moonraker/exclude_object.conf: -------------------------------------------------------------------------------- 1 | [file_manager] 2 | enable_object_processing: True 3 | -------------------------------------------------------------------------------- /moonraker/fluidd.conf: -------------------------------------------------------------------------------- 1 | [update_manager fluidd] 2 | type: web 3 | channel: stable 4 | repo: fluidd-core/fluidd 5 | path: ~/fluidd 6 | -------------------------------------------------------------------------------- /moonraker/led_effect.conf: -------------------------------------------------------------------------------- 1 | [update_manager led_effect] 2 | type: git_repo 3 | path: ~/klipper-led_effect 4 | origin: https://github.com/julianschill/klipper-led_effect.git 5 | is_system_service: False 6 | -------------------------------------------------------------------------------- /moonraker/mainsail.conf: -------------------------------------------------------------------------------- 1 | [update_manager client mainsail] 2 | type: web 3 | repo: mainsail-crew/mainsail 4 | path: ~/mainsail 5 | -------------------------------------------------------------------------------- /moonraker/spoolman.conf: -------------------------------------------------------------------------------- 1 | [spoolman] 2 | server: http://localhost:7912 3 | # URL to the Spoolman instance. This parameter must be provided. 4 | sync_rate: 5 5 | # The interval, in seconds, between sync requests with the 6 | # Spoolman server. The default is 5. 7 | -------------------------------------------------------------------------------- /moonraker/tmc_autotune.conf: -------------------------------------------------------------------------------- 1 | [update_manager klipper_tmc_autotune] 2 | type: git_repo 3 | channel: dev 4 | path: ~/klipper_tmc_autotune 5 | origin: https://github.com/andrewmcgr/klipper_tmc_autotune.git 6 | managed_services: klipper 7 | primary_branch: main 8 | install_script: install.sh 9 | -------------------------------------------------------------------------------- /moonraker/z_calibration.conf: -------------------------------------------------------------------------------- 1 | [update_manager client z_calibration] 2 | type: git_repo 3 | path: ~/klipper_z_calibration 4 | origin: https://github.com/protoloft/klipper_z_calibration.git 5 | install_script: install.sh 6 | managed_services: klipper 7 | -------------------------------------------------------------------------------- /scripts/shell_commands.cfg: -------------------------------------------------------------------------------- 1 | # This file include some gcode_shell_commands 2 | # Be sure to have the gcode_shell_command.py Klipper extension installed. Easiest way is 3 | # to use KIAUH in the Advanced section but this is done automatically when installing Klippain 4 | 5 | [gcode_shell_command system_info] 6 | command: ~/printer_data/config/scripts/system_info.py 7 | timeout: 5.0 8 | verbose: True 9 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_Manta_E3EZ_v1.0.cfg: -------------------------------------------------------------------------------- 1 | #--------------------------------------------# 2 | #### BTT MANTA E3EZ v1.0 MCU definition ##### 3 | #--------------------------------------------# 4 | [mcu] 5 | ##-------------------------------------------------------------------- 6 | # This board works by using a serial connection by default. If you 7 | # want to use CAN, invert the commented lines and use canbus_uuid. 8 | 9 | #serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 10 | # canbus_uuid: change-me-to-the-correct-canbus-id 11 | ##-------------------------------------------------------------------- 12 | 13 | [include config/mcu_definitions/main/BTT_Manta_E3EZ_v1.0.cfg] # Do not remove this line 14 | [board_pins mantam5p10_mcu] 15 | mcu: mcu 16 | aliases: 17 | X_STEP=MCU_M1_STEP , X_DIR=MCU_M1_DIR , X_ENABLE=MCU_M1_EN , X_TMCUART=MCU_M1_CS , 18 | Y_STEP=MCU_M2_STEP , Y_DIR=MCU_M2_DIR , Y_ENABLE=MCU_M2_EN , Y_TMCUART=MCU_M2_CS , 19 | 20 | Z_STEP=MCU_M3_STEP , Z_DIR=MCU_M3_DIR , Z_ENABLE=MCU_M3_EN , Z_TMCUART=MCU_M3_CS , 21 | Z1_STEP=MCU_M4_STEP , Z1_DIR=MCU_M4_DIR , Z1_ENABLE=MCU_M4_EN , Z1_TMCUART=MCU_M4_CS , 22 | Z2_STEP=MCU_M5_STEP , Z2_DIR=MCU_M5_DIR , Z2_ENABLE=MCU_M5_EN , Z2_TMCUART=MCU_M5_CS , 23 | 24 | E_STEP=MCU_M5_STEP , E_DIR=MCU_M5_DIR , E_ENABLE=MCU_M5_EN , E_TMCUART=MCU_M5_CS , 25 | 26 | DRIVER_SPI_MOSI=MCU_SPI3_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160 27 | DRIVER_SPI_MISO=MCU_SPI3_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160 28 | DRIVER_SPI_SCK=MCU_SPI3_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160 29 | 30 | X_STOP=MCU_M1_STOP , Y_STOP=MCU_M2_STOP , Z_STOP=MCU_M3_STOP , 31 | PROBE_INPUT=MCU_PROBE2 , 32 | RUNOUT_SENSOR=MCU_M4_STOP , 33 | 34 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 35 | BED_HEATER=MCU_BED_OUT , BED_TEMPERATURE=MCU_THB , 36 | 37 | FILTER_FAN=MCU_FAN0 , 38 | CONTROLLER_FAN=MCU_FAN1 , 39 | 40 | CHAMBER_TEMPERATURE=MCU_TH1 , 41 | 42 | LIGHT_OUTPUT=MCU_HE1 , 43 | STATUS_NEOPIXEL=MCU_RGB1 , 44 | 45 | SERVO_PIN=MCU_PROBE1 , 46 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_Manta_M5P_v1.0.cfg: -------------------------------------------------------------------------------- 1 | #--------------------------------------------# 2 | #### BTT MANTA M5P v1.0 MCU definition ##### 3 | #--------------------------------------------# 4 | [mcu] 5 | ##-------------------------------------------------------------------- 6 | # This board works by using a serial connection by default. If you 7 | # want to use CAN, invert the commented lines and use canbus_uuid. 8 | 9 | #serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 10 | # canbus_uuid: change-me-to-the-correct-canbus-id 11 | ##-------------------------------------------------------------------- 12 | 13 | [include config/mcu_definitions/main/BTT_Manta_M5P_v1.0.cfg] # Do not remove this line 14 | [board_pins mantam5p10_mcu] 15 | mcu: mcu 16 | aliases: 17 | X_STEP=MCU_M1_STEP , X_DIR=MCU_M1_DIR , X_ENABLE=MCU_M1_EN , X_TMCUART=MCU_M1_CS , 18 | Y_STEP=MCU_M2_STEP , Y_DIR=MCU_M2_DIR , Y_ENABLE=MCU_M2_EN , Y_TMCUART=MCU_M2_CS , 19 | 20 | Z_STEP=MCU_M3_STEP , Z_DIR=MCU_M3_DIR , Z_ENABLE=MCU_M3_EN , Z_TMCUART=MCU_M3_CS , 21 | Z1_STEP=MCU_M4_STEP , Z1_DIR=MCU_M4_DIR , Z1_ENABLE=MCU_M4_EN , Z1_TMCUART=MCU_M4_CS , 22 | Z2_STEP=MCU_M5_STEP , Z2_DIR=MCU_M5_DIR , Z2_ENABLE=MCU_M5_EN , Z2_TMCUART=MCU_M5_CS , 23 | 24 | #E_STEP=MCU_M5_STEP , E_DIR=MCU_M5_DIR , E_ENABLE=MCU_M5_EN , E_TMCUART=MCU_M5_CS , 25 | 26 | DRIVER_SPI_MOSI=MCU_SPI2_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160 27 | DRIVER_SPI_MISO=MCU_SPI2_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160 28 | DRIVER_SPI_SCK=MCU_SPI2_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160 29 | 30 | X_STOP=MCU_M1_STOP , Y_STOP=MCU_M3_STOP , Z_STOP=MCU_M4_STOP , 31 | PROBE_INPUT=MCU_PROBE2 , 32 | RUNOUT_SENSOR=MCU_M4_STOP , 33 | 34 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 35 | BED_HEATER=MCU_BED_OUT , BED_TEMPERATURE=MCU_THB , 36 | 37 | FILTER_FAN=MCU_FAN0 , 38 | CONTROLLER_FAN=MCU_FAN1 , 39 | 40 | CHAMBER_TEMPERATURE=MCU_TH1 , 41 | 42 | LIGHT_OUTPUT=MCU_HE1 , 43 | STATUS_NEOPIXEL=MCU_RGB1 , 44 | MCU_PS_ON=MCU_RGB2 , 45 | 46 | SERVO_PIN=MCU_PROBE1 , 47 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_2.cfg: -------------------------------------------------------------------------------- 1 | #-------------------------------# 2 | #### BTT SKR2 MCU definition #### 3 | #-------------------------------# 4 | 5 | [mcu] 6 | ##-------------------------------------------------------------------- 7 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 8 | # canbus_uuid: change-me-to-the-correct-canbus-id 9 | ##-------------------------------------------------------------------- 10 | 11 | [include config/mcu_definitions/main/BTT_SKR_2.cfg] # Do not remove this line 12 | [board_pins SKR_2_mcu] 13 | mcu: mcu 14 | aliases: 15 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , X_TMCUART=MCU_XM_UART , 16 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , Y_TMCUART=MCU_YM_UART , 17 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , Z_TMCUART=MCU_ZM_UART , 18 | E_STEP=MCU_E0M_STEP , E_DIR=MCU_E0M_DIR , E_ENABLE=MCU_E0M_ENABLE , E_TMCUART=MCU_E0M_UART , 19 | E1_STEP=MCU_E1M_STEP , E1_DIR=MCU_E1M_DIR , E1_ENABLE=MCU_E1M_ENABLE , E1_TMCUART=MCU_E1M_UART , 20 | 21 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP , 22 | RUNOUT_SENSOR=MCU_E0DET , RUNOUT_SENSOR1=MCU_E1DET , POWER_DETECT=MCU_PWRDET , 23 | PROBE_INPUT=MCU_PROBE , 24 | SERVO_PIN=MCU_SERVOS , 25 | 26 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , E1_HEATER=MCU_HE1 , E1_TEMPERATURE=MCU_TH1 , 27 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_TB , 28 | 29 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , CONTROLLER_FAN=MCU_FAN2 , 30 | 31 | STATUS_NEOPIXEL=MCU_RGB , 32 | # LIGHT_NEOPIXEL=MCU_RGB , 33 | 34 | ######################################## 35 | # Motor Power Pin 36 | ######################################## 37 | # Due to BTT implementing a Marlin-specific safety feature, 38 | # "anti-reversal stepper protection", this pin needs pulling 39 | # high to pass power to stepper drivers and most FETs 40 | 41 | [output_pin motor_power] 42 | pin: MCU_MPWR 43 | value: 1 44 | 45 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_3.cfg: -------------------------------------------------------------------------------- 1 | 2 | #-------------------------------------# 3 | #### BTT SKR3 definition #### 4 | #-------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | # canbus_uuid: change-me-to-the-correct-canbus-id 10 | ##-------------------------------------------------------------------- 11 | 12 | [include config/mcu_definitions/main/BTT_SKR_3.cfg] # Do not remove this line 13 | [board_pins SKR_3_mcu] 14 | mcu: mcu 15 | aliases: 16 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , X_TMCUART=MCU_XM_UART , 17 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , Y_TMCUART=MCU_YM_UART , 18 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , Z_TMCUART=MCU_ZM_UART , 19 | E_STEP=MCU_E0M_STEP , E_DIR=MCU_E0M_DIR , E_ENABLE=MCU_E0M_ENABLE , E_TMCUART=MCU_E0M_UART , 20 | 21 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP , 22 | RUNOUT_SENSOR=MCU_E0DET , 23 | PROBE_INPUT=MCU_PROBE , 24 | SERVO_PIN=MCU_SERVOS , 25 | 26 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 27 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_TH1 , 28 | 29 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , CONTROLLER_FAN=MCU_FAN2 , 30 | 31 | STATUS_NEOPIXEL=MCU_RGB , 32 | # LIGHT_NEOPIXEL=MCU_RGB , 33 | 34 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_Mini_E3_v2.cfg: -------------------------------------------------------------------------------- 1 | 2 | #----------------------------------------# 3 | #### BTT SKR Mini E3 V2 definition ####### 4 | #----------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | ##-------------------------------------------------------------------- 10 | 11 | [include config/mcu_definitions/main/BTT_SKR_Mini_E3_v2.cfg] # Do not remove this line 12 | [board_pins xye_SKR_mcu] 13 | mcu: mcu 14 | aliases: 15 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , 16 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , 17 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , 18 | E_STEP=MCU_EM_STEP , E_DIR=MCU_EM_DIR , E_ENABLE=MCU_EM_ENABLE , 19 | 20 | TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX , 21 | 22 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP , 23 | RUNOUT_SENSOR=MCU_E0STOP , 24 | PROBE_INPUT=MCU_PROBE , 25 | SERVO_PIN=MCU_SERVOS , 26 | 27 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 28 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_TB , 29 | 30 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , 31 | 32 | STATUS_NEOPIXEL=MCU_NEOPIXEL , 33 | # LIGHT_NEOPIXEL=MCU_NEOPIXEL , 34 | 35 | 36 | [tmc2209 stepper_x] 37 | uart_pin: TMCUART 38 | tx_pin: TMCTX 39 | uart_address: 0 40 | 41 | [tmc2209 stepper_y] 42 | uart_pin: TMCUART 43 | tx_pin: TMCTX 44 | uart_address: 2 45 | 46 | [tmc2209 stepper_z] 47 | uart_pin: TMCUART 48 | tx_pin: TMCTX 49 | uart_address: 1 50 | 51 | # Comment this section if you are using a toolhead with its own MCU 52 | [tmc2209 extruder] 53 | uart_pin: TMCUART 54 | tx_pin: TMCTX 55 | uart_address: 3 56 | 57 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_Mini_E3_v3.cfg: -------------------------------------------------------------------------------- 1 | 2 | #-------------------------------------# 3 | #### BTT SKR Mini E3 V3 definition #### 4 | #-------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | ##-------------------------------------------------------------------- 10 | 11 | [include config/mcu_definitions/main/BTT_SKR_Mini_E3_v3.cfg] # Do not remove this line 12 | [board_pins SKR_mini_e3_mcu] 13 | mcu: mcu 14 | aliases: 15 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , 16 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , 17 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , 18 | E_STEP=MCU_EM_STEP , E_DIR=MCU_EM_DIR , E_ENABLE=MCU_EM_ENABLE , 19 | 20 | TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX , 21 | 22 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP , 23 | RUNOUT_SENSOR=MCU_E0STOP , 24 | PROBE_INPUT=MCU_PROBE , 25 | SERVO_PIN=MCU_SERVOS , 26 | 27 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 28 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_THB , 29 | 30 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , CONTROLLER_FAN=MCU_FAN2 , 31 | 32 | STATUS_NEOPIXEL=MCU_NEOPIXEL , 33 | # LIGHT_NEOPIXEL=MCU_NEOPIXEL , 34 | 35 | 36 | [tmc2209 stepper_x] 37 | uart_pin: TMCUART 38 | tx_pin: TMCTX 39 | uart_address: 0 40 | 41 | [tmc2209 stepper_y] 42 | uart_pin: TMCUART 43 | tx_pin: TMCTX 44 | uart_address: 2 45 | 46 | [tmc2209 stepper_z] 47 | uart_pin: TMCUART 48 | tx_pin: TMCTX 49 | uart_address: 1 50 | 51 | # Comment this section if you are using a toolhead with its own MCU 52 | [tmc2209 extruder] 53 | uart_pin: TMCUART 54 | tx_pin: TMCTX 55 | uart_address: 3 56 | 57 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_Pico_v1.0.cfg: -------------------------------------------------------------------------------- 1 | 2 | #----------------------------------------# 3 | #### BTT SKR Pico v1.0 definition ######## 4 | #----------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | ##-------------------------------------------------------------------- 10 | 11 | [include config/mcu_definitions/main/BTT_SKR_Pico_v1.0.cfg] # Do not remove this line 12 | [board_pins xye_SKR_mcu] 13 | mcu: mcu 14 | aliases: 15 | X_STEP=MCU_X_STEP , X_DIR=MCU_X_DIR , X_ENABLE=MCU_X_EN , 16 | Y_STEP=MCU_Y_STEP , Y_DIR=MCU_Y_DIR , Y_ENABLE=MCU_Y_EN , 17 | Z_STEP=MCU_Z_STEP , Z_DIR=MCU_Z_DIR , Z_ENABLE=MCU_Z_EN , 18 | E_STEP=MCU_E0_STEP , E_DIR=MCU_E0_DIR , E_ENABLE=MCU_E0_EN , 19 | 20 | TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX , 21 | 22 | X_STOP=MCU_X-STOP , Y_STOP=MCU_Y-STOP , Z_STOP=MCU_Z-STOP , 23 | RUNOUT_SENSOR=MCU_E0-STOP , 24 | PROBE_INPUT=MCU_PROBE , 25 | 26 | E_HEATER=MCU_HE , E_TEMPERATURE=MCU_TH0 , 27 | BED_HEATER=MCU_HB , BED_TEMPERATURE=MCU_THB , 28 | 29 | PART_FAN=MCU_FAN1 , E_FAN=MCU_FAN2 , 30 | CONTROLLER_FAN=MCU_FAN3 , 31 | 32 | STATUS_NEOPIXEL=MCU_RGB , 33 | 34 | [tmc2209 stepper_x] 35 | uart_pin: TMCUART 36 | tx_pin: TMCTX 37 | uart_address: 0 38 | 39 | [tmc2209 stepper_y] 40 | uart_pin: TMCUART 41 | tx_pin: TMCTX 42 | uart_address: 2 43 | 44 | [tmc2209 stepper_z] 45 | uart_pin: TMCUART 46 | tx_pin: TMCTX 47 | uart_address: 1 48 | 49 | # Comment this section if you are using a toolhead with its own MCU 50 | [tmc2209 extruder] 51 | uart_pin: TMCUART 52 | tx_pin: TMCTX 53 | uart_address: 3 54 | 55 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/BTT_SKR_Pro_V1.2.cfg: -------------------------------------------------------------------------------- 1 | 2 | #----------------------------------------# 3 | #### BTT SKR Pro v1.2 definition ######## 4 | #----------------------------------------# 5 | 6 | [mcu] 7 | ##------------------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | ##------------------------------------------------------------------------------- 10 | 11 | [include config/mcu_definitions/main/BTT_SKR_Pro_V1.2.cfg] # Do not remove this line 12 | [board_pins xyze_SKR_mcu] 13 | mcu: mcu 14 | aliases: 15 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , X_TMCUART=MCU_XM_TMCUART , 16 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , Y_TMCUART=MCU_YM_TMCUART , 17 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , Z_TMCUART=MCU_ZM_TMCUART , 18 | 19 | E_STEP=MCU_E0M_STEP , E_DIR=MCU_E0M_DIR , E_ENABLE=MCU_E0M_ENABLE , E_TMCUART=MCU_E0M_TMCUART , 20 | 21 | TOOLHEAD_SENSOR=MCU_E0STOP , SERVO_PIN=MCU_PROBE , 22 | 23 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_E1STOP , PROBE_INPUT=MCU_ZSTOP , 24 | 25 | E_HEATER=MCU_HEAT0 , E_TEMPERATURE=MCU_T0 , 26 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_T1 , 27 | 28 | PART_FAN=MCU_FAN1 , E_FAN=MCU_FAN0 , 29 | 30 | LIGHT_NEOPIXEL=MCU_SERVOS , 31 | STATUS_NEOPIXEL=MCU_IO2 32 | 33 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/Fysetc_Catalyst_v1.x.cfg: -------------------------------------------------------------------------------- 1 | 2 | #---------------------------------------------# 3 | #### Fysetc Catalyst v1.x MCU definition ###### 4 | #---------------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | # This board work by using a serial connection by default. If you 9 | # want to use CAN, invert the commented lines and use canbus_uuid. 10 | 11 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 12 | # canbus_uuid: change-me-to-the-correct-canbus-id 13 | ##-------------------------------------------------------------------- 14 | 15 | [include config/mcu_definitions/main/Fysetc_Catalyst_v1.x.cfg] # Do not remove this line 16 | [board_pins catalyst_mcu] 17 | mcu: mcu 18 | aliases: 19 | X_STEP=MCU_B_MOT_STEP , X_DIR=MCU_B_MOT_DIR , X_ENABLE=MCU_B_MOT_ENABLE , X_TMCUART=MCU_B_MOT_CS_PDN , 20 | Y_STEP=MCU_A_MOT_STEP , Y_DIR=MCU_A_MOT_DIR , Y_ENABLE=MCU_A_MOT_ENABLE , Y_TMCUART=MCU_A_MOT_CS_PDN , 21 | Z_STEP=MCU_Z_MOT_STEP , Z_DIR=MCU_Z_MOT_DIR , Z_ENABLE=MCU_Z_MOT_ENABLE , Z_TMCUART=MCU_Z_MOT_CS_PDN , 22 | E_STEP=MCU_E_MOT_STEP , E_DIR=MCU_E_MOT_DIR , E_ENABLE=MCU_E_MOT_ENABLE , E_TMCUART=MCU_E_MOT_CS_PDN , 23 | 24 | DRIVER_SPI_MOSI=MCU_SPI_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160 25 | DRIVER_SPI_MISO=MCU_SPI_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160 26 | DRIVER_SPI_SCK=MCU_SPI_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160 27 | 28 | PROBE_INPUT=MCU_PROBE , 29 | 30 | E_HEATER=MCU_HEAT , E_TEMPERATURE=MCU_T0 , 31 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_T1 , 32 | 33 | PART_FAN=MCU_FAN1 , E_FAN=MCU_FAN0 , 34 | CONTROLLER_FAN=MCU_FAN2 , 35 | 36 | LIGHT_NEOPIXEL=MCU_NEOPIXEL , 37 | 38 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/Fysetc_Cheetah_v3.x.cfg: -------------------------------------------------------------------------------- 1 | 2 | #------------------------------------# 3 | #### Fystec Cheetah V3 definition #### 4 | #------------------------------------# 5 | 6 | # https://github.com/FYSETC/Cheetah_V3.0 7 | [mcu] 8 | ##-------------------------------------------------------------------- 9 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 10 | ##-------------------------------------------------------------------- 11 | 12 | [include config/mcu_definitions/main/Fysetc_Cheetah_v3.x.cfg] # Do not remove this line 13 | [board_pins Cheetah_v3_mcu] 14 | mcu: mcu 15 | restart_method: command 16 | aliases: 17 | X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , 18 | Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , 19 | Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , 20 | E_STEP=MCU_EM_STEP , E_DIR=MCU_EM_DIR , E_ENABLE=MCU_EM_ENABLE , 21 | 22 | TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX , 23 | 24 | X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP , 25 | RUNOUT_SENSOR=MCU_E0STOP , 26 | PROBE_INPUT=MCU_PROBE , 27 | SERVO_PIN=MCU_SERVOS , 28 | 29 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 30 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_THB , 31 | 32 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , CONTROLLER_FAN=MCU_FAN2 , 33 | 34 | 35 | [tmc2209 stepper_x] 36 | uart_pin: TMCUART 37 | #tx_pin: TMCTX 38 | uart_address: 0 39 | 40 | [tmc2209 stepper_y] 41 | uart_pin: TMCUART 42 | #tx_pin: TMCTX 43 | uart_address: 1 44 | 45 | [tmc2209 stepper_z] 46 | uart_pin: TMCUART 47 | #tx_pin: TMCTX 48 | uart_address: 2 49 | 50 | # Comment this section if you are using a toolhead with its own MCU 51 | [tmc2209 extruder] 52 | uart_pin: TMCUART 53 | #tx_pin: TMCTX 54 | uart_address: 3 55 | 56 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/MY-OWN-CUSTOM-TEMPLATE.cfg: -------------------------------------------------------------------------------- 1 | 2 | #------------------------------------------# 3 | #### CUSTOM TEMPLATE MCU definition ######## 4 | #------------------------------------------# 5 | 6 | # This template file is a pre-filled file with Klippain pins alias conventions 7 | # that can be used if your MCU board is not yet officially supported. Just fill 8 | # in your MCU pins and you will be good to go :) 9 | 10 | [mcu] 11 | ##-------------------------------------------------------------------- 12 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 13 | # canbus_uuid: change-me-to-the-correct-canbus-id 14 | ##-------------------------------------------------------------------- 15 | 16 | [board_pins custom_mcu] 17 | mcu: mcu 18 | aliases: 19 | X_STEP= , X_DIR= , X_ENABLE= , X_TMCUART= , 20 | Y_STEP= , Y_DIR= , Y_ENABLE= , Y_TMCUART= , 21 | 22 | Z_STEP= , Z_DIR= , Z_ENABLE= , Z_TMCUART= , 23 | Z1_STEP= , Z1_DIR= , Z1_ENABLE= , Z1_TMCUART= , 24 | Z2_STEP= , Z2_DIR= , Z2_ENABLE= , Z2_TMCUART= , 25 | Z3_STEP= , Z3_DIR= , Z3_ENABLE= , Z3_TMCUART= , 26 | 27 | E_STEP= , E_DIR= , E_ENABLE= , E_TMCUART= , 28 | 29 | # DRIVER_SPI_MOSI= , # Used in case of SPI drivers such as TMC2240 or TMC5160 30 | # DRIVER_SPI_MISO= , # Used in case of SPI drivers such as TMC2240 or TMC5160 31 | # DRIVER_SPI_SCK= , # Used in case of SPI drivers such as TMC2240 or TMC5160 32 | 33 | X_STOP= , Y_STOP= , Z_STOP= , 34 | PROBE_INPUT= , 35 | RUNOUT_SENSOR= , 36 | 37 | E_HEATER= , E_TEMPERATURE= , 38 | BED_HEATER= , BED_TEMPERATURE= , 39 | 40 | PART_FAN= , E_FAN= , 41 | PART_FAN_TACHO , E_FAN_TACHO , 42 | 43 | CONTROLLER_FAN= , 44 | EXHAUST_FAN= , 45 | FILTER_FAN= , 46 | HOST_CONTROLLER_FAN= , 47 | 48 | CHAMBER_TEMPERATURE= , 49 | ELECTRICAL_CABINET_TEMPERATURE= , 50 | 51 | LIGHT_OUTPUT= , 52 | LIGHT_NEOPIXEL= , 53 | STATUS_NEOPIXEL= , 54 | 55 | SERVO_PIN= , 56 | 57 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/main/Mellow_Fly_Gemini_v3.cfg: -------------------------------------------------------------------------------- 1 | 2 | #------------------------------------------# 3 | #### Mellow Fly Gemini V3 MCU definition ### 4 | #------------------------------------------# 5 | 6 | [mcu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | # canbus_uuid: change-me-to-the-correct-canbus-id 10 | ##-------------------------------------------------------------------- 11 | 12 | [include config/mcu_definitions/main/Mellow_Fly_Gemini_v3.cfg] # Do not remove this line 13 | [board_pins fly_Gemini_v3_mcu] 14 | mcu: mcu 15 | aliases: 16 | X_STEP=MCU_DRIVE0_STEP , X_DIR=MCU_DRIVE0_DIR , X_ENABLE=MCU_DRIVE0_EN , X_TMCUART=MCU_DRIVE0_UART , 17 | Y_STEP=MCU_DRIVE1_STEP , Y_DIR=MCU_DRIVE1_DIR , Y_ENABLE=MCU_DRIVE1_EN , Y_TMCUART=MCU_DRIVE1_UART , 18 | Z_STEP=MCU_DRIVE2_STEP , Z_DIR=MCU_DRIVE2_DIR , Z_ENABLE=MCU_DRIVE2_EN , Z_TMCUART=MCU_DRIVE2_UART , 19 | 20 | E_STEP=MCU_DRIVE3_STEP , E_DIR=MCU_DRIVE3_DIR , E_ENABLE=MCU_DRIVE3_EN , E_TMCUART=MCU_DRIVE3_UART , 21 | 22 | DRIVER_SPI_MOSI=MCU_TMC_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160 23 | DRIVER_SPI_MISO=MCU_TMC_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160 24 | DRIVER_SPI_SCK=MCU_TMC_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160 25 | 26 | X_STOP=MCU_DRIVE0_STOP , Y_STOP=MCU_DRIVE1_STOP , Z_STOP=MCU_DRIVE2_STOP , 27 | PROBE_INPUT=MCU_PROBE , 28 | RUNOUT_SENSOR=MCU_DRIVE3_STOP , 29 | 30 | E_HEATER=MCU_HEAT0 , E_TEMPERATURE=MCU_TH0 , 31 | BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_THB , 32 | 33 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN2 , # MCU_FAN2 is always on 34 | CONTROLLER_FAN=MCU_FAN1 , 35 | 36 | SERVO_PIN=MCU_SERVO , 37 | 38 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/mmu/BTT_MMB_CAN_v1.0.cfg: -------------------------------------------------------------------------------- 1 | 2 | #-----------------------------------------------# 3 | #### BTT MMB CAN board MCU definition ########### 4 | #-----------------------------------------------# 5 | 6 | [mcu mmu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | # canbus_uuid: change-me-to-the-correct-canbus-id 10 | ##-------------------------------------------------------------------- 11 | 12 | # If you want to override the wiring of the BTT MMB CAN board, keep in mind that this 13 | # board is defined using the "mmu" name. So you should use "pin: mmu:PIN_NAME" 14 | # in your own overrides.cfg files. 15 | 16 | [include config/mcu_definitions/mmu/BTT_MMB_CAN_v1.0.cfg] # Do not remove this line 17 | [board_pins mmu_mcu] 18 | mcu: mmu 19 | aliases: 20 | MMU_GEAR_STEP=MCU_M1_STEP , MMU_GEAR_DIR=MCU_M1_DIR , MMU_GEAR_ENABLE=MCU_M1_EN , MMU_GEAR_UART=MCU_M1_UART , 21 | MMU_SEL_STEP=MCU_M2_STEP , MMU_SEL_DIR=MCU_M2_DIR , MMU_SEL_ENABLE=MCU_M2_EN , MMU_SEL_UART=MCU_M2_UART , 22 | 23 | MMU_GEAR_DIAG=MCU_STP1 , # Shared with MCU_STP1 24 | MMU_SEL_DIAG=MCU_STP2 , # Shared with MCU_STP2 25 | 26 | MMU_SEL_ENDSTOP=MCU_STP11 , 27 | 28 | MMU_SERVO=MCU_MOT , 29 | MMU_ENCODER=MCU_SENSOR , 30 | MMU_NEOPIXEL=MCU_RGB , 31 | # MMU_GATE_SENSOR=MCU_STP1 , # (if not GEAR DIAG!) 32 | 33 | MMU_PRE_GATE_0=MCU_STP3 , 34 | MMU_PRE_GATE_1=MCU_STP4 , 35 | MMU_PRE_GATE_2=MCU_STP5 , 36 | MMU_PRE_GATE_3=MCU_STP6 , 37 | MMU_PRE_GATE_4=MCU_STP7 , 38 | MMU_PRE_GATE_5=MCU_STP8 , 39 | MMU_PRE_GATE_6=MCU_STP9 , 40 | MMU_PRE_GATE_7=MCU_STP10 , 41 | # MMU_PRE_GATE_8="" , 42 | # MMU_PRE_GATE_9="" , 43 | # MMU_PRE_GATE_10="" , 44 | # MMU_PRE_GATE_11="" , 45 | 46 | SPI_SCLK=MCU_SCK , SPI_MOSI=MCU_MOSI , SPI_MISO=MCU_MISO , 47 | 48 | ## I2C header 49 | I2C_SDA=MCU_I2C_SDA , I2C_SCL=MCU_I2C_SCL , I2C_GND= , I2C_5V=<5V> , 50 | 51 | ## SWD header 52 | SWD_Reset= , SWD_PA14=MCU_SWD_PA14 , SWD_GND= , SWD_PA13=MCU_SWD_PA13 , SWD_3.3V=<3.3V> , 53 | 54 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/mmu/BTT_SKR_Pico_v1.0.cfg: -------------------------------------------------------------------------------- 1 | 2 | #----------------------------------------# 3 | #### BTT SKR Pico v1.0 mmu definition ######## 4 | #----------------------------------------# 5 | 6 | [include config/mcu_definitions/mmu/BTT_SKR_Pico_v1.0.cfg] # Do not remove this line 7 | [board_pins mmu_mcu] 8 | mcu: mmu 9 | aliases: 10 | MMU_GEAR_STEP=MCU_Y_STEP , MMU_GEAR_DIR=MCU_Y_DIR , MMU_GEAR_ENABLE=MCU_Y_EN , MMU_GEAR_UART=MCU_TMCUART , 11 | MMU_SEL_STEP=MCU_X_STEP , MMU_SEL_DIR=MCU_X_DIR , MMU_SEL_ENABLE=MCU_X_EN , MMU_SEL_UART=MCU_TMCUART , 12 | 13 | MMU_GEAR_ENDSTOP=MCU_Z-STOP , MMU_SEL_ENDSTOP=MCU_Y-STOP , 14 | 15 | MMU_SERVO=MCU_SERVOS , 16 | MMU_ENCODER=MCU_X-STOP , 17 | MMU_NEOPIXEL=MCU_RGB , 18 | MMU_GATE_SENSOR=MCU_E0-STOP , 19 | 20 | EXTRA_PINS1=MCU_UART0_TX , EXTRA_PINS2=MCU_UART0_RX , 21 | EXTRA_PINS3=MCU_SPI0_SCK , EXTRA_PINS4=MCU_SPI0_MISO , 22 | EXTRA_PINS5=MCU_SPI0_MOSI , EXTRA_PINS6=MCU_SPI0_CS , 23 | EXTRA_PINS7=MCU_I2C1_SDA , EXTRA_PINS8=MCU_I2C1_SCL , 24 | EXTRA_PINS9=MCU_ADC0 , EXTRA_PINS10=MCU_ADC1 , 25 | EXTRA_PINS11=MCU_ADC2 , EXTRA_PINS12=MCU_ADC3 , 26 | EXTRA_PINS13= , EXTRA_PINS14=<5V> , 27 | 28 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/mmu/Fysetc_ERCF_ERB.cfg: -------------------------------------------------------------------------------- 1 | 2 | #---------------------------------------------# 3 | #### Fysetc ERCF ERB MCU definition ########### 4 | #---------------------------------------------# 5 | 6 | [mcu mmu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | # canbus_uuid: change-me-to-the-correct-canbus-id 10 | ##-------------------------------------------------------------------- 11 | 12 | # If you want to override the wiring of the Fysetc ERCF ERB board, keep in mind that this 13 | # board is defined using the "mmu" name. So you should use "pin: mmu:PIN_NAME" 14 | # in your own overrides.cfg files. 15 | 16 | [include config/mcu_definitions/mmu/Fysetc_ERCF_ERB.cfg] # Do not remove this line 17 | [board_pins mmu_mcu] 18 | mcu: mmu 19 | aliases: 20 | MMU_GEAR_STEP=MCU_GEAR_MOTOR_STEP , MMU_GEAR_DIR=MCU_GEAR_MOTOR_DIR , MMU_GEAR_ENABLE=MCU_GEAR_MOTOR_EN , MMU_GEAR_UART=MCU_GEAR_MOTOR_UART , 21 | MMU_GEAR_DIAG=MCU_GEAR_MOTOR_DIAG , 22 | MMU_SEL_STEP=MCU_SELECTOR_MOTOR_STEP , MMU_SEL_DIR=MCU_SELECTOR_MOTOR_DIR , MMU_SEL_ENABLE=MCU_SELECTOR_MOTOR_EN , MMU_SEL_UART=MCU_SELECTOR_MOTOR_UART , 23 | MMU_SEL_DIAG=MCU_SELECTOR_MOTOR_DIAG , 24 | 25 | MMU_SEL_ENDSTOP=MCU_ENDSTOP , 26 | MMU_SERVO=MCU_SERVO , 27 | MMU_ENCODER=MCU_ENCODER , 28 | MMU_GATE_SENSOR=MCU_HALL_SENSOR , 29 | MMU_NEOPIXEL=MCU_RGB , 30 | 31 | MMU_PRE_GATE_0=MCU_0 , MMU_PRE_GATE_1=MCU_1 , 32 | MMU_PRE_GATE_2=MCU_2 , MMU_PRE_GATE_3=MCU_3 , 33 | MMU_PRE_GATE_4=MCU_4 , MMU_PRE_GATE_5=MCU_5 , 34 | MMU_PRE_GATE_6=MMCU_6 , MMU_PRE_GATE_7=MCU_7 , 35 | MMU_PRE_GATE_8=MCU_26 , MMU_PRE_GATE_9=MCU_27 , 36 | MMU_PRE_GATE_10=MCU_28 , MMU_PRE_GATE_11=MCU_29 , 37 | 38 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/mmu/Mellow_fly_ERCF.cfg: -------------------------------------------------------------------------------- 1 | 2 | #---------------------------------------------# 3 | #### Mellow Fly ERCF MCU definition ########### 4 | #---------------------------------------------# 5 | 6 | [mcu mmu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | # canbus_uuid: change-me-to-the-correct-canbus-id 10 | ##-------------------------------------------------------------------- 11 | 12 | # If you want to override the wiring of the Mellow Fly ERCF board, keep in mind that this 13 | # board is defined using the "mmu" name. So you should use "pin: mmu:PIN_NAME" 14 | # in your own overrides.cfg files. 15 | 16 | [include config/mcu_definitions/mmu/Mellow_fly_ERCF.cfg] # Do not remove this line 17 | [board_pins mmu_mcu] 18 | mcu: mmu 19 | aliases: 20 | MMU_GEAR_STEP=MCU_GEAR_STEP , MMU_GEAR_DIR=MCU_GEAR_DIR , MMU_GEAR_ENABLE=MCU_GEAR_EN , MMU_GEAR_UART=MCU_GEAR_UART , 21 | MMU_GEAR_DIAG=MCU_GEAR_DIAG , 22 | MMU_SEL_STEP=MCU_SELECTOR_STEP , MMU_SEL_DIR=MCU_SELECTOR_DIR , MMU_SEL_ENABLE=MCU_SELECTOR_EN , MMU_SEL_UART=MCU_SELECTOR_UART , 23 | MMU_SEL_DIAG=MCU_SELECTOR_DIAG , 24 | 25 | MMU_SEL_ENDSTOP=MCU_ENDSTOP , 26 | MMU_SERVO=MCU_SERVO , 27 | MMU_ENCODER=MCU_ENCODER , 28 | MMU_GATE_SENSOR=MCU_EXTRA , 29 | 30 | SPI_SCLK=MCU_SCK , SPI_MOSI=MCU_MOSI , SPI_MISO=MCU_MISO , 31 | 32 | MMU_PRE_GATE_0=MCU_IO10 , MMU_PRE_GATE_1=MCU_IO26 , 33 | MMU_PRE_GATE_2=MCU_IO11 , MMU_PRE_GATE_3=MCU_IO27 , 34 | MMU_PRE_GATE_4=MCU_IO12 , MMU_PRE_GATE_5=MCU_IO28 , 35 | MMU_PRE_GATE_6=MCU_IO24 , MMU_PRE_GATE_7=MCU_IO29 , 36 | MMU_PRE_GATE_8=MCU_IO13 , MMU_PRE_GATE_9=MCU_IO25 , 37 | 38 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/mmu/Tircown_ERCF_easy_brd.cfg: -------------------------------------------------------------------------------- 1 | 2 | #--------------------------------------------------# 3 | #### Tircown ERCF easybrd MCU definition ########### 4 | #--------------------------------------------------# 5 | 6 | [mcu mmu] 7 | ##-------------------------------------------------------------------- 8 | serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path 9 | ##-------------------------------------------------------------------- 10 | 11 | # If you want to override the wiring of the ERCF easy brd, keep in mind that this 12 | # board is defined using the "mmu" name. So you should use "pin: mmu:PIN_NAME" 13 | # in your own overrides.cfg files. 14 | 15 | [include config/mcu_definitions/mmu/Tircown_ERCF_easy_brd.cfg] # Do not remove this line 16 | [board_pins mmu_mcu] 17 | mcu: mmu 18 | aliases: 19 | MMU_GEAR_STEP=MCU_GEAR_STEP , MMU_GEAR_DIR=MCU_GEAR_DIR , MMU_GEAR_ENABLE=MCU_GEAR_ENABLE , 20 | MMU_SEL_STEP=MCU_SELECTOR_STEP , MMU_SEL_DIR=MCU_SELECTOR_DIR , MMU_SEL_ENABLE=MCU_SELECTOR_ENABLE , 21 | 22 | MMU_GEAR_UART=MCU_TMCUART , # used for [tmc2209 stepper_mmu_gear] AND [tmc2209 stepper_mmu_selector] uart_pin in Happy_Hare 23 | MMU_SEL_DIAG=MCU_SELECTOR_DIAG , 24 | 25 | MMU_SEL_ENDSTOP=MCU_SELECTOR_STOP , 26 | MMU_SERVO=MCU_SERVO , 27 | MMU_ENCODER=MCU_ENCODER , # (if not GATE_SENSOR!) 28 | # MMU_GATE_SENSOR=MCU_ENCODER , # (if not ENCODER!) 29 | 30 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/toolhead/Mellow_SHT36-42_v1.x.cfg: -------------------------------------------------------------------------------- 1 | 2 | #-----------------------------------------------# 3 | #### Mellow SHT36/42 v1.x MCU definition ######## 4 | #-----------------------------------------------# 5 | 6 | [mcu toolhead] 7 | ##-------------------------------------------------------------------- 8 | canbus_uuid: change-me-to-the-correct-canbus-id 9 | ##-------------------------------------------------------------------- 10 | 11 | # If you want to override the wiring of the Mellow SHT, keep in mind that this 12 | # board is defined using the "toolhead" name. So you should use "pin: toolhead:PIN_NAME" 13 | # in your own overrides.cfg files. 14 | 15 | [include config/mcu_definitions/toolhead/Mellow_SHT36-42_v1.x.cfg] # Do not remove this line 16 | [board_pins sht_mcu] 17 | mcu: toolhead 18 | aliases: 19 | E_STEP=MCU_EXT_STEP , E_DIR=MCU_EXT_DIR , E_ENABLE=MCU_EXT_EN , E_TMCUART=MCU_EXT_UART , 20 | 21 | X_STOP=MCU_LIMIT_0 , Y_STOP=MCU_LIMIT_1 , 22 | PROBE_INPUT=MCU_PROBE_1 , 23 | RUNOUT_SENSOR=MCU_LIMIT_2 , 24 | TOOLHEAD_SENSOR=MCU_AUX0 , 25 | 26 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 27 | 28 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , 29 | 30 | STATUS_NEOPIXEL=MCU_RGBLED , 31 | 32 | ADXL_CS=MCU_ADXL , 33 | 34 | 35 | #----------------------------------------# 36 | # Mellow SHT36/42 v1.x pins remapping # 37 | #----------------------------------------# 38 | 39 | # These pins overrides are automatically added when you select a CANbus 40 | # toolhead MCU during the installation process. They should provide a 41 | # good base to work with. Feel free to adapt to your board if needed! 42 | 43 | [extruder] 44 | step_pin: toolhead:E_STEP 45 | dir_pin: toolhead:E_DIR 46 | enable_pin: !toolhead:E_ENABLE 47 | heater_pin: toolhead:E_HEATER 48 | sensor_pin: toolhead:E_TEMPERATURE 49 | 50 | [probe] 51 | pin: ^toolhead:PROBE_INPUT 52 | 53 | [fan] 54 | pin: toolhead:PART_FAN 55 | 56 | [heater_fan hotend_fan] 57 | pin: toolhead:E_FAN 58 | 59 | ## Uncomment the following line if not using sensorless homing 60 | ## and having the X endstop plugged to the toolhead MCU 61 | # [stepper_x] 62 | # endstop_pin: ^toolhead:X_STOP 63 | 64 | [neopixel status_leds] 65 | pin: toolhead:STATUS_NEOPIXEL 66 | 67 | [tmc2209 extruder] 68 | uart_pin: toolhead:E_TMCUART 69 | 70 | -------------------------------------------------------------------------------- /user_templates/mcu_defaults/toolhead/Mellow_SHT36_v2.x.cfg: -------------------------------------------------------------------------------- 1 | 2 | #--------------------------------------------# 3 | #### Mellow SHT36 v2.x MCU definition ######## 4 | #--------------------------------------------# 5 | 6 | [mcu toolhead] 7 | ##-------------------------------------------------------------------- 8 | canbus_uuid: change-me-to-the-correct-canbus-id 9 | ##-------------------------------------------------------------------- 10 | 11 | # If you want to override the wiring of the Mellow SHT, keep in mind that this 12 | # board is defined using the "toolhead" name. So you should use "pin: toolhead:PIN_NAME" 13 | # in your own overrides.cfg files. 14 | 15 | [include config/mcu_definitions/toolhead/Mellow_SHT36_v2.x.cfg] # Do not remove this line 16 | [board_pins sht_mcu] 17 | mcu: toolhead 18 | aliases: 19 | E_STEP=MCU_EXT_STEP , E_DIR=MCU_EXT_DIR , E_ENABLE=MCU_EXT_EN , E_TMCUART=MCU_EXT_UART , 20 | 21 | X_STOP=MCU_LIMIT_0 , Y_STOP=MCU_LIMIT_1 , 22 | PROBE_INPUT=MCU_PROBE_1 , 23 | TOOLHEAD_SENSOR=MCU_PROBE_2 , 24 | 25 | E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 , 26 | 27 | PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , 28 | 29 | STATUS_NEOPIXEL=MCU_RGBLED , 30 | 31 | ADXL_CS=MCU_ADXL , 32 | 33 | 34 | #----------------------------------------# 35 | # Mellow SHT36 v2.x pins remapping # 36 | #----------------------------------------# 37 | 38 | # These pins overrides are automatically added when you select a CANbus 39 | # toolhead MCU during the installation process. They should provide a 40 | # good base to work with. Feel free to adapt to your board if needed! 41 | 42 | [extruder] 43 | step_pin: toolhead:E_STEP 44 | dir_pin: toolhead:E_DIR 45 | enable_pin: !toolhead:E_ENABLE 46 | heater_pin: toolhead:E_HEATER 47 | sensor_pin: toolhead:E_TEMPERATURE 48 | 49 | [probe] 50 | pin: ^toolhead:PROBE_INPUT 51 | 52 | [fan] 53 | pin: toolhead:PART_FAN 54 | 55 | [heater_fan hotend_fan] 56 | pin: toolhead:E_FAN 57 | 58 | ## Uncomment the following line if not using sensorless homing 59 | ## and having the X endstop plugged to the toolhead MCU 60 | # [stepper_x] 61 | # endstop_pin: ^toolhead:X_STOP 62 | 63 | [neopixel status_leds] 64 | pin: toolhead:STATUS_NEOPIXEL 65 | 66 | [tmc2209 extruder] 67 | uart_pin: toolhead:E_TMCUART 68 | 69 | -------------------------------------------------------------------------------- /user_templates/save_variables.cfg: -------------------------------------------------------------------------------- 1 | [Variables] 2 | mmu_calibration_0 = 1.0 3 | --------------------------------------------------------------------------------