Mecpow X3 Pro

From Wurst-Wasser.net
Jump to navigation Jump to search

About

After some consideration (especially of my finances) I decided to buy this machine. And there were 10€ off that day, so I paid 230€. Reasonably price, I think.

  • Pro
  • Con
    • The included eyewear is crap (and green)
    • No enclosure, collects dust in your worksop and the laser might hurt your eyes
    • No laser bed
    • Fire sensor might be crap
    • No ventilation or filtering
    • Power- and USB-Sockets are on the top side of the controller case
    • Don't know where to put the air pump

Modifications

At some point the device stopped working and entered a boot loop:

*** Connected to GRBL 1.1h
ok
>>> $G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok
Stack smashing protect failure!
abort() was called at PC 0x40181df3 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x4008af50:0x3ffd50e0 0x4008b1cd:0x3ffd5100 0x40181df3:0x3ffd5120 0x400ef82d:0x3ffd5140 0x400ef837:0x3ffd5170 0x400f90a6:0x3ffd5190 0x400f9155:0x3ffd51b0 0x40082629:0x3ffd51d0 0x4008ce7e:0x3ffd5200
Rebooting...
[MSG:Using machine:MKS DLC32]
Grbl 1.1h ['$' for help]
ok
[MSG:Local access point MECPOW_49297 started, 192.168.4.1]
[MSG:HTTP Started]
[MSG:TELNET Started 8080]
[MSG:'$H'|'$X' to unlock]
[Error] Error while processing response <ok>: An unexpected command was completed by the controller.
[MSG:Caution: Unlocked]
Stack smashing protect failure!
abort() was called at PC 0x40181df3 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x4008af50:0x3ffd50e0 0x4008b1cd:0x3ffd5100 0x40181df3:0x3ffd5120 0x400ef82d:0x3ffd5140 0x400ef837:0x3ffd5170 0x400f90a6:0x3ffd5190 0x400f9155:0x3ffd51b0 0x40082629:0x3ffd51d0 0x4008ce7e:0x3ffd5200
Rebooting...
[MSG:Using machine:MKS DLC32]
Grbl 1.1h ['$' for help]
[Error] Error while processing response <ok>: An unexpected command was completed by the controller.
[MSG:Local access point MECPOW_49297 started, 192.168.4.1]
[MSG:HTTP Started]
[MSG:TELNET Started 8080]
[MSG:'$H'|'$X' to unlock]
[Error] Error while processing response <ok>: An unexpected command was completed by the controller.
[MSG:Caution: Unlocked]
Stack smashing protect failure!
abort() was called at PC 0x40181df3 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x4008af50:0x3ffd50e0 0x4008b1cd:0x3ffd5100 0x40181df3:0x3ffd5120 0x400ef82d:0x3ffd5140 0x400ef837:0x3ffd5170 0x400f90a6:0x3ffd5190 0x400f9155:0x3ffd51b0 0x40082629:0x3ffd51d0 0x4008ce7e:0x3ffd5200
Rebooting...

Installing FluidNC was fairly easy and fixed it. AND it offeres cool new features!

The used config.yaml:

# Basic configuration file for X/Y Laser using GT2 belts 1.8ºNEMA motors
# at 16 microSteps and 16 Tooth pulleys

board: MKS-DLC32 V2.1
name: 3dpBurner3
meta: villamany 30/Jan/2023

kinematics:
  Cartesian:

stepping:
  engine: I2S_STATIC
  idle_ms: 50
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0
axes:
  shared_stepper_disable_pin: I2SO.0
  x:
    steps_per_mm: 80
    max_rate_mm_per_min: 6000
    acceleration_mm_per_sec2: 500
    max_travel_mm: 410
    soft_limits: false
    homing:
      cycle: 1
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 500.000
      seek_mm_per_min: 1000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.36:low
      hard_limits: false
      pulloff_mm: 2.000
      stepstick:
        step_pin: I2SO.1
        direction_pin: I2SO.2:low

  y:
    steps_per_mm: 80
    max_rate_mm_per_min: 6000
    acceleration_mm_per_sec2: 500
    max_travel_mm: 410
    soft_limits: false
    homing:
      cycle: 1
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 500.000
      seek_mm_per_min: 1000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.35:low
      hard_limits: false
      pulloff_mm: 2.000
      stepstick:
        step_pin: I2SO.5
        direction_pin: I2SO.6:low
 
  z:
    steps_per_mm: 80
    max_rate_mm_per_min: 5000.000
    acceleration_mm_per_sec2: 500.000
    max_travel_mm: 80.000
    soft_limits: true
    homing:
      cycle: 0
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 200.000
      seek_mm_per_min: 500.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.34
      hard_limits: false
      pulloff_mm: 1.000
      stepstick:
        step_pin: I2SO.3
        direction_pin: I2SO.4
        
i2so:
  bck_pin: gpio.16
  data_pin: gpio.21
  ws_pin: gpio.17

spi:
  miso_pin: gpio.12
  mosi_pin: gpio.13
  sck_pin: gpio.14

sdcard:
  cs_pin: gpio.15
  card_detect_pin: NO_PIN
#  card_detect_pin: gpio.39
  
control:
  safety_door_pin: NO_PIN
  reset_pin: NO_PIN
  feed_hold_pin: NO_PIN
  cycle_start_pin: NO_PIN
  macro0_pin: NO_PIN
  macro1_pin: NO_PIN
  macro2_pin: NO_PIN
  macro3_pin: NO_PIN

macros:
  startup_line0:
  startup_line1:
  macro0:
  macro1:
  macro2:
  macro3:

coolant:
  flood_pin: NO_PIN
  mist_pin: NO_PIN
  delay_ms: 0

#probe:
#  pin: gpio.22
#  check_mode_start: true

Laser:
  pwm_hz: 5000
  output_pin: gpio.32
  disable_with_s0: true
  s0_with_disable: false
  tool_num: 0
  speed_map: 0=0.000% 1000=100.000%
#PWM:
#  direction_pin: NO_PIN
#  spinup_ms: 1000
#  spindown_ms: 1000
  
user_outputs:
  analog0_pin: NO_PIN
  analog1_pin: NO_PIN
  analog2_pin: NO_PIN
  analog3_pin: NO_PIN
  analog0_hz: 5000
  analog1_hz: 5000
  analog2_hz: 5000
  analog3_hz: 5000
  #Beeper connector. Command: "M62 P0" turn beeper On. 
  #"G4 P0.5" wait for 0.5s. "M63 P0" turn beeper OFF
  digital0_pin: I2SO.7
  digital1_pin: NO_PIN
  digital2_pin: NO_PIN
  digital3_pin: NO_PIN

start:
  must_home: false


#MKS DLC32 v2.1 pinMap

# X- gpio.36
# SD_DET gpio.39
# Z- gpio.34
# Y- gpio.35
# SPINDLE PWM gpio.32
# LCD_RS gpio.33
# LCD_CS_INV gpio.25
# LCD_TOUCH_CS_INV gpio.26
# LCD_RST_INV gpio.27
# SD_SCK gpio.14
# SD_DO gpio.12
# SD_DI gpio.13
# SD_CS gpio.15
# I2C_SDA gpio.0
# I2C_SCL gpio.4
# I2S_BCK gpio.16
# I2S_WS gpio.17
# LCD_EN_INV gpio.5
# LCD_SCK gpio.18
# LCD_MISO gpio.19
# I2S_DATA gpio.21
# RXD0 gpio.3
# TXD0 gpio.1
# Probe gpio.22
# LCD_MOSI gpio.23

# XYZ_EN I2SO.0
# X_STEP I2SO.1
# X_DIR I2SO.2
# Z_STEP I2SO.3
# Z_DIR I2SO.4
# Y_STEP I2SO.5
# Y_DIR I2SO.6
# BEEPER I2SO.7


More…

Footer