Skip to content

Instantly share code, notes, and snippets.

View bistory's full-sized avatar
😊

Thomas bistory

😊
View GitHub Profile
@bistory
bistory / led_effects.cfg
Last active May 21, 2023 01:52
Klipper Led Effects example configuration
[led_effect logo_idle]
autostart: false
frame_rate: 24
leds:
neopixel:sb_leds (1-8)
layers:
breathing 10 1 top (0,0,.7)
[led_effect critical_error]
leds:
  1. Système à jour, Klipper à jour et dfu-util installé ( sudo apt-get install dfu-util )

  2. Installation de CanBoot

git clone https://github.com/Arksine/CanBoot
cd CanBoot
make menuconfig
make
@bistory
bistory / gist:0d323488ede27b0b9e581a9f53116ac7
Created January 10, 2024 19:23
Tuto Ikea Vindriktning
# Ikea Vindriktning
uart:
rx_pin: 6
baud_rate: 9600
# SHT21
i2c:
sda: 8
scl: 10
scan: true
@bistory
bistory / macro_pa.cfg
Created July 24, 2022 09:34
Klipper Macro for easy Pressure Advance calibration
#
# This macro comes from VoronFR Discord : https://discord.gg/nmAdtqX6
# Pressure Advance calibration test.
#
# The main reason for this test is that the standard tuning tower provides ambigious, open to interpretation readings with a broad margin for error.
# This test provides control values next to the values being tested, so differences are easier to notice at a glance.
#
# Prints a series of bands, 6 lines per each, with the first 3 lines printed slowly and used as baseline/control and the other 3
# at two different speeds in the following sequence: 25% at 40mm/sec, 50% at 120mm/sec, 25% at 40mm/sec.
# Pressure Advance value is being increased for every band starting from 0.01 with 0.002 increments.
@bistory
bistory / mainsail.cfg
Last active February 8, 2024 08:19
Fichiers de configuration de Voron 2.4 pour la Spider 1.x
#####################################################################
# Mainsail
#####################################################################
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
@bistory
bistory / macros_sb.cfg
Last active March 2, 2024 18:12
Voron StealthBurner LEDs config example
[gcode_macro CALIBRATE_Z]
rename_existing: BASE_CALIBRATE_Z
gcode:
STATUS_CALIBRATING_Z
BASE_CALIBRATE_Z
@bistory
bistory / PIS.cfg
Last active April 4, 2024 08:02
PIS.cfg
[mcu PIS]
# Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
serial: /dev/serial/by-id/xxxx
[adxl345]
cs_pin: PIS:gpio13
#spi_bus: spi1a
spi_software_sclk_pin: PIS:gpio10
spi_software_mosi_pin: PIS:gpio11
spi_software_miso_pin: PIS:gpio12
@bistory
bistory / macros_filament.cfg
Created February 11, 2023 21:06
Macros for loading and unloading filament with Klipper
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
SAVE_GCODE_STATE NAME=load_state
M300 # beep
G91
G92 E0
G1 E350 F{max_velocity} # fast-load
G1 E25 F{speed} # purge
@bistory
bistory / Klipper Anycubic i3 Mega
Last active April 25, 2024 18:34
Anycubic i3 Mega configuration for Klipper (with TMC2209 + SPI, BMG extruder with stock motor, pressure advance and BLTouch clone)
# This file contains pin mappings for the Anycubic i3 Mega with
# Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1
# prior to the Ultrabase if you comment out the definition of the
# endstop_pin in the stepper_z1 section.) To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: PF0