No wifi, no connection to the board

The board itself if very simple, we swapped out the esp so kinda need to rule that out. You have inputs and outputs that is it.

You are looking for something simple, unless you can make it happen every time on command it is never going to be simple.

It was powered up and ran all night, so now you need to look at everything else.

First and foremost, unplug the things you have in the inputs/outputs and try again. No laser no endstops, nothing but power and steppers. Run some non-homing Gcode and see if it happens again.

If that goes fine plug in the endstops, not the probe. try again.

then the probe, try again (the probe can act like an antenna for a noisy spindle or vac).

If it is still good we are down to the two things you added to the outputs. (my best guess at this point), or a power supply issue.

1 Like

Sorry maybe I should break that down more. The 4 chips on the bottom deal with the steppers, if the machine moves those are good. The chip at the top is for the protected 5v outputs. The inputs are basically direct. All the rest of the chips on the right deal with converting the 12-24v to 5v. So having your steppers work, your in and output work we start looking outside the board.

We have had things like Compressors and garage refrigerators screw up the wall power so much they rebooted boards randomly, so when I say outside the board I mean the things you plugged in and the things on the same power circuit.

I’ll start eliminating tonight, I’m out there for a while anyway working on my sons car so I’ll run it in the background. I’m definitely looking for something simple and using the old school troubleshooting hoping to find it.

What I’ve done so far today:
Powered up and it disconnected before I had a chance to break out the MM.
Reconnected
MM says I have 24v from the PS, I wiggled every wire and shook the living hell out of the control box, voltage stayed constant.

I activated the mosfet I use to control everything 110 (router etc) and did the same measuring across it, voltage stayed constant.

Ran an old file, it ‘cut’ (everything was off so no router) for about a minute came to a stop and lost connection. Wifi as always said it was still connected between the pc and the board. Before it cut from the fluidnc uh-oh page to the no internet page, it was scrolling ‘connection timed out’ in red’. I refreshed the web connection and got the websocket and error 152 messages. The mosfet stayed active and read 24v.

Nothing besides my overhead lights, the laptop and the cnc are running. I’d considered noisy AC etc so I was just sweating a bit while I let it run.

I haven’t dug through my pile yet to see if I have another 24V ps to swap, but what I DO have sitting on my desk is a brand new lenovo laptop PS. It’s 135w, rated for 6.75A but only 20V. I don’t know if the board is 12 OR 24 V, or if it’s 12-24v, so let me know if that’s worth exploring or not.

In the meantime I’ll pull everything except the steppers and see what happens.

If your computer is hammering the connection, it will cause issues. I loaded V3 on there and before it actually stops it should actually just ignore too many connections. So it should not be that, but be careful when it is moving, don’t keep poking at the UI just to be safe.

Great step right here.

Im startingthe file and waking away.

Everything unplugged, websocket error. On to power supply.

What file?
Lets see the first section, maybe you just have some really bad gcode.

Does it stop in the exact same place every time?

It’s every file I’ve run, stops randomly. I’m running old files I’ve cut a dozen times before without issue, it’s nothing new. I’m running right now the 1st new file I’ve put on it just to stress it. 24x24 pocket, only .25 deep but 20 passes so lots of x/y. I’m going to do one with a heavy Z load next and see if I can get it to repeat on a certain axis.

No joy on a spare 24v ps, best I’ve got is the lenovo 20v.

Maybe not. 16.67% of the test file and it died on an X move, ‘connection timed out’. I was lucky enough to be standing there when it happened. I’ll re-rerun it later and see if I get the same % of run before it goes down.

That is fine.

The firmware is updated, maybe you have a bad command that now causes an error. Don’t rule things out so easily.

Ok, ill pull one later on. It’s been having the same issue before any gcode is run though. Ill wire up the other ps tonight and see if anything changes.

(VECTRIC POST REVISION)
(5688A287D33ADDC8CF627E5CFB591374)
T1
G17
G20
G90
G0Z0.8000
G0X0.0000Y0.0000
S18000M3
M7
G0X-0.0375Y-0.0375Z0.2000
G1Z0.0000F15.0
G1Y0.0375Z-0.0012
G1X0.0375Z-0.0023
G1Y-0.0375Z-0.0035
G1X-0.0375Z-0.0047
G1Y0.0375Z-0.0059
G1X0.0375Z-0.0070
G1Y-0.0375Z-0.0082
G1X-0.0375Z-0.0094
G1Y0.0375Z-0.0105
G1X0.0375Z-0.0117
G1Y-0.0375Z-0.0129
G1X-0.0375Z-0.0141
G1Y0.0375Z-0.0152
G1X0.0375Z-0.0164
G1Y-0.0375Z-0.0176
G1X-0.0375Z-0.0187
G1Y0.0375Z-0.0199
G1X0.0375Z-0.0211
G1Y-0.0375Z-0.0223
G1X-0.0375Z-0.0234
G1Y0.0375Z-0.0246
G1X0.0375Z-0.0258
G1Y-0.0375Z-0.0270
G1X-0.0375Z-0.0281
G1Y0.0375Z-0.0293
G1X0.0375Z-0.0305
G1Y-0.0125Z-0.0312
G1Y0.0375Z-0.0320
G1X-0.0375Z-0.0332
G1Y-0.0375Z-0.0344
G1X0.0375Z-0.0355
G1Y0.0375Z-0.0367

Apparently lenovo only kicks out some volts if it’s hooked to a lenovo laptop,

But I did find an old compaq charger 19.5v 3.5A.

running the same file, different power supply, 3.1% in and ‘connection timed out’.

config

board: Jackpot TMC2209
name: LowRider
meta: 03-15-2024 RyanZ
stepping:
engine: I2S_static
idle_ms: 255
pulse_us: 4
dir_delay_us: 1
disable_delay_us: 0
segments: 12

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

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

kinematics:
Cartesian:

axes:
shared_stepper_disable_pin: NO_PIN
shared_stepper_reset_pin: NO_PIN
homing_runs: 2
x:
steps_per_mm: 50.000000
max_rate_mm_per_min: 9000.000000
acceleration_mm_per_sec2: 200.000000
max_travel_mm: 1220.000000
soft_limits: false
homing:
cycle: 3
allow_single_axis: true
positive_direction: false
mpos_mm: 0.000000
feed_mm_per_min: 300.000000
seek_mm_per_min: 1500.000000
settle_ms: 500
seek_scaler: 1.100000
feed_scaler: 1.100000

motor0: 
  limit_neg_pin: gpio.25
  limit_pos_pin: NO_PIN
  limit_all_pin: NO_PIN
  hard_limits: false
  pulloff_mm: 4.000000
  tmc_2209: 
    addr: 0
    cs_pin: NO_PIN
    uart_num: 1
    step_pin: I2SO.2
    direction_pin: I2SO.1
    disable_pin: I2SO.0
    r_sense_ohms: 0.110000
    run_amps: 0.800000
    hold_amps: 0.500000
    microsteps: 8
    toff_disable: 0
    toff_stealthchop: 5
    use_enable: false
    run_mode: StealthChop
    homing_mode: StealthChop
    homing_amps: 0.800000
    stallguard: 0
    stallguard_debug: false
    toff_coolstep: 3

y:
steps_per_mm: 50.000000
max_rate_mm_per_min: 9000.000000
acceleration_mm_per_sec2: 200.000000
max_travel_mm: 2440.000000
soft_limits: false
homing:
cycle: 2
allow_single_axis: true
positive_direction: false
mpos_mm: 0.000000
feed_mm_per_min: 300.000000
seek_mm_per_min: 1500.000000
settle_ms: 500
seek_scaler: 1.100000
feed_scaler: 1.100000

motor0: 
  limit_neg_pin: gpio.33
  limit_pos_pin: NO_PIN
  limit_all_pin: NO_PIN
  hard_limits: false
  pulloff_mm: 4.000000
  tmc_2209: 
    addr: 1
    cs_pin: NO_PIN
    uart_num: 1
    step_pin: I2SO.5
    direction_pin: I2SO.4
    disable_pin: I2SO.7
    r_sense_ohms: 0.110000
    run_amps: 0.800000
    hold_amps: 0.500000
    microsteps: 8
    toff_disable: 0
    toff_stealthchop: 5
    use_enable: false
    run_mode: StealthChop
    homing_mode: StealthChop
    homing_amps: 0.800000
    stallguard: 0
    stallguard_debug: false
    toff_coolstep: 3

motor1: 
  limit_neg_pin: gpio.35
  limit_pos_pin: NO_PIN
  limit_all_pin: NO_PIN
  hard_limits: false
  pulloff_mm: 12.000000
  tmc_2209: 
    addr: 3
    cs_pin: I2SO.14
    uart_num: 1
    step_pin: I2SO.13
    direction_pin: I2SO.12
    disable_pin: I2SO.15
    r_sense_ohms: 0.110000
    run_amps: 0.800000
    hold_amps: 0.500000
    microsteps: 8
    toff_disable: 0
    toff_stealthchop: 5
    use_enable: false
    run_mode: StealthChop
    homing_mode: StealthChop
    homing_amps: 0.800000
    stallguard: 0
    stallguard_debug: false
    toff_coolstep: 3

z:
steps_per_mm: 400.000000
max_rate_mm_per_min: 1200.000000
acceleration_mm_per_sec2: 80.000000
max_travel_mm: 300.000000
soft_limits: false
homing:
cycle: 1
allow_single_axis: true
positive_direction: true
mpos_mm: 0.000000
feed_mm_per_min: 300.000000
seek_mm_per_min: 800.000000
settle_ms: 500
seek_scaler: 1.100000
feed_scaler: 1.100000

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

motor1: 
  limit_neg_pin: NO_PIN
  limit_pos_pin: gpio.34
  limit_all_pin: NO_PIN
  hard_limits: false
  pulloff_mm: 4.000000
  tmc_2209: 
    addr: 3
    cs_pin: I2SO.19
    uart_num: 1
    step_pin: I2SO.18
    direction_pin: I2SO.17
    disable_pin: I2SO.16
    r_sense_ohms: 0.110000
    run_amps: 0.800000
    hold_amps: 0.500000
    microsteps: 8
    toff_disable: 0
    toff_stealthchop: 5
    use_enable: false
    run_mode: StealthChop
    homing_mode: StealthChop
    homing_amps: 0.800000
    stallguard: 0
    stallguard_debug: false
    toff_coolstep: 3

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
fault_pin: NO_PIN
estop_pin: NO_PIN

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

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

macros:
startup_line0:
startup_line1:
Macro0:
Macro1:
Macro2:
Macro3:
after_homing:
after_reset:
after_unlock:

start:
must_home: false
deactivate_parking: false
check_limits: true

parking:
enable: false
axis: Z
target_mpos_mm: -5.000000
rate_mm_per_min: 800.000000
pullout_distance_mm: 5.000000
pullout_rate_mm_per_min: 250.000000

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
digital4_pin: NO_PIN
digital5_pin: NO_PIN
digital6_pin: NO_PIN
digital7_pin: NO_PIN

NoSpindle:

arc_tolerance_mm: 0.002000
junction_deviation_mm: 0.010000
verbose_errors: true
report_inches: false
enable_parking_override_control: false
use_line_numbers: false
planner_blocks: 32

$ss

<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>

[MSG:INFO: FluidNC v3.8.0 GitHub - bdring/FluidNC: The next generation of motion control firmware]

[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]

[MSG:INFO: Local filesystem type is littlefs]

[MSG:INFO: Configuration file:config.yaml]

[MSG:INFO: Machine LowRider]

[MSG:INFO: Board Jackpot TMC2209]

[MSG:INFO: UART1 Tx:gpio.0 Rx:gpio.4 RTS:NO_PIN Baud:115200]

[MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21]

[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]

[MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN freq:20000000]

[MSG:INFO: Stepping:I2S_static Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]

[MSG:INFO: User Digital Output:0 on Pin:gpio.26]

[MSG:INFO: User Digital Output:1 on Pin:gpio.27]

[MSG:INFO: Axis count 3]

[MSG:INFO: Axis X (0.000,1220.000)]

[MSG:INFO: Motor0]

[MSG:INFO: tmc_2209 UART1 Addr:0 CS:NO_PIN Step:I2SO.2 Dir:I2SO.1 Disable:I2SO.0 R:0.110]

[MSG:INFO: X Neg Limit gpio.25]

[MSG:INFO: Axis Y (0.000,2440.000)]

[MSG:INFO: Motor0]

[MSG:INFO: tmc_2209 UART1 Addr:1 CS:NO_PIN Step:I2SO.5 Dir:I2SO.4 Disable:I2SO.7 R:0.110]

[MSG:INFO: Y Neg Limit gpio.33]

[MSG:INFO: Motor1]

[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.14 Step:I2SO.13 Dir:I2SO.12 Disable:I2SO.15 R:0.110]

[MSG:INFO: Y2 Neg Limit gpio.35]

[MSG:INFO: Axis Z (-300.000,0.000)]

[MSG:INFO: Motor0]

[MSG:INFO: tmc_2209 UART1 Addr:2 CS:NO_PIN Step:I2SO.10 Dir:I2SO.9 Disable:I2SO.8 R:0.110]

[MSG:INFO: Z Pos Limit gpio.32]

[MSG:INFO: Motor1]

[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.19 Step:I2SO.18 Dir:I2SO.17 Disable:I2SO.16 R:0.110]

[MSG:INFO: Z2 Pos Limit gpio.34]

[MSG:INFO: X Axis driver test passed]

[MSG:INFO: Y Axis driver test passed]

[MSG:INFO: Y2 Axis driver test passed]

[MSG:INFO: Z Axis driver test passed]

[MSG:INFO: Z2 Axis driver test passed]

[MSG:INFO: Kinematic system: Cartesian]

[MSG:INFO: Using spindle NoSpindle]

[MSG:INFO: Flood coolant gpio.2]

[MSG:INFO: Mist coolant gpio.16]

[MSG:INFO: Probe gpio.36:low]

[MSG:INFO: STA SSID is not set]

[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]

[MSG:INFO: AP started]

[MSG:INFO: WiFi on]

[MSG:INFO: Captive Portal Started]

[MSG:INFO: HTTP started on port 80]

[MSG:INFO: Telnet started on port 23]

ok

<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>

<Idle|MPos:0.

This is not a fluidnc command.

What did you change on the config? We can’t check it that way it is sensitive to extra spaces.

Just pulloff on a y motor to square, 1 z to level and doubled the z steps permm. It was through the interface, no text editing.

I’m going to order a 24v 15a ps. I figure that will eliminate any risk of not enough juice. If that’s not it, I’m completely out of ideas.

I had to google that, vcarve ads it in. Apparently it means using tool 1.

Have you tried running the crown gcode from the docs?

If it completes without issue it might indicate a post processor problem - if known good gcode also stalls then the issue is elsewhere.

1 Like