Jaki obecnie Firmware wybrać dla Ramps i PI?
- Marcin.KnD
- Konto z ograniczeniami
- Postów w temacie: 35
- Posty: 648
- Rejestracja: 03 maja 2017, 03:16
- Drukarka: CoreXY 300x300x300
- x 51
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
Dragon poczytałem trochę dokumentację wydaje się dla mnie bardziej zrozumiała nic marlin. Ale będę potrzebował twojejpomocy przy konfiguracji.
Nie jest to tak trudne jakby się wydawało ale duzo prób i testów trzeba zrobić.
Widziałem że jest obsługa CoreXY i jakis kod dla ekranu 128x64.
Jutro spróbuję przygotować config. Najwyższej sprawdzisz pod kątem merytorycznym
Nie jest to tak trudne jakby się wydawało ale duzo prób i testów trzeba zrobić.
Widziałem że jest obsługa CoreXY i jakis kod dla ekranu 128x64.
Jutro spróbuję przygotować config. Najwyższej sprawdzisz pod kątem merytorycznym
- dragonn
- Zasłużony
- Postów w temacie: 16
- Posty: 6384
- Rejestracja: 12 gru 2016, 21:50
- Lokalizacja: Opole
- Drukarka: LUME
- x 1455
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
Jasne, pomogę na pewno . Też mi się wydaje że sama konfiguracja Klippera jest prostsza niż Marlina.
Marcin.KnD
- Berg
- Zasłużony
- Postów w temacie: 6
- Posty: 7570
- Rejestracja: 05 lis 2016, 11:57
- Lokalizacja: Kraków
- Drukarka: Lume, K8400, HC Evo
- x 2675
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
nawet zacząłem robić własny interfejs do Klippera, do wyświetlacza graficznego, ale mi się znudziło
Prusa i3 mk3s https://tinyurl.com/y65mva4m
Photon
Velleman Vertex K8400x2 https://tinyurl.com/y55pnudv
HyperCube Evolution ST 250 https://tinyurl.com/y36cexyw
Anycubik Kossel Plus https://tinyurl.com/y5ybrh8v
K40 https://tinyurl.com/y3gzdnbg
MD-16 https://tinyurl.com/y4lz6bpf
CNC https://tinyurl.com/y5ku9jf2
Photon
Velleman Vertex K8400x2 https://tinyurl.com/y55pnudv
HyperCube Evolution ST 250 https://tinyurl.com/y36cexyw
Anycubik Kossel Plus https://tinyurl.com/y5ybrh8v
K40 https://tinyurl.com/y3gzdnbg
MD-16 https://tinyurl.com/y4lz6bpf
CNC https://tinyurl.com/y5ku9jf2
- Marcin.KnD
- Konto z ograniczeniami
- Postów w temacie: 35
- Posty: 648
- Rejestracja: 03 maja 2017, 03:16
- Drukarka: CoreXY 300x300x300
- x 51
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
No więc skleiłem z grubsza config dla klipper'a:
Mam tylko parę pytań. czy macie mapę Pinów do klipera, używam FAN_Extender i niektóre wyjścia mam pod innymi pinami. pasuje to pozmieniać
w załączniku mój config z Repetiera.
Potrzebuje
D6 - fan extruder,
D11 - BLTOUCH - servo0
D5 - case Light
no i obsługa ATX PS-ON
Kod: Zaznacz cały
# This file contains common pin mappings for RAMPS (v1.3 and later)
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See the example.cfg file for a description of available parameters.
# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Y movement.
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .01
endstop_pin: ^ar3
position_endstop: 0
position_max: 295
homing_speed: 50
# The stepper_y section is used to describe the Y axis as well as the
# stepper controlling the X-Y movement.
[stepper_y]
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .01
endstop_pin: ^ar14
position_endstop: 0
position_max: 295
homing_speed: 50
[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
endstop_pin: ^ar18
#endstop_pin: ^ar19
position_endstop: 0.5
position_max: 295
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: NTC 100K beta 3950
sensor_pin: analog13
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 270
[heater_bed]
heater_pin: ar8
sensor_type: NTC 100K beta 3950
sensor_pin: analog14
control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: ar9
[heater_fan my_nozzle_fan]
# See the "fan" section for fan configuration parameters.
pin: ar4
# The remaining variables are specific to heater_fan.
heater: extruder
# Name of the config section defining the heater that this fan is
# associated with. The default is "extruder".
heater_temp: 50.0
# A temperature (in Celsius) that the heater must drop below before
# the fan is disabled. The default is 50 Celsius.
#fan_speed:
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
# will be set to when its associated heater is enabled. The default
# is max_power.
[mcu]
serial: /dev/ttyUSB0
baud: 250000
pin_map: arduino
restart_method: arduino
[printer]
kinematics: corexy
# This option must be "corexy" for corexy printers.
max_velocity: 300
max_accel: 3000
max_z_velocity: 25
max_z_accel: 30
motor_off_time: 600
junction_deviation: 0.02
# "RepRapDiscount 2004 Smart Controller" type displays
#[display]
#lcd_type: hd44780
#rs_pin: ar16
#e_pin: ar17
#d4_pin: ar23
#d5_pin: ar25
#d6_pin: ar27
#d7_pin: ar29
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
[display]
lcd_type: st7920
cs_pin: ar16
sclk_pin: ar23
sid_pin: ar17
w załączniku mój config z Repetiera.
Potrzebuje
D6 - fan extruder,
D11 - BLTOUCH - servo0
D5 - case Light
no i obsługa ATX PS-ON
- Załączniki
-
- Configuration.h
- (36.49 KiB) Pobrany 180 razy
- dragonn
- Zasłużony
- Postów w temacie: 16
- Posty: 6384
- Rejestracja: 12 gru 2016, 21:50
- Lokalizacja: Opole
- Drukarka: LUME
- x 1455
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
https://github.com/KevinOConnor/klipper ... py/pins.py
O ile mi wiadomo to możesz po prostu wpisywać piny też jako PD6, PD11 itd.
Ale tłumacząc na klipperowy to będzie po prostu ar6, ar11, ar5. Co do obsługi PS_ON to zdefiniuj sobie pin cyfrowy, zerknij tu https://github.com/KevinOConnor/klipper/issues/189
O ile mi wiadomo to możesz po prostu wpisywać piny też jako PD6, PD11 itd.
Ale tłumacząc na klipperowy to będzie po prostu ar6, ar11, ar5. Co do obsługi PS_ON to zdefiniuj sobie pin cyfrowy, zerknij tu https://github.com/KevinOConnor/klipper/issues/189
Marcin.KnD
- Marcin.KnD
- Konto z ograniczeniami
- Postów w temacie: 35
- Posty: 648
- Rejestracja: 03 maja 2017, 03:16
- Drukarka: CoreXY 300x300x300
- x 51
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
Kod: Zaznacz cały
# This file contains common pin mappings for RAMPS (v1.3 and later)
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See the example.cfg file for a description of available parameters.
# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Y movement.
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .01
endstop_pin: ^ar3
position_endstop: 0
position_max: 295
homing_speed: 20
# The stepper_y section is used to describe the Y axis as well as the
# stepper controlling the X-Y movement.
[stepper_y]
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .01
endstop_pin: ^ar14
position_endstop: 0
position_max: 295
homing_speed: 20
[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
endstop_pin: ^ar18
#endstop_pin: ^ar19
position_endstop: 295
position_max: 295
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: NTC 100K beta 3950
sensor_pin: analog13
control: pid
pid_Kp: 6.39
pid_Ki: 0.24
pid_Kd: 41.66
min_temp: 180
max_temp: 275
# Heater and temperature sensor verification. Heater verification is
# automatically enabled for each heater that is configured on the
# printer. Use verify_heater sections to change the default settings.
[verify_heater heater_config_name]
heating_gain: 2
# The minimum temperature (in Celsius) that the heater must increase
# by when approaching a new target temperature. The default is 2.
#check_gain_time:
# The amount of time (in seconds) that the heating_gain must be met
# in before an error is raised. The default is 20 seconds for
# extruders and 60 seconds for heater_bed.
hysteresis: 5
# The difference between the target temperature and the current
# temperature for the heater to be considered within range of the
# target temperature. The default is 5.
max_error: 120
# The maximum temperature difference a heater that falls outside the
# target temperature range may accumulate before an error is
# raised. For example, if the target temperature is 200, the
# hysteresis is 5, the max_error is 120, and the temperature is
# reported at 185 degrees for 12 seconds then an error would be
# raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The
# default is 120.
[heater_bed]
heater_pin: ar8
sensor_type: NTC 100K beta 3950
sensor_pin: analog14
control: watermark
min_temp: 50
max_temp: 150
[fan]
pin: ar9
max_power: 1.0
kick_start_time: 0.100
cycle_time: 0.010
hardware_pwm: False
[heater_fan my_nozzle_fan]
# See the "fan" section for fan configuration parameters.
pin: ar5
# The remaining variables are specific to heater_fan.
heater: extruder
# Name of the config section defining the heater that this fan is
# associated with. The default is "extruder".
heater_temp: 50.0
# A temperature (in Celsius) that the heater must drop below before
# the fan is disabled. The default is 50 Celsius.
#fan_speed:
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
# will be set to when its associated heater is enabled. The default
# is max_power.
[mcu]
serial: /dev/ttyUSB0
baud: 250000
pin_map: arduino
restart_method: arduino
[printer]
kinematics: corexy
# This option must be "corexy" for corexy printers.
max_velocity: 300
max_accel: 4000
max_z_velocity: 25
max_z_accel: 30
motor_off_time: 600
junction_deviation: 0.02
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
[display]
lcd_type: st7920
cs_pin: ar16
sclk_pin: ar23
sid_pin: ar17
[servo bltouch]
pin: ar11
maximum_servo_angle: 180
minimum_pulse_width: 0.0006
maximum_pulse_width: 0.0024
# Define a probe using the BLTouch
[probe]
pin: ar30
activate_gcode:
SET_SERVO SERVO=bltouch ANGLE=10
SET_SERVO SERVO=bltouch ANGLE=60
G4 P200
deactivate_gcode:
SET_SERVO SERVO=bltouch ANGLE=90
# Example bed_tilt config section
[bed_tilt]
#x_adjust:
#y_adjust:
points:
100,100
10,10
10,100
10,190
100,10
100,190
190,10
190,100
190,190
probe_z_offset: 0,8
# If the BLTouch is used to home the Z axis, then define a
# homing_override section, use probe:z_virtual_endstop as the
# endstop_pin in the stepper_z section, and set the endstop_position
# in the stepper_z section to match the probe's probe_z_offset.
#[homing_override]
#set_position_z: 5
#gcode:
# ; G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start
# ; G1 Z7 F600
# G28 X0 Y0
# G1 X100 Y100 F3600
# G28 Z0
[digital_output power]
pin: !ar12
value: 0
shutdown_value: 0
[digital_output light]
pin: ar4
value: 1
shutdown_value: 0
sprawdź.
BLtouch Servro 0 (D11)
jeszcze na servo 1 (d6) mam filament runout sensor - przydała by się tez jego obsługa
D5 - Extruder fan
D4 Light
Jak obliczyć kroki dla tego firmware?? silniki mam 200 * 16. W XY mam 80 (160 w repetier) w Z mam 400 (trapez 8mm), Esteps mam 439 (titan)
ar30 - to Zmin (D18)??
Tak w skrócie moja konfiguracja :
CoreXY, Endostopy Xmin, Ymin, Zmax, do Zmin Bltouch
Servo0 bltouch, servo 1 Filamnet Run Aout Sensor, na pozostałych Fan extender
Pytam dlatego że ten plik z pinami nic mi nie mówi
- dragonn
- Zasłużony
- Postów w temacie: 16
- Posty: 6384
- Rejestracja: 12 gru 2016, 21:50
- Lokalizacja: Opole
- Drukarka: LUME
- x 1455
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
Kroki liczysz dzieląc 1/kroki w inny firmware. Co do pinów jeśli masz zmin na D18 to najlepiej wpisz PD18 i też zadziała. Filamnet Run Aout Sensor niestety nie wiem, nie słyszałem jeszcze o obsłudze niego, musisz doczytać albo zapytaj na githubie.
- jestan
- Konto z ograniczeniami
- Postów w temacie: 1
- Posty: 223
- Rejestracja: 27 lis 2016, 15:27
- Drukarka: Lume, MiniCoreXY
- x 24
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
Rafał, idziesz na łatwiznę? ))rafaljot pisze:ja teraz wszędzie mam Repetiera,
No żart, ale powiedz w czym ta wyższość Repetiera, w konfiguracji??
Bo może i ja poeksperymentuję...
- Berg
- Zasłużony
- Postów w temacie: 6
- Posty: 7570
- Rejestracja: 05 lis 2016, 11:57
- Lokalizacja: Kraków
- Drukarka: Lume, K8400, HC Evo
- x 2675
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
po prostu Repetier wczesniej zaczął mieć stabilną wersję dla Due i konfigurację podwójnych niezależnych silników w osi, więc przesiadłem się na Repetiera. Coby nie musieć ogarniać kilku firmłerów ostatecznie wszędzie wgrałem repetiera.
Poza tym wolę menu na LCD w repetierze. (choćby tak bzdura jak ekran, który pokazuje stan krańcówek)
eksperymetalnie z Klipperem jeszcze coś robię.
Poza tym wolę menu na LCD w repetierze. (choćby tak bzdura jak ekran, który pokazuje stan krańcówek)
eksperymetalnie z Klipperem jeszcze coś robię.
Prusa i3 mk3s https://tinyurl.com/y65mva4m
Photon
Velleman Vertex K8400x2 https://tinyurl.com/y55pnudv
HyperCube Evolution ST 250 https://tinyurl.com/y36cexyw
Anycubik Kossel Plus https://tinyurl.com/y5ybrh8v
K40 https://tinyurl.com/y3gzdnbg
MD-16 https://tinyurl.com/y4lz6bpf
CNC https://tinyurl.com/y5ku9jf2
Photon
Velleman Vertex K8400x2 https://tinyurl.com/y55pnudv
HyperCube Evolution ST 250 https://tinyurl.com/y36cexyw
Anycubik Kossel Plus https://tinyurl.com/y5ybrh8v
K40 https://tinyurl.com/y3gzdnbg
MD-16 https://tinyurl.com/y4lz6bpf
CNC https://tinyurl.com/y5ku9jf2
- Marcin.KnD
- Konto z ograniczeniami
- Postów w temacie: 35
- Posty: 648
- Rejestracja: 03 maja 2017, 03:16
- Drukarka: CoreXY 300x300x300
- x 51
Re: Jaki obecnie Firmware wybrać dla Ramps i PI?
No dobra mam działające silniki w prawidłowych kierunkach, homing, grzałki
nie mam zalilacza ATX i światła (D4)
jeśli odkomentuje
to dostaję
Kolejna rzecz jak ustawić żeby po homingu, odsunął się od endstopów, bo teraz je cały czas wciska
Kod: Zaznacz cały
# This file contains common pin mappings for RAMPS (v1.3 and later)
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See the example.cfg file for a description of available parameters.
# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Y movement.
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
endstop_pin: ^!ar3
position_endstop: 0
position_max: 295
homing_speed: 20
# The stepper_y section is used to describe the Y axis as well as the
# stepper controlling the X-Y movement.
[stepper_y]
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .0125
endstop_pin: ^!ar14
position_endstop: 0
position_max: 295
homing_speed: 20
[stepper_z]
step_pin: ar46
dir_pin: !ar48
enable_pin: !ar62
step_distance: .0025
#endstop_pin: ^!ar18
endstop_pin: ^!ar19
position_endstop: 295
position_max: 295
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .0022779043280182
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: NTC 100K beta 3950
sensor_pin: analog13
control: pid
pid_Kp: 6.39
pid_Ki: 0.24
pid_Kd: 41.66
min_temp: 10
max_temp: 275
# Heater and temperature sensor verification. Heater verification is
# automatically enabled for each heater that is configured on the
# printer. Use verify_heater sections to change the default settings.
#[verify_heater heater_config_name]
#heating_gain: 2
# The minimum temperature (in Celsius) that the heater must increase
# by when approaching a new target temperature. The default is 2.
#check_gain_time:
# The amount of time (in seconds) that the heating_gain must be met
# in before an error is raised. The default is 20 seconds for
# extruders and 60 seconds for heater_bed.
#hysteresis: 5
# The difference between the target temperature and the current
# temperature for the heater to be considered within range of the
# target temperature. The default is 5.
#max_error: 120
# The maximum temperature difference a heater that falls outside the
# target temperature range may accumulate before an error is
# raised. For example, if the target temperature is 200, the
# hysteresis is 5, the max_error is 120, and the temperature is
# reported at 185 degrees for 12 seconds then an error would be
# raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The
# default is 120.
[heater_bed]
heater_pin: ar8
sensor_type: NTC 100K beta 3950
sensor_pin: analog14
control: watermark
min_temp: 10
max_temp: 150
[fan]
pin: ar9
max_power: 1.0
kick_start_time: 0.100
cycle_time: 0.010
hardware_pwm: False
[heater_fan my_nozzle_fan]
# See the "fan" section for fan configuration parameters.
pin: ar4
# The remaining variables are specific to heater_fan.
heater: extruder
# Name of the config section defining the heater that this fan is
# associated with. The default is "extruder".
heater_temp: 50.0
# A temperature (in Celsius) that the heater must drop below before
# the fan is disabled. The default is 50 Celsius.
#fan_speed:
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
# will be set to when its associated heater is enabled. The default
# is max_power.
[mcu]
serial: /dev/ttyUSB0
baud: 250000
pin_map: arduino
restart_method: arduino
[printer]
kinematics: corexy
# This option must be "corexy" for corexy printers.
max_velocity: 300
max_accel: 4000
max_z_velocity: 25
max_z_accel: 30
motor_off_time: 600
junction_deviation: 0.02
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
[display]
lcd_type: st7920
cs_pin: ar16
sclk_pin: ar23
sid_pin: ar17
#[servo bltouch]
#pin: ar11
#maximum_servo_angle: 180
#minimum_pulse_width: 0.0006
#maximum_pulse_width: 0.0024
# Define a probe using the BLTouch
#[probe]
#pin: ar30
#activate_gcode:
# SET_SERVO SERVO=bltouch ANGLE=10
# SET_SERVO SERVO=bltouch ANGLE=60
# G4 P200
#deactivate_gcode:
# SET_SERVO SERVO=bltouch ANGLE=90
# Example bed_tilt config section
#[bed_tilt]
#x_adjust:
#y_adjust:
#points:
# 100,100
# 10,10
# 10,100
# 10,190
# 100,10
# 100,190
# 190,10
# 190,100
# 190,190
#probe_z_offset: 0,8
# If the BLTouch is used to home the Z axis, then define a
# homing_override section, use probe:z_virtual_endstop as the
# endstop_pin in the stepper_z section, and set the endstop_position
# in the stepper_z section to match the probe's probe_z_offset.
#[homing_override]
#set_position_z: 5
#gcode:
# ; G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start
# ; G1 Z7 F600
# G28 X0 Y0
# G1 X100 Y100 F3600
# G28 Z0
#[digital_output power]
#pin: !ar12
#value: 0
#shutdown_value: 0
#[digital_output light]
#pin: ar4
#value: 1
#shutdown_value: 0
jeśli odkomentuje
Kod: Zaznacz cały
#[digital_output power]
#pin: !ar12
#value: 0
#shutdown_value: 0
#[digital_output light]
#pin: ar4
#value: 1
#shutdown_value: 0
i to samo do drugiego.Recv: // Unknown config file section 'digital_output power'
Recv: // Once the underlying issue is corrected, use the "RESTART"
Recv: // command to reload the config and restart the host software.
Recv: // Printer is halted
Recv: !! Unknown config file section 'digital_output power'
Kolejna rzecz jak ustawić żeby po homingu, odsunął się od endstopów, bo teraz je cały czas wciska