Wifi Problems and CNC stop working

Hi all,

I have problems with my Jackpot board. First one stepper driver was broken and after fixing this, I have wifi-problems since the beginning.

I can connect via Wifi but after some minutes, I have to un-power the board for reconnection.

I run a firmware upgrade to v3.8.3 (fresh-install) and used the Git files from MPCNC/UI V3 MPCNC (FluidNC_Configs/MPCNC/UI V3 MPCNC at main · V1EngineeringInc/FluidNC_Configs · GitHub), but still have issues. Now the controller stops running the G-Code in the middle of the Job. If the G-Code needs to klick the continue button due to a Message (Tool Change) from estlecam, it doesn’t work.

Is the esp32-board broken? Which one is compatible (I am from Germany, perhaps you can recommend a new one)

Have I done the Firmware update correctly (the design is now different).

Thank you for advices.

It is not recommended to use firmware above 3.7.17 so first step is to do an erase and install that.

1 Like

Ok, which files should i use, the MPCNC/UI V2 or the UI V 3

I suggest v2 - it is more mature and run on many more builds.

You mention estlcam - are you using that as you CAM controller and streaming commands over wifi?

No, I just generate the Gcode.

Thanks for your reply, I will try that but I think thats where I have started.

The issue with Wifi/hard lock on the board and needing to reboot is a known issue. There is a test release with a fix. If you can i ask you to download it and test if not doing any production work.

1 Like

There is a test build of FluidNC that addresses many issues.

If you’re comfortable testing and not doing production work you can try 3.8.4-Pre6. I’ll link that below.

If not, the best stable release as of 20 Oct 2024 is 3.7.17.
I believe the next release will arrive soon.

My workflow is to

  • save all your configs and macros.
  • Do the following from either the web installer or the native installers:
  • erase
  • install-wifi
  • install-fs
  • Put config files back on

Here’s the test version release:

7 Likes

Thank you for helping me. This stuff is making me crazy.

Befor using an Jackpot Board I used a cheap cnc shield with an arduino and estlecam via my Laptop. That Was was a robust and flexible solution but i missed the autosqare.

Is is possible to access or control the cnc via USB and Laptop ( estlecam?).

It is possible to control FluidNC using a FluidDial pendant, or using a USB attached sender.
Lasers, for example, often use LightBurn to drive the machine.

There’s a bunch of qustions about your workflow- are you putting files on the SD card and using the SD card for your jobs? What kind of jobs are you doing on your MPCNC?

2 Likes

Basically i save the gCode via Wifi on the Jackpot and Start the Job via the Web interface.

Most of the Projekts needs a Tool change (engraving and cutting). I parse the hole thing in one gCode.

Is it possible to send the gCode via estlecam? There is a nice start and stop function while milling and you have full control when Tool changing and resetting the Position

No, it is not.

EstlCAM as a controller requires a specific machine controller that runs EstlCAM firmware.

1 Like

Concerning the Tool change: what are you ding when the Wifi is brocken?

Start over again? Of this is the case please, mention that in the Docu and on the selling Page. I have Not bought that Controller of i have known that. Sorry i am a little frustrated

You could each operation with a a tool as a different job/file. FluidNC saves the workspace 0,0 between jobs (and reboots) so it’s easy to move the tool heat to change a bit and have it start the next job from that location.

But when i have to unplug the board due to wifi problems the motors loos voltage. So the positioning is not precise. Am i right?

1 Like

You home the machine when it starts. If you clobber the home position by setting the origin, then write down where the new origin is relative to the home position and you can recreate the same setup after a reboot or skipped steps.

On the jackpot - if you rehome it retains the workpiece 0,0 offset when homing even after a reboot.

1 Like

Thank you a lot guys for helping me. That is was i am doing. But the reboots doesn’t satisfy me.

What about cncjs?

You’re still having to reboot on 3.7.17? That’s a bummer.

Can you post your full config.yaml file here? It should be a fresh download off the Jackpot. I have a suspicion that you may have extra info in it that got added when saving the config via the UI. There was a bug related to this that was previously resolved. When I ran into it, it would connect to the wifi multiple times. If it happened too many times it would run out of memory and crash.

board: Jackpot TMC2209
name: MPCNC
meta: 03-15-2024 RyanZ

planner_blocks: 32

stepping:
  engine: I2S_STATIC
  idle_ms: 255
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0

uart1:
  txd_pin: gpio.0
  rxd_pin: gpio.4
  rts_pin: NO_PIN
  baud: 115200
  mode: 8N1

axes:
  shared_stepper_disable_pin: NO_PIN

  x:
    steps_per_mm: 50.000
    max_rate_mm_per_min: 9000.000
    acceleration_mm_per_sec2: 200.000
    max_travel_mm: 1220
    soft_limits: false
    homing:
      cycle: 1
      positive_direction: false
      mpos_mm: 0
      feed_mm_per_min: 300.000
      seek_mm_per_min: 1500.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100
    #X
    motor0:
      limit_neg_pin: gpio.25:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 5.000
      tmc_2209:
        uart_num: 1
        addr: 0
        cs_pin: NO_PIN
        r_sense_ohms: 0.110
        run_amps: 0.800
        homing_amps: 0.800
        hold_amps: 0.500
        microsteps: 8
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false
        direction_pin: I2SO.1
        step_pin: I2SO.2
        disable_pin: I2SO.0

    #A
    motor1:
      limit_neg_pin: gpio.35:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 5.000
      tmc_2209:
        uart_num: 1
        addr: 3
        cs_pin: i2so.14
        r_sense_ohms: 0.110
        run_amps: 0.800
        homing_amps: 0.800
        hold_amps: 0.500
        microsteps: 8
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false
        step_pin: I2SO.13
        direction_pin: I2SO.12
        disable_pin: I2SO.15

  y:
    steps_per_mm: 50.000
    max_rate_mm_per_min: 9000.000
    acceleration_mm_per_sec2: 200.000
    max_travel_mm: 2440
    soft_limits: false
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0
      feed_mm_per_min: 300.000
      seek_mm_per_min: 1500.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100
    #Y
    motor0:
      limit_neg_pin: gpio.33:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 5.000
      tmc_2209:
        uart_num: 1
        addr: 1
        cs_pin: NO_PIN
        r_sense_ohms: 0.110
        run_amps: 0.800
        homing_amps: 0.800
        hold_amps: 0.500
        microsteps: 8
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false
        step_pin: I2SO.5
        direction_pin: I2SO.4
        disable_pin: I2SO.7

    #B
    motor1:
      limit_neg_pin: gpio.34:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 5.000
      tmc_2209:
        uart_num: 1
        addr: 3
        cs_pin: i2so.19
        r_sense_ohms: 0.110
        run_amps: 0.800
        homing_amps: 0.800
        hold_amps: 0.500
        microsteps: 8
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false
        step_pin: I2SO.18
        direction_pin: I2SO.17
        disable_pin: I2SO.16
  z:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 1200.000
    acceleration_mm_per_sec2: 80.000
    max_travel_mm: 300.000
    soft_limits: false
    homing:
      cycle: 0
      positive_direction: true
      mpos_mm: 200.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 800.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.32:low
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 4.000
      tmc_2209:
        uart_num: 1
        addr: 2
        cs_pin: NO_PIN
        r_sense_ohms: 0.110
        run_amps: 0.800
        homing_amps: 0.800
        hold_amps: 0.500
        microsteps: 8
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false
        step_pin: I2SO.10
        direction_pin: I2SO.9
        disable_pin: I2SO.8

#  c:
#    steps_per_mm: 80.000
#    max_rate_mm_per_min: 5000.000
#    acceleration_mm_per_sec2: 100.000
#    max_travel_mm: 300.000
#    soft_limits: false
#    homing:
#      cycle: 1
#      positive_direction: true
#      mpos_mm: 150.000
#      feed_mm_per_min: 100.000
#      seek_mm_per_min: 800.000
#      settle_ms: 500
#      seek_scaler: 1.100
#      feed_scaler: 1.100
#
#    motor0:
#      limit_neg_pin: gpio.39:low
#      limit_pos_pin: NO_PIN
#      limit_all_pin: NO_PIN
#      hard_limits: false
#      pulloff_mm: 3.000
#      tmc_2209:
#        uart_num: 1
#        addr: 3
#        cs_pin: i2so.22
#        r_sense_ohms: 0.110
#        run_amps: 0.800
#        homing_amps: 0.800
#        hold_amps: 0.500
#        microsteps: 16
#        stallguard: 0
#        stallguard_debug: false
#        toff_disable: 0
#        toff_stealthchop: 5
#        toff_coolstep: 3
#        run_mode: StealthChop
#        homing_mode: StealthChop
#        use_enable: false
#        step_pin: I2SO.21
#        direction_pin: I2SO.20
#        disable_pin: I2SO.23

i2so:
  bck_pin: gpio.22
  data_pin: gpio.21
  ws_pin: gpio.17

spi:
  miso_pin: gpio.19
  mosi_pin: gpio.23
  sck_pin: gpio.18

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN
  frequency_hz: 20000000

probe:
  pin: gpio.36:low
  toolsetter_pin: NO_PIN
  check_mode_start: true

start:
  must_home: false

coolant:
  flood_pin: gpio.2
  mist_pin: gpio.16
  delay_ms: 0

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:

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
  digital0_pin: gpio.26
  digital1_pin: gpio.27
  digital2_pin: NO_PIN
  digital3_pin: NO_PIN

#Laser:
#  pwm_hz: 5000
#  output_pin: gpio.27
#  enable_pin: NO_PIN
#  disable_with_s0: false
#  s0_with_disable: true
#  tool_num: 0
#  speed_map: 0=0.000% 255=100.000%
#  off_on_alarm: true

# pwm:
#  pwm_hz: 5000
#  direction_pin: gpio.26
#  output_pin: gpio.27
#  enable_pin: NO_PIN
#  disable_with_s0: false
#  s0_with_disable: true
#  spinup_ms: 0
#  spindown_ms: 0
#  tool_num: 0
#  speed_map: 0=0.000% 1000=100.000%
#  off_on_alarm: false

# 5V out gpio.26/27
# VMot out gpoi.2/16
# In's left to right gpoi.25/33/32/35/34/39/36