1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Klipper

Discussion in 'Off Topic' started by sgomes, Jan 9, 2018.

  1. sgomes

    sgomes Active Member

    Joined:
    Dec 29, 2016
    Messages:
    136
    Likes Received:
    55
    This is an interesting project, which splits up 3D printer control between the micro-controller and a separate computer (such as a Raspberry Pi), but not in the way OctoPrint does. The computer is used to calculate and schedule all the movement, whereas the micro-controller simply executes the work at the appropriate time. It can even handle multiple micro-controllers and keep them in sync, in case e.g. you want one controller per axis!

    Keeping the micro-controller codebase small supposedly helps maintain higher precision movement and a larger step throughput, and makes it much easier to tweak things, because now you're just changing a configuration file on a Linux machine, rather than recompiling and flashing new micro-controller code. Here's the feature list, where the author explains the advantages a lot better than I do.

    Definitely one to watch!
     
    OutsourcedGuru likes this.
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,643
    Likes Received:
    7,239
    Interesting approach ... could work with more commodity hardware. Most of the more advanced boards (RAMBO, etc) do something similar in hardware design, but they are more expensive than the default Arduino/RAMPS/Pi sort of arrangement. Even in the case of the Pi it is not really getting leveraged to handle much of the printer work... just the slicer and host control parts.
     
  3. Grim

    Grim New Member

    Joined:
    Nov 9, 2017
    Messages:
    11
    Likes Received:
    2
    Here is a config file for a C2 if you want to try it out

    Code:
    [stepper_x]
    step_pin: PF0
    dir_pin: PF1
    enable_pin: !PD7
    step_distance: .0125
    endstop_pin: ^PE5
    position_endstop: 0
    position_max: 125
    homing_speed: 50
    
    [stepper_y]
    step_pin: PF6
    dir_pin: !PF7
    enable_pin: !PF2
    step_distance: .0125
    endstop_pin: ^PJ1
    position_endstop: 0
    position_min: 0
    position_max: 125
    homing_speed: 50
    
    [stepper_z]
    step_pin: PL3
    dir_pin: PL1
    enable_pin: !PK0
    step_distance: 0.00125
    endstop_pin: ^PD3
    homing_positive_dir: True
    homing_speed: 5.0
    position_endstop: 151.1
    position_max: 151.1
    homing_speed: 15.0
    
    [extruder]
    step_pin: PA4
    dir_pin: PA6
    enable_pin: !PA2
    step_distance: 0.006872852
    nozzle_diameter: 0.400
    filament_diameter: 1.750
    heater_pin: PB4
    sensor_type: EPCOS 100K B57560G104F
    sensor_pin: PK5
    control: pid
    pid_Kp: 23.75
    pid_Ki: 1.7
    pid_Kd: 85.0
    min_temp: 0
    max_temp: 290
    
    [probe]
    pin: ^PD2
    speed: 3.00
    z_position: 0
    activate_gcode:
        G1 Z20
    
    [bed_tilt]
    #    A newline separated list of X,Y points that should be probed
    #    during a BED_TILT_CALIBRATE command. The default is to not enable
    #    the command.
    points:
        8,30
        65.2, 30
        115, 30
    
        8, 65.2
        65.2, 65.2
        115, 65.2
    
        8,115
        65.2, 115
        115,115
    
    #probe_z_offset: -10.211017
    probe_z_offset:0
    x_adjust: 0.006699 
    y_adjust: 0.017128
    
    
    
    [fan]
    pin: PH4
    
    [mcu]
    serial: /dev/ttyACM0
    #pin_map: arduino
    
    [printer]
    kinematics: cartesian
    max_velocity: 300
    max_accel: 3000
    max_z_velocity: 20
    max_z_accel: 1000
    
    
     
    #3 Grim, Feb 24, 2018
    Last edited: Feb 25, 2018
  4. RoboticsRob

    RoboticsRob Member

    Joined:
    Oct 11, 2018
    Messages:
    56
    Likes Received:
    16
    Did anyone ever give this a try? Thinking of converting one of my R2's, so if someone had a config file for the R2 they'd be willing to share, that'd be great.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,643
    Likes Received:
    7,239
    Except for the MAX positions and bed heater it would be much the same as the one for the C2.
     

Share This Page