Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.24k stars 5.26k forks source link

PT1000 + Mosquito Hotend on CR-10S Pro V2 Issues in the Final Stretch #4657

Closed AlchemyCustoms closed 3 years ago

AlchemyCustoms commented 3 years ago

I've made it all the way to the point that I can connect to the printer, but I get immediately disconnected due to my hotend reading 140375333.7°C... I think it's a bit cooler than that; so rather than force my way through that, I thought I'd ask if anyone has any experience or input on this.

Mainly I'm just trying to figure out where else I can tell the printer that I've changed the thermistor out for a PT1000... It looks to me like the Marlin firmware natively supports it, but it also looks like Klipper does too, so I'm confused on if I have a hardware error or a software problem!

I've been at this for HOURS now... losing my mind. Other things to note: Installation is based on KIAUH script inside of a Debian Buster Docker container on my Unraid server. Printer has the Mosquito hotend, and a Slice Engineering PT1000 and 50W heater. Wires all appear to be in good order from what I can best tell. Thanks in advance for the help, I appreciate it greatly!

klippy.log

Fluidd_Screenshot

github-actions[bot] commented 3 years ago

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response. Instead, see the contact directions at: https://www.klipper3d.org/Contact.html

We use github to share the results of work done to improve Klipper. We don't use github for requests. (In particular, we don't use github for feature requests, to answer questions, nor to help diagnose problems with a printer.)

Please follow the directions at: https://www.klipper3d.org/Contact.html

This ticket will be automatically closed.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

Zyorg12 commented 2 years ago

Hi, were you ever able to get this fixed? I have the exact same setup and issue and I've been pulling out my hair for two days now.

AlchemyCustoms commented 2 years ago

Yep, I've got ya Zyorg12.

I've come quite a long way since this post so I'm feeling pretty confident I can help ya out. Message my business page on FB if you need me to just chat with you about it for a bit so we don't clog up the forums. That being said, I've attached my config and everything relevant for the CR-10S Pro V1/V2 (I have the V2) below.

Also, please note that I am using the TYHI Net Mosquito Mount made by TYHI3D on Thingiverse, so my offsets, mesh bed leveling points, etc. will all be in accordance with that. I will point out that some of them aren't super accurate, so if you use the same mount and decide to dial it in more, I'd love to know the perfect points but haven't had time to find them myself.

Remove the hash tags in front of the lines you are going to use when you actually do the tests for them. Input shaping and Pressure Advance are critical on these CR-10S Pros... Made an insane difference for my print quality. It does take a good bit of time and a decent amount of filament, but it is respectable when you realize how much benefit it brings for the time and overall money invested in filament.

[mcu]
#For serial, it will be something SIMILAR to the line below, but maybe not exactly. If you've got communication to the Klipper firmware already from the webUI, then you have nothing to worry about here.
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AG0JPIWH-if00-port0
pin_map: arduino

[virtual_sdcard]
path: ~/gcode_files

[printer]
kinematics: cartesian
max_velocity: 150 #Make sure to set your travel velocity to 150mm/s in Cura or whatever slicer you use as well
max_accel: 7000 #I typically set my printer to only run around 1400mm/s^2 for acceleration, but that's with a VERY well tuned machine and an extremely solid table. Please note in the next block that I am also using the Input Shaper. Almost a must-have at this acceleration on a CR-10S Pro V1/V2.
max_accel_to_decel: 7000 #Same For this line, except I run around 60mm/s^2 SLOWER than the acceleration value
max_z_velocity: 20
max_z_accel: 120

#[input_shaper]
#shaper_freq_x: 27.84 #These numbers WILL NOT be accurate for your machine; CALIBRATE ACCORDINGLY AND THOROUGHLY
#shaper_freq_y: 31.32
#shaper_type: mzv #Same with the shaper type, it may not be the same. Be patient and try several variations if budget allows.

[fan]
pin: ar9

#Offsets work for the TYHI Net Mosquito Mount
[bltouch]
sensor_pin: ^ar19
control_pin: ar11
stow_on_each_sample: False
probe_with_touch_mode: True
x_offset: -27
y_offset: -2
z_offset: 5.150 #Set this to your actual Z-offset. This is the one thing I never could get just right out of the gate accurate.
speed: 3.0 #Can decrease by up to half but not really necessary... Could increase a bit but eh, stability
samples: 2 #Change this to 1  for faster probing or 3 for more probes per point / more accuracy
sample_retract_dist: 3

#I'm a little lax here in the hysteresis, same for the bed as well...
#Not the safest, but I have some MAD temp fluctuations throughout the day at my shop
[verify_heater extruder]
heating_gain: 2
check_gain_time:60
hysteresis: 10
max_error: 160

[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
#Calibrate this VERY carefully and get it as absolutely spot-on as possible
#Most likely ALL of your other quality issues will stem from this if all else is failing.
rotation_distance: 22.801
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.747 #Be VERY specific if you have some calipers and can measure multiple parts of the filament
max_extrude_only_distance: 500.0
max_extrude_only_velocity: 100.0
max_extrude_only_accel: 1000.0
heater_pin: ar10 #This is where the 50W heater is plugged in
sensor_type: PT1000 #This is where the PT1000 gets specified
sensor_pin: analog13 #This is the sensor pin the PT1000 is plugged into and should be the same as the default thermistor
#There is no physical pullup resistor, just the code here.
#I don't know that you even need this line, but I would leave it since it isn't hurting anything
pullup_resistor: 4700
#I have a fairly long bowden tube, so I need a higher value for pressure advance.
#Try the shortest bowden tube you can comfortably use and tune very carefully for pressure advance for great results.
pressure_advance: 0.434
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_extrude_temp: 170
min_temp: 0
max_temp: 340 #Semi-arbitrary value, doesn't particularly matter as long as it's not over like ~500C

[pause_resume]
recover_velocity: 50

#I honestly don't believe this works with the setups we have, but I added it for completeness anyway
[firmware_retraction]
retract_length: 0.92
retract_speed: 48
unretract_extra_length: 0
unretract_speed: 48

[filament_switch_sensor e0_sensor]
switch_pin: ar2
pause_on_runout: false
#M600 is a g code macro you can find by checking around a bit. I believe I got it from Desuuuu's branch of klipper
runout_gcode:
  M600
event_delay: 1.2
pause_delay: 0.0001

[respond]
default_type: echo

[verify_heater heater_bed]
heating_gain: 2
check_gain_time: 70
hysteresis: 7
max_error: 130

#Default bed heater, nothing fancy here
[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
#DO NOT USE THESE PID VALUES. These were autocommented out from my PID autotune.
#Do your own PID tune, fans set to half speed and starting from having sat at room temperature for a good long while first.
control: pid
pid_Kp = 74.305                         # Creality borosilicate glass bed
pid_Ki = 1.242                          # Creality borosilicate glass bed
pid_Kd = 1111.784                       # Creality borosilicate glass bed
min_temp: 5
max_temp: 130

#This grid and the bed screw settings aren't exactly accurate on placement but they work well enough.
#Again note that this is with the "TYHI Net" Mosquito Mount.
#Feel free to update and I'd love to know exactly what would be spot-on.
[bed_mesh]
speed: 120
horizontal_move_z: 12
mesh_min: 32, 32
mesh_max: 258, 258
probe_count: 5
fade_start: 1
fade_end: 10
mesh_pps: 2,2
algorithm: bicubic

[bed_screws]
screw1: 54,32
screw1_name: Front Left Screw (First)
screw2: 292,32
screw2_name: Front Right Screw
screw3: 292,285
screw3_name: Rear Right Screw
screw4: 54, 285
screw4_name: Rear Left Screw (Last)
horizontal_move_z: 12
probe_height: 0.2
speed: 38
probe_speed: 2.8

[screws_tilt_adjust]
screw1: 54,32
screw1_name: Front Left Screw (First)
screw2: 292,32
screw2_name: Front Right Screw
screw3: 292,285
screw3_name: Rear Right Screw
screw4: 54, 285
screw4_name: Rear Left Screw (Last)
speed: 38
horizontal_move_z: 12
screw_thread: CW-M4

[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^ar3
position_endstop: 0
position_min: 0
position_max: 325
homing_speed: 50
homing_retract_dist: 5

[stepper_y]
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^ar14
position_endstop: 0
position_min: 0
position_max: 325
homing_speed: 50
homing_retract_dist: 5

[stepper_z]
step_pin: ar46
dir_pin: !ar48
enable_pin: !ar62
rotation_distance: 8
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: probe:z_virtual_endstop
position_min: -8
position_max: 351

[safe_z_home]
home_xy_position: 178,150
speed: 60.0
z_hop: 12.0
z_hop_speed: 4.0

[display_status]

#This block may need to be replaced with a different block, depending on which branch of Desuuuu's firmware you use
#This is from the main branch.
[t5uid1]
firmware: dgus_reloaded
update_interval: 1
volume: 70
brightness: 100
machine_name: My Printer

#This is the full hardware config with descriptions for using ADXL345 accelerometers with Klipper. Highly advisable for input shaper tuning.
#[adxl345]
#cs_pin:   #The SPI enable pin for the sensor. This parameter must be provided.
#spi_speed: 5000000   #The SPI speed (in hz) to use when communicating with the chip. The default is 5000000.
#spi_bus:
#spi_software_sclk_pin:
#spi_software_mosi_pin:
#spi_software_miso_pin:   #See the "common SPI settings" section for a description of the above parameters.
#axes_map: x,y,z
#   The accelerometer axis for each of the printer's x, y, and z axes.
#   This may be useful if the accelerometer is mounted in an
#   orientation that does not match the printer orientation. For
#   example, one could set this to "y,x,z" to swap the x and y axes.
#   It is also possible to negate an axis if the accelerometer
#   direction is reversed (eg, "x,z,-y"). The default is "x,y,z".
#rate: 3200
#   Output data rate for ADXL345. ADXL345 supports the following data
#   rates: 3200, 1600, 800, 400, 200, 100, 50, and 25. Note that it is
#   not recommended to change this rate from the default 3200, and
#   rates below 800 will considerably affect the quality of resonance
#   measurements.

#[resonance_tester]
#probe_points:
#   A list of X,Y,Z coordinates of points (one point per line) to test
#   resonances at. At least one point is required. Make sure that all
#   points with some safety margin in XY plane (~a few centimeters)
#   are reachable by the toolhead.
#accel_chip:
#   A name of the accelerometer chip to use for measurements. If
#   adxl345 chip was defined without an explicit name, this parameter
#   can simply reference it as "accel_chip: adxl345", otherwise an
#   explicit name must be supplied as well, e.g. "accel_chip: adxl345
#   my_chip_name". Either this, or the next two parameters must be
#   set.
#accel_chip_x:
#accel_chip_y:
#   Names of the accelerometer chips to use for measurements for each
#   of the axis. Can be useful, for instance, on bed slinger printer,
#   if two separate accelerometers are mounted on the bed (for Y axis)
#   and on the toolhead (for X axis). These parameters have the same
#   format as 'accel_chip' parameter. Only 'accel_chip' or these two
#   parameters must be provided.
#max_smoothing:
#   Maximum input shaper smoothing to allow for each axis during shaper
#   auto-calibration (with 'SHAPER_CALIBRATE' command). By default no
#   maximum smoothing is specified. Refer to Measuring_Resonances guide
#   for more details on using this feature.
#min_freq: 5
#   Minimum frequency to test for resonances. The default is 5 Hz.
#max_freq: 120
#   Maximum frequency to test for resonances. The default is 120 Hz.
#accel_per_hz: 75
#   This parameter is used to determine which acceleration to use to
#   test a specific frequency: accel = accel_per_hz * freq. Higher the
#   value, the higher is the energy of the oscillations. Can be set to
#   a lower than the default value if the resonances get too strong on
#   the printer. However, lower values make measurements of
#   high-frequency resonances less precise. The default value is 75
#   (mm/sec).
#hz_per_sec: 1
#   Determines the speed of the test. When testing all frequencies in
#   range [min_freq, max_freq], each second the frequency increases by
#   hz_per_sec. Small values make the test slow, and the large values
#   will decrease the precision of the test. The default value is 1.0
#   (Hz/sec == sec^-2).

[save_variables]
filename: ~/variables.cfg

[include macros/*.cfg]