This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 12 voto(s) - 4.67 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial sensores BLTOUCH y 3DTOUCH
Hola acabo de recibir un 3D touch y no consigo hacerlo funcionar.
Tengo una placa MKS SBASE V1.3 con firmware Smothieware  y de momento no he conseguido hacerlo funcionar.
Alguien tiene instalado un 3D Touch o Bltouch en una MKS con smoothie?

Cuando enciendo la impresora hace el test, baja y sube la punta un par de veces y se queda encendido.
He probado de mandar comandos M280 con el pronterface pero no hace caso.
Le he colocado un led como en el vídeo para ver si da señal y tampoco.
Vídeo https://youtu.be/zn_qLmcB_b0

Ne se que más probar.
Saludos
  Responder
(28-05-2020, 04:05 PM)pere_gs escribió: Hola acabo de recibir un 3D touch y no consigo hacerlo funcionar.
Tengo una placa MKS SBASE V1.3 con firmware Smothieware  y de momento no he conseguido hacerlo funcionar.
Alguien tiene instalado un 3D Touch o Bltouch en una MKS con smoothie?

Cuando enciendo la impresora hace el test, baja y sube la punta un par de veces y se queda encendido.
He probado de mandar comandos M280 con el pronterface pero no hace caso.
Le he colocado un led como en el vídeo para ver si da señal y tampoco.
Vídeo https://youtu.be/zn_qLmcB_b0

Ne se que más probar.
Saludos

Estos son los comandos en smothieware 
M280 S3.0                          Push-pin down
M280 S7.0                          Push-pin up      
M280 S10.6                        Alarm release  
M280 S8.4                          Self-test             
M280 S5.5                          ZMin test mode (for M119)

Te aconsejo que revises la web de smothi, esta bien documentado todo, diria mejor que marlin ya que este tiene varios tutos que resuelven de diferente forma y te hacs un lio jeje
  Responder
(29-05-2020, 03:26 PM)TedCer escribió: Estos son los comandos en smothieware 
M280 S3.0                          Push-pin down
M280 S7.0                          Push-pin up      
M280 S10.6                        Alarm release  
M280 S8.4                          Self-test             
M280 S5.5                          ZMin test mode (for M119)

Te aconsejo que revises la web de smothi, esta bien documentado todo, diria mejor que marlin ya que este tiene varios tutos que resuelven de diferente forma y te hacs un lio jeje

Si, creo que lo he probado todo, he modificado el config.txt según la web de smothie. Y después he probado todos los comandos M280 que citas y en ninguno hace nada.
Solo se me ocurre que el 3D touch esté dañado ya que cuando lo conecté por primera vez invertí la posición de un par de cables.

Mañana recibo otro 3D touch y saldré de dudas.
Saludos
  Responder
He recibido el nuevo 3D touch y hace lo mismo. Cuando enciendo hace el test arriba y abajo, se queda arriba con la luz roja encendida pero cuando le envio el comando M280 S3.0 o M280 S7.0 no se inmuta.
He probado el pin 1.23 i tambien el 3.26 de la MKS Sbase 1.3 que teóricamente son PWM

Tengo esta configuración que está en github
Código:
gamma_min_endstop                           nc              # Normally 1.28. Change to nc to prevent conflict,

## Z-Probe (BL Touch)
# See http://forum.smoothieware.org/forum/t-1760423/bltouch-support#post-2712545
# And http://smoothieware.org/zprobe#bltouch-or-servo-retractable-touch-probe
zprobe.enable                               true                # set to true to enable a zprobe
zprobe.probe_pin                            1.28                # pin probe is attached to if NC remove the !
zprobe.slow_feedrate                        5                   # mm/sec probe feed rate
zprobe.fast_feedrate                        100                 # move feedrate mm/sec
zprobe.probe_height                         5                   # how much above bed to start probe
##BLTouch Servo Settings
switch.servo.enable                         true
switch.servo.input_on_command               M280 S3.0           # M280 S7.5 Would be midway
switch.servo.input_off_command              M280 S7.0           # Same as M280 S0 0% duty cycle, effectivley off
switch.servo.output_pin                     1.23                # Must be a PWM capable pin
switch.servo.output_type                    hwpwm               # H/W PWM output settable
switch.servo.pwm_period_ms                  20                  # Set Period to 20ms (50Hz) - Default is 50Hz
No se me ocurre donde está el problema, he reconfigurado todo el config.txt y he actualizado el firmware.bin. Por mas que busco en internet no encuentro la solución. solo se me ocurre que el 3D touch no sea compatible con el smoothieware, pero me resisto a creerlo.
  Responder
si tienes bien conectados los cables a la board y bien identificados? con la respectiva resistencia que te viene en el pack y en la pagina de smothi te dice en que cables soldarlos? porq nace que de ahi viene el error, tambien que version de firmware usas la master o la edge? ha salido una nueva de la version edge que soluciona al parecer el tema del 3dTouch
  Responder
(02-06-2020, 05:50 PM)TedCer escribió: si tienes bien conectados los cables a la board y bien identificados? con la respectiva resistencia que te viene en el pack y en la pagina de smothi te dice en que cables soldarlos? porq nace que de ahi viene el error, tambien que version de firmware usas la master o la edge? ha salido una nueva de la version edge que soluciona al parecer el tema del 3dTouch

Ok, puede que sea ese el problema, la dichosa resistencia de 10K entre la señal del 1.23 y masa.
O mejor aun realizar la toma con el pin 1.23 y pasar el end stop del X al pin 1.25.

El firmware que uso es del Edge y hace 9 dias que lo han actualizado.
Yo pensaba que lo de la resistencia no era necesario, porqué en ninguno de los dos 3D Touch que he comprado en sitios diferentes la lleva. Buscaré una y probaré a ver si hay suerte.
http://forum.smoothieware.org/forum/t-17...ch-support

Saludos
  Responder
Poco a poco a base de muchas horas voy avanzando pero no consigo dar con la configuración correcta.
De momento estoy usando el pin 1.23 para la sonda y el 1.28 para el final de carrera del Z.
Estoy usando la emulación por soft y he conseguido bajar la punta con el comando M280 S3.3 o M280 S3.24 pero no con el M280 S3.0. Es decir con un valor de S entre 3.2 i 3.3 baja.
Lo mismo para subir la sonda. Con S7.0 no sube pero con una S7.25 a 7.4 si sube. El test lo hace bien con S8.9
El cable blanco i negro cierra circuito con la sonda arriba, después ejecuto el M280 S3.3 (baja sonda) continua cerrado el cable blanco y negro empujo a mano la punta hacia arriba y el circuito se abre y la luz roja parpadea. Ejecuto M280 S5.81 se queda fija la luz roja y el circuito continua abierto.

El problema es que intento ejecutar un Home Z desde el pronterface y me dice WARNING: Nothing to home

Se que estoy cerca pero llevo muchas horas invertidas y no me gustaria tener que volver al final de carrera óptico que tenia y no poder usar el autonivelado.

Os pongo un trozo del código Smoothieware por si veis algo que yo no veo.

Saludos
Código:
## Switch modules
# See http://smoothieware.org/switch

# Switch module for fan control
switch.fan.enable                            true             # Enable this module
switch.fan.input_on_command                  M106             # Command that will turn this switch on
switch.fan.input_off_command                 M107             # Command that will turn this switch off
switch.fan.output_pin                        2.4              # Pin this module controls
switch.fan.output_type                       pwm              # PWM output settable with S parameter in the input_on_comand
#switch.fan.max_pwm                          255              # Set max pwm for the pin default is 255

#switch.misc.enable                          true             # Enable this module
#switch.misc.input_on_command                M42              # Command that will turn this switch on
#switch.misc.input_off_command               M43              # Command that will turn this switch off
#switch.misc.output_pin                      2.4              # Pin this module controls
#switch.misc.output_type                     digital          # Digital means this is just an on or off pin

switch.bltouch.enable                    true         #
switch.bltouch.output_pin                1.23         # sw pwm can use any digital pin
switch.bltouch.input_on_command          M280         #
switch.bltouch.input_off_command         M281         #
switch.bltouch.output_type               swpwm        # sw pwm must be low frequency
switch.bltouch.pwm_period_ms             20           # 50Hz
switch.bltouch.startup_state             false        # start up in the stow state
switch.bltouch.startup_value             7.43         # On boot it will go into stow mode, also set with the M281
switch.bltouch.default_on_value          3.3          # if M280 is issued without S this is the value it will set it to
## Temperatureswitch
# See http://smoothieware.org/temperatureswitch
# Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# Useful to turn on a fan or water pump to cool the hotend
#temperatureswitch.hotend.enable              true            #
#temperatureswitch.hotend.designator          T               # first character of the temperature control designator to use as the temperature sensor to monitor
#temperatureswitch.hotend.switch              misc            # select which switch to use, matches the name of the defined switch
#temperatureswitch.hotend.threshold_temp      60.0            # temperature to turn on (if rising) or off the switch
#temperatureswitch.hotend.heatup_poll         15              # poll heatup at 15 sec intervals
#temperatureswitch.hotend.cooldown_poll       60              # poll cooldown at 60 sec intervals

## Endstops
# See http://smoothieware.org/endstops
endstops_enable                              true             # The endstop module is enabled by default and can be disabled here
corexy_homing                                true             # Set to true if homing on a hbot or corexy
alpha_min_endstop                            1.24^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#alpha_max_endstop                           1.25^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
alpha_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
alpha_min                                    0                # This gets loaded as the current position after homing when home_to_min is set
alpha_max                                    295              # This gets loaded as the current position after homing when home_to_max is set
beta_min_endstop                             1.26^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#beta_max_endstop                            1.27^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
beta_homing_direction                        home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
beta_min                                     0                # This gets loaded as the current position after homing when home_to_min is set
beta_max                                     305              # This gets loaded as the current position after homing when home_to_max is set
gamma_min_endstop                            1.28!^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#gamma_max_endstop                           1.29^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
gamma_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
gamma_min                                    4.6              # This gets loaded as the current position after homing when home_to_min is set
gamma_max                                    370              # This gets loaded as the current position after homing when home_to_max is set

alpha_max_travel                             320              # Max travel in mm for alpha/X axis when homing
beta_max_travel                              320              # Max travel in mm for beta/Y axis when homing
gamma_max_travel                             400              # Max travel in mm for gamma/Z axis when homing

# Optional enable limit switches, actions will stop if any enabled limit switch is triggered
#alpha_limit_enable                          false            # Set to true to enable X min and max limit switches
#beta_limit_enable                           false            # Set to true to enable Y min and max limit switches
#gamma_limit_enable                          false            # Set to true to enable Z min and max limit switches

# Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
alpha_fast_homing_rate_mm_s                  50               # Alpha/X fast homing feedrate in mm/second
alpha_slow_homing_rate_mm_s                  15               # Alpha/X slow homing feedrate in mm/second
beta_fast_homing_rate_mm_s                   50               # Beta/Y  fast homing feedrate in mm/second
beta_slow_homing_rate_mm_s                   15               # Beta/Y  slow homing feedrate in mm/second
gamma_fast_homing_rate_mm_s                  5                # Gamma/Z fast homing feedrate in mm/second
gamma_slow_homing_rate_mm_s                  1                # Gamma/Z slow homing feedrate in mm/second

alpha_homing_retract_mm                      5                # Distance to retract from the endstop after it is hit for alpha/X
beta_homing_retract_mm                       5                # Distance to retract from the endstop after it is hit for beta/Y
gamma_homing_retract_mm                      2                # Distance to retract from the endstop after it is hit for gamma/Z

# Optional order in which axis will home, default is they all home at the same time,
# If this is set it will force each axis to home one at a time in the specified order
#homing_order                                 XYZ              # X axis followed by Y then Z last
#move_to_origin_after_home                    false            # Move XY to 0,0 after homing
#endstop_debounce_count                       100              # Uncomment if you get noise on your endstops, default is 100
#endstop_debounce_ms                          1                # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
#home_z_first                                 true             # Uncomment and set to true to home the Z first, otherwise Z homes after XY

# End of endstop config
# Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
#include abc-endstop.config

## Z-probe
# See http://smoothieware.org/zprobe
zprobe.enable                                true            # Set to true to enable a zprobe
zprobe.probe_pin                             1.28!^           # Pin probe is attached to, if NC remove the !
zprobe.slow_feedrate                         5               # Mm/sec probe feed rate
#zprobe.debounce_ms                          1               # Set if noisy
zprobe.fast_feedrate                         100             # Move feedrate mm/sec
zprobe.probe_height                          5               # How much above bed to start probe
gamma_min_endstop                            nc              # Normally 1.28. Change to nc to prevent conflict,
  Responder
(04-06-2020, 09:36 AM)pere_gs escribió: Poco a poco a base de muchas horas voy avanzando pero no consigo dar con la configuración correcta.
De momento estoy usando el pin 1.23 para la sonda y el 1.28 para el final de carrera del Z.
Estoy usando la emulación por soft y he conseguido bajar la punta con el comando M280 S3.3 o M280 S3.24 pero no con el M280 S3.0. Es decir con un valor de S entre 3.2 i 3.3 baja.
Lo mismo para subir la sonda. Con S7.0 no sube pero con una S7.25 a 7.4 si sube. El test lo hace bien con S8.9
El cable blanco i negro cierra circuito con la sonda arriba, después ejecuto el M280 S3.3 (baja sonda) continua cerrado el cable blanco y negro empujo a mano la punta hacia arriba y el circuito se abre y la luz roja parpadea. Ejecuto M280 S5.81 se queda fija la luz roja y el circuito continua abierto.

El problema es que intento ejecutar un Home Z desde el pronterface y me dice WARNING: Nothing to home

Se que estoy cerca pero llevo muchas horas invertidas y no me gustaria tener que volver al final de carrera óptico que tenia y no poder usar el autonivelado.

Os pongo un trozo del código Smoothieware por si veis algo que yo no veo.

Saludos
Código:
## Switch modules
# See http://smoothieware.org/switch

# Switch module for fan control
switch.fan.enable                            true             # Enable this module
switch.fan.input_on_command                  M106             # Command that will turn this switch on
switch.fan.input_off_command                 M107             # Command that will turn this switch off
switch.fan.output_pin                        2.4              # Pin this module controls
switch.fan.output_type                       pwm              # PWM output settable with S parameter in the input_on_comand
#switch.fan.max_pwm                          255              # Set max pwm for the pin default is 255

#switch.misc.enable                          true             # Enable this module
#switch.misc.input_on_command                M42              # Command that will turn this switch on
#switch.misc.input_off_command               M43              # Command that will turn this switch off
#switch.misc.output_pin                      2.4              # Pin this module controls
#switch.misc.output_type                     digital          # Digital means this is just an on or off pin

switch.bltouch.enable                    true         #
switch.bltouch.output_pin                1.23         # sw pwm can use any digital pin
switch.bltouch.input_on_command          M280         #
switch.bltouch.input_off_command         M281         #
switch.bltouch.output_type               swpwm        # sw pwm must be low frequency
switch.bltouch.pwm_period_ms             20           # 50Hz
switch.bltouch.startup_state             false        # start up in the stow state
switch.bltouch.startup_value             7.43         # On boot it will go into stow mode, also set with the M281
switch.bltouch.default_on_value          3.3          # if M280 is issued without S this is the value it will set it to
## Temperatureswitch
# See http://smoothieware.org/temperatureswitch
# Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# Useful to turn on a fan or water pump to cool the hotend
#temperatureswitch.hotend.enable              true            #
#temperatureswitch.hotend.designator          T               # first character of the temperature control designator to use as the temperature sensor to monitor
#temperatureswitch.hotend.switch              misc            # select which switch to use, matches the name of the defined switch
#temperatureswitch.hotend.threshold_temp      60.0            # temperature to turn on (if rising) or off the switch
#temperatureswitch.hotend.heatup_poll         15              # poll heatup at 15 sec intervals
#temperatureswitch.hotend.cooldown_poll       60              # poll cooldown at 60 sec intervals

## Endstops
# See http://smoothieware.org/endstops
endstops_enable                              true             # The endstop module is enabled by default and can be disabled here
corexy_homing                                true             # Set to true if homing on a hbot or corexy
alpha_min_endstop                            1.24^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#alpha_max_endstop                           1.25^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
alpha_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
alpha_min                                    0                # This gets loaded as the current position after homing when home_to_min is set
alpha_max                                    295              # This gets loaded as the current position after homing when home_to_max is set
beta_min_endstop                             1.26^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#beta_max_endstop                            1.27^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
beta_homing_direction                        home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
beta_min                                     0                # This gets loaded as the current position after homing when home_to_min is set
beta_max                                     305              # This gets loaded as the current position after homing when home_to_max is set
gamma_min_endstop                            1.28!^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#gamma_max_endstop                           1.29^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
gamma_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
gamma_min                                    4.6              # This gets loaded as the current position after homing when home_to_min is set
gamma_max                                    370              # This gets loaded as the current position after homing when home_to_max is set

alpha_max_travel                             320              # Max travel in mm for alpha/X axis when homing
beta_max_travel                              320              # Max travel in mm for beta/Y axis when homing
gamma_max_travel                             400              # Max travel in mm for gamma/Z axis when homing

# Optional enable limit switches, actions will stop if any enabled limit switch is triggered
#alpha_limit_enable                          false            # Set to true to enable X min and max limit switches
#beta_limit_enable                           false            # Set to true to enable Y min and max limit switches
#gamma_limit_enable                          false            # Set to true to enable Z min and max limit switches

# Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
alpha_fast_homing_rate_mm_s                  50               # Alpha/X fast homing feedrate in mm/second
alpha_slow_homing_rate_mm_s                  15               # Alpha/X slow homing feedrate in mm/second
beta_fast_homing_rate_mm_s                   50               # Beta/Y  fast homing feedrate in mm/second
beta_slow_homing_rate_mm_s                   15               # Beta/Y  slow homing feedrate in mm/second
gamma_fast_homing_rate_mm_s                  5                # Gamma/Z fast homing feedrate in mm/second
gamma_slow_homing_rate_mm_s                  1                # Gamma/Z slow homing feedrate in mm/second

alpha_homing_retract_mm                      5                # Distance to retract from the endstop after it is hit for alpha/X
beta_homing_retract_mm                       5                # Distance to retract from the endstop after it is hit for beta/Y
gamma_homing_retract_mm                      2                # Distance to retract from the endstop after it is hit for gamma/Z

# Optional order in which axis will home, default is they all home at the same time,
# If this is set it will force each axis to home one at a time in the specified order
#homing_order                                 XYZ              # X axis followed by Y then Z last
#move_to_origin_after_home                    false            # Move XY to 0,0 after homing
#endstop_debounce_count                       100              # Uncomment if you get noise on your endstops, default is 100
#endstop_debounce_ms                          1                # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
#home_z_first                                 true             # Uncomment and set to true to home the Z first, otherwise Z homes after XY

# End of endstop config
# Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
#include abc-endstop.config

## Z-probe
# See http://smoothieware.org/zprobe
zprobe.enable                                true            # Set to true to enable a zprobe
zprobe.probe_pin                             1.28!^           # Pin probe is attached to, if NC remove the !
zprobe.slow_feedrate                         5               # Mm/sec probe feed rate
#zprobe.debounce_ms                          1               # Set if noisy
zprobe.fast_feedrate                         100             # Move feedrate mm/sec
zprobe.probe_height                          5               # How much above bed to start probe
gamma_min_endstop                            nc              # Normally 1.28. Change to nc to prevent conflict,

tienes dos veces  gamma_min_endstop, estoy igual no logro hacerlo funcionar pero a mi si me funciona con cantidades enteras, no logro hacerlo cunfionar como homing en la cartesiana solo en la delta, en la cartesiana con M119 no logro hacer lo funcionar
  Responder
Hola, creo que ya lo tengo resuelto con la placa MKS Sbase V1.3 y el smoothieware.
He conseguido que funcione el 3D Touch, con el M280 baja la sonda y con el M281 sube. El G30 me da las lecturas y con el G32 me hace el autolevel. Hace 3 lecturas en el punto 0,0 y después una lectura en cada punto de la rejilla. Cuando termina ejecuto el M374 para que guarde los datos y el M281 para subir la sonda.

Ahora crearé un Gcode para ejecutar esos comandos desde la pantalla táctil y después realizaré una prueba para ver si lo realiza bien.
De momento no me fio mucho porque con el cable USB y el pronterface me ha dado muchos problemas de comunicación y he tenido que apagar la impresora varias veces porque la Z no paraba de subir.

Cuelgo aquí el código final por si alguien le puede servir de ayuda.

Código:
switch.bltouch.enable                    true         #
switch.bltouch.output_pin                1.23^        # sw pwm can use any digital pin
switch.bltouch.input_on_command          M280         #
switch.bltouch.input_off_command         M281         #
switch.bltouch.output_type               swpwm        # sw pwm must be low frequency
switch.bltouch.pwm_period_ms             20           # 50Hz
switch.bltouch.startup_state             false        # start up in the stow state
switch.bltouch.startup_value             7.4          # On boot it will go into stow mode, also set with the M281 (7.43)
switch.bltouch.default_on_value          3.3          # if M280 is issued without S this is the value it will set it to

## Temperatureswitch
# See http://smoothieware.org/temperatureswitch
# Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# Useful to turn on a fan or water pump to cool the hotend
#temperatureswitch.hotend.enable              true            #
#temperatureswitch.hotend.designator          T               # first character of the temperature control designator to use as the temperature sensor to monitor
#temperatureswitch.hotend.switch              misc            # select which switch to use, matches the name of the defined switch
#temperatureswitch.hotend.threshold_temp      60.0            # temperature to turn on (if rising) or off the switch
#temperatureswitch.hotend.heatup_poll         15              # poll heatup at 15 sec intervals
#temperatureswitch.hotend.cooldown_poll       60              # poll cooldown at 60 sec intervals

## Endstops
# See http://smoothieware.org/endstops
endstops_enable                              true             # The endstop module is enabled by default and can be disabled here
corexy_homing                                true             # Set to true if homing on a hbot or corexy
alpha_min_endstop                            1.24^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#alpha_max_endstop                           1.25^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
alpha_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
alpha_min                                    0                # This gets loaded as the current position after homing when home_to_min is set
alpha_max                                    284              # This gets loaded as the current position after homing when home_to_max is set
beta_min_endstop                             1.26^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#beta_max_endstop                            1.27^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
beta_homing_direction                        home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
beta_min                                     0                # This gets loaded as the current position after homing when home_to_min is set
beta_max                                     306              # This gets loaded as the current position after homing when home_to_max is set
gamma_min_endstop                            1.29^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#gamma_max_endstop                           1.29^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
gamma_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
gamma_min                                    4.85             # This gets loaded as the current position after homing when home_to_min is set
gamma_max                                    370              # This gets loaded as the current position after homing when home_to_max is set

alpha_max_travel                             320              # Max travel in mm for alpha/X axis when homing
beta_max_travel                              320              # Max travel in mm for beta/Y axis when homing
gamma_max_travel                             400              # Max travel in mm for gamma/Z axis when homing

# Optional enable limit switches, actions will stop if any enabled limit switch is triggered
#alpha_limit_enable                          false            # Set to true to enable X min and max limit switches
#beta_limit_enable                           false            # Set to true to enable Y min and max limit switches
#gamma_limit_enable                          false            # Set to true to enable Z min and max limit switches

# Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
alpha_fast_homing_rate_mm_s                  50               # Alpha/X fast homing feedrate in mm/second
alpha_slow_homing_rate_mm_s                  15               # Alpha/X slow homing feedrate in mm/second
beta_fast_homing_rate_mm_s                   50               # Beta/Y  fast homing feedrate in mm/second
beta_slow_homing_rate_mm_s                   15               # Beta/Y  slow homing feedrate in mm/second
gamma_fast_homing_rate_mm_s                  5                # Gamma/Z fast homing feedrate in mm/second
gamma_slow_homing_rate_mm_s                  1                # Gamma/Z slow homing feedrate in mm/second

alpha_homing_retract_mm                      5                # Distance to retract from the endstop after it is hit for alpha/X
beta_homing_retract_mm                       5                # Distance to retract from the endstop after it is hit for beta/Y
gamma_homing_retract_mm                      2                # Distance to retract from the endstop after it is hit for gamma/Z

# Optional order in which axis will home, default is they all home at the same time,
# If this is set it will force each axis to home one at a time in the specified order
#homing_order                                 XYZ              # X axis followed by Y then Z last
#move_to_origin_after_home                    false            # Move XY to 0,0 after homing
#endstop_debounce_count                       100              # Uncomment if you get noise on your endstops, default is 100
#endstop_debounce_ms                          1                # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
#home_z_first                                 true             # Uncomment and set to true to home the Z first, otherwise Z homes after XY

# End of endstop config
# Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
#include abc-endstop.config

## Z-probe
# See http://smoothieware.org/zprobe
zprobe.enable                                true            # Set to true to enable a zprobe
zprobe.probe_pin                             1.28^           # Pin probe is attached to, if NC remove the !
zprobe.slow_feedrate                         5               # Mm/sec probe feed rate
#zprobe.debounce_ms                          1               # Set if noisy
zprobe.fast_feedrate                         100             # Move feedrate mm/sec
zprobe.probe_height                          5               # How much above bed to start probe
zprobe.return_feedrate                       0               # feedrate after a probe, default 0 is double of slow_feedrate (mm/s)

# Levelling strategy
# Example for 3-point levelling strategy, see wiki documentation for other strategies
#leveling-strategy.three-point-leveling.enable         true        # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
#leveling-strategy.three-point-leveling.point1         100.0,0.0   # the first probe point (x,y) optional may be defined with M557
#leveling-strategy.three-point-leveling.point2         200.0,200.0 # the second probe point (x,y)
#leveling-strategy.three-point-leveling.point3         0.0,200.0   # the third probe point (x,y)
#leveling-strategy.three-point-leveling.home_first     true        # home the XY axis before probing
#leveling-strategy.three-point-leveling.tolerance      0.03        # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
#leveling-strategy.three-point-leveling.probe_offsets  0,0,0       # the probe offsets from nozzle, must be x,y,z, default is no offset
#leveling-strategy.three-point-leveling.save_plane     false       # set to true to allow the bed plane to be saved with M500 default is false

leveling-strategy.rectangular-grid.enable               true      # The strategy must be enabled in the config, as well as the zprobe module.
leveling-strategy.rectangular-grid.x_size               284       # size of bed in the X axis
leveling-strategy.rectangular-grid.y_size               264       # size of bed in the Y axis
leveling-strategy.rectangular-grid.size                 3         # The size of the grid, for example, 7 causes a 7x7 grid with 49 points.
                                                                 # Must be an odd number.
leveling-strategy.rectangular-grid.probe_offsets        0,-42,0   # Optional probe offsets from the nozzle or tool head
leveling-strategy.rectangular-grid.save                 true    # If the saved grid is to be loaded on boot then this must be set to true
leveling-strategy.rectangular-grid.initial_height       10       # Optionally an initial_height can be set that tell the intial probe
                                                          # where to stop the fast decent before it probes, this should be
                                                          # around 5-10mm above the bed
leveling-strategy.rectangular-grid.do_home        false

[Imagen: 2020-06-08-112710.jpg]
  Responder
va yo lo acabe de conseguir todo un dia en ello, decidi programarlo como un Z fijo con G30, no me fio mucho de las grilla o threepoint por cuestion de gusto en las piezas, yo aplico este GCODE:

G28 ; homing XY
G1 X110 ; mover al centro X
G1 Y110 ; mover al centro Y
M280 S3 ; suelta el pin
M280 S5 ; importante para poder ejecutar el G30
G30 Z-1 ; homing Z con distancia -1 por distancia hacia la cama y el 3dTouch
M280 S7 ; retrear el pin

de ahi mi codigo es el mismo pero sin invertir el pin, aunque deberia ser el mismo 3dTouch no se si el tuyo sea el original, pero bueno cada impresora es lo suyo, ahorita me estoy peleando con dejar la impresión centrada  Smash2
  Responder
(08-06-2020, 10:46 AM)TedCer escribió: va yo lo acabe de conseguir todo un dia en ello, decidi programarlo como un Z fijo con G30, no me fio mucho de las grilla o threepoint por cuestion de gusto en las piezas, yo aplico este GCODE:

G28 ; homing XY
G1 X110 ; mover al centro X
G1 Y110 ; mover al centro Y
M280 S3 ; suelta el pin
M280 S5 ; importante para poder ejecutar el G30
G30 Z-1 ; homing Z con distancia -1 por distancia hacia la cama y el 3dTouch
M280 S7 ; retrear el pin

de ahi mi codigo es el mismo pero sin invertir el pin, aunque deberia ser el mismo 3dTouch no se si el tuyo sea el original, pero bueno cada impresora es lo suyo, ahorita me estoy peleando con dejar la impresión centrada  Smash2
Yo he optado por dejar el sensor óptico que tenia para hacer el homing Z, he creado un gcode que calienta antes la cama a 60º, hago el homing XYZ, pongo la Z a 10mm y bajo el sensor con M280, ejecuto el G32 (ahora lo tengo en grid 5x5) me hace las 25 lecturas, grabo con el M374 y subo con el M281. 
Una vez termina posiciono al centro con la Z a 10mm.
De momento prefiero ejecutar el gcode del autolevel solo estando yo delante de la impresora por si tengo que pararla, no me fio que falle alguna lectura y la Z no pare. Si veo que no falla ya incluiré estos Gcodes en los ficheros generados con el prusaslicer. 

Solo he tenido un pequeño problema, mi zona de impresión es de 286x306mm pero el offset de la Y lo tengo a 42mm del nozzle, la primera tira de lectura se desplaza esos 42 mm de la Y para hacerla pero luego no lo tiene en cuenta al final y tengo que decirle que la rejilla es de 286x264.

Ahora voy a imprimir un quadro de prueba a ver como se comporta. Pero las lecturas que me esta dando con 3x3 o 5x5 son muy coherentes.
Saludos

Código:
; G-Code per fer autolevel
; 08 de juny de 2020

M106 S0
M140 S60
M190 S60
; Calenta el llit a 60
G28 X0 Y0 ; Home
G28 Z0; Home Z
G1 Z10
M280
G32
M374
M281
G1 X150 Y150 Z10
  Responder
Una consulta como tienes soldadas las resistencias? O si las tienes soldadas? Consulto porque después de unos minutos imprimiendo la punta del 3dTouch se baja se desenrosca haciendo que toque el objeto de la impresion, lo mismo me pasaba con marlin, ya he probado sin resistenciay obtengo el mismo resultado
  Responder
(13-06-2020, 06:27 AM)TedCer escribió: Una consulta como tienes soldadas las resistencias? O si las tienes soldadas? Consulto porque después de unos minutos imprimiendo la punta del 3dTouch se baja se desenrosca haciendo que toque el objeto de la impresion, lo mismo me pasaba con marlin, ya he probado sin resistenciay obtengo el mismo resultado
Hola, al final no puse las resistencias.
A mi no me pasa lo que comentas.
De momento me funciona perfectamente con una matriz de 5x5.
Compré otro 3D Touch para descartar que el que tenia estuviera defectuoso.
Pero al final resulta que los dos funcionan bien.
De momento lo tengo de reserva.
Saludos.

Enviado desde mi Redmi Note 4 mediante Tapatalk
  Responder
Buen dia a todos

Para comentarles sobre un problema que tengo con mi BLtouch V3.1, se lo instalé a mi ender 3 pro, junto con la tarjeta SKR MINI E3 V1.2, al principio tuve problemas para compilar el marlin con esa tarjeta, ya despues lo logre viendo uno que otro post en internet, ok, pasando al problema con mi BLtouch, lo instale con las conexiones en el servo y el final de carrera de Z, hasta ahi todo bien, compile el marlin activando con las opciones del BLtouch:

Código:
#define BLTOUCH
#define NOZZLE_TO_PROBE_OFFSET { -41.7, -6.8, 0 }
#define PROBING_MARGIN 20
#define XY_PROBE_SPEED 8000
//#define MIN_SOFTWARE_ENDSTOP_Z
#define Z_PROBE_OFFSET_RANGE_MIN -20
#define Z_PROBE_OFFSET_RANGE_MAX 20
#define AUTO_BED_LEVELING_BILINEAR
//define RESTORE_LEVELING_AFTER_G28 
#define ENABLE_LEVELING_FADE_HEIGHT
#define GRID_MAX_POINTS_X 5
#define EXTRAPOLATE_BEYOND_GRID
#define LCD_BED_LEVELING

Después compilar y cargar el firmware, hago el z homing, caliento la cama a 60 y nozzle a 200 y calibro el z-offset, lo he hecho desde el pronterface y desde el LCD, me da -1.2, guardo el valor en la EEPROM, le vuelvo a dar z-homing y llevo la Z hasta 0, corroboro que si se guardo el valor y esta como quiero en distancia entre nozzle y la cama, procedo de nuevo al z-homing, le doy la instrucción de bed leveling, hace las mediciones, le doy guardar valores, y procedo a imprimir una prueba de nivelacion de cama, y BUM viendo de frente de lado izquierdo esta mas arriba del z-offset, de lado izquierdo mas abajo, regreso al punto donde lo calibre (z-homing) y esta bien, respetando mi -1.2.

Probe la calibración de esquinas y me hace lo mismo, o sea que la cama esta desnivelada pero se supone que el sensor toma esos valores y el programa debe compensarlo ¿no?

¿Alguna idea de que este haciendo mal?
[Imagen: IMG-20200922-103141.jpg]

[Imagen: IMG-20200922-103214.jpg]

[Imagen: IMG-20200922-103310.jpg]

  Responder
Hola @Lordblack84, bienvenido al foro.
Antes de pasar a tu consuta decir que, como habrás visto, el motor del foro hace meses que no funciona como debe y aunque parece que no se suben los post sí lo hace, por lo que si se vuelve a enviar se publica repetidamente, lo que hace farragosa la lectura. En todo caso, puedes borrar las duplicaciones mediante la opción de editar el mensaje.
Respecto a tu consulta, no estás haciendo nada mal, el problema es que no has entendido bien el concepto de autolevel y cual es su funcionamiento.
El autolevel es un sistema que corrige durante la impresión las diferencias de separación que existan entre la boquilla y la cama en distintos puntos de esta, pero que no realiza una nivelación de la misma, pues es un ajuste manual que no controla el firmware. Es decir, si no nivelas tú mismo la cama, esta seguirá desnivelada indefinidamente aunque el autolevel esté actuando de forma correcta.
Para saber si realmente está funcionando el autolevel, lo que hay que hacer es comprobar si el espesor de las líneas impresas en la primera capa es el mismo en toda la cama.
Aunque el autolevel puede corregir una leve falta de nivel, no se implementó para ello y lo que hay que hacer es nivelar la cama de forma manual, con la ayuda de la opción que suele haber en el menú de la pantalla para hacerlo en sus cuatro esquinas.
Solo si la superficie de la cama es muy irregular o está alabeada es necesario el autolevel, lo que no impide que sea muy conveniente utilizar un sensor como final de carrera del eje Z, cosa bastante práctica que nos evita tener que regular la altura inicial de impresión de forma manual.
  Responder
Hola Simemart buen dia

Ya decía yo que algo pasaba con los mensajes, gracias, ya edite los anteriores.

Respecto al tema, entonces tendría que calibrar mi cama lo mejor posible, de hecho ayer se me ocurrio calibrarla un poquito y en una prueba que hice ka verdad es que mejoró bastante, pero ahora que me explicas realmente como funciona el sistema con el BLtouch me queda mas claro, pff... ya he compilado como 4 firmwares en busca de algun cambio jejeje y siempre me daba lo mismo, vale ahora afinare detalle sy me pondre a imprimir.

Gracias de nuevo.

Saludos
  Responder
hola, buenos días, sé que este hilo ya lleva mucho sin comentar nadie, pero ahí va mi pregunta,

tras instalar el bltouch, sólo me calibra al centro de la cama, y luego.. cuando empeiza a imprimir la pieza.. el bltouch se queda extendido tocando siempre la cama hasta que se pone en rojo. alguna idea porque al empezar a imprimir no entra hacia dentro?

gracias.
  Responder
Hola, tendrás que dar algo más de información para poder darte una contestación apropiada, como el modelo de placa y de BL-Touch, cómo lo tienes conectado, el firmware que utilizas y la configuración del mismo.
Con que solo te calibra el centro de la cama, ¿te refieres al home del eje Z o tienes activado el autolevel?
  Responder
Buenas de nuevo, tuve que dejar de lado las impresoras 3D por un tiempo, pero ya estoy por aqui otra vez. Con el Marlin instalado, puedo instalar este sensor de nivelacion , https://www.3djake.es/antclabs/sensor-de...on-bltouch , u otro, me da igual mientras funcione, en mi ender 3 PRO con placa base V1.1.4 de 8 bits ? porque esa placa base es de 8 bits verdad ?
  Responder
Hola, en efecto, la placa V1.1.4 de Creality es de 8 bits, pero eso no es problema para instalar el BL-Touch.
Para ello, necesitarás adquirir uno que traiga un adaptador para su conexión a la placa, pues necesita compartir el conector de la pantalla.
Además, deberás grabar un nuevo firmware que tenga habilitado y configurado el uso del BL-Touch: hay muchos videos en Youtube que explican esta instalación.
En concreto, ese que indicas en el enlace no parece que traiga el adaptador para las Creality V1.1.x.
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  BlTouch, orden de ajustes ofitecno 7 0 22-09-2023, 10:11 AM
Último mensaje: Simemart
  problema 3dtouch marlin ender Csants 4 0 14-08-2023, 10:34 AM
Último mensaje: Csants
  Ender 3 v2 4.2.2 - Bltouch Don Ramon 5 2,303 17-09-2022, 02:22 PM
Último mensaje: Simemart
Video APORTE TUTORIAL Crear una pieza 3D en Sketchup para Impresión 3D en CURA plastikelectrik 0 4,917 16-03-2021, 02:48 PM
Último mensaje: plastikelectrik
Video APORTE TUTORIAL Instalar plugins impresión 3D en Sketchup plastikelectrik 0 4,935 16-03-2021, 02:40 PM
Último mensaje: plastikelectrik