[FluidNC Issue#1545] Problem : uart 1,2 not working

未分类 bolang 4个月前 (10-14) 37次浏览

Issue #1545 | 状态: 已关闭 | 作者: oldyellowbart | 创建时间: 2025-08-15


Wiki Search Terms

Cyd pendant fluid nc pendant i tried everything but nothing worked so i grabed an oscilloscope and tried to see if i acyually get any pulses but no i tried changing pins like 16,21,22,34 etc but no changed i also tried CH340 to actually debug still no

Controller Board

esp32d using standard availible esp32

Machine Description

I have made a custom made cnc i tried manialy all the things through wifi and serial works fine but not for pendant

Input Circuits

uart2:
  txd_pin: gpio.21
  rxd_pin: gpio.22
  rtspin: NOPIN
  baud: 115200
  mode: 8N1
  passthrough_baud: 1000000
  passthrough_mode: '8E1'

Configuration file

board: 6 Pack
name: esp32
stepping:
  engine: RMT
  idle_ms: 255
  pulse_us: 4
  dirdelayus: 0
  disabledelayus: 0
  segments: 12
kinematics: {}
axes:
  homing_runs: 2
  x:
    stepspermm: 31.228
    maxratemmpermin: 2000
    accelerationmmper_sec2: 50
    maxtravelmm: 410
    soft_limits: true
    motor0:
      limitnegpin: gpio.4:pu:low
      limitpospin: NO_PIN
      limitallpin: NO_PIN
      hard_limits: true
      pulloff_mm: 1
      standard_stepper:
        step_pin: gpio.13
        direction_pin: gpio.14
        disable_pin: gpio.2
    homing:
      cycle: 1
      mpos_mm: 1
      positive_direction: false
  y:
    stepspermm: 31.228
    maxratemmpermin: 1000
    accelerationmmper_sec2: 25
    maxtravelmm: 503
    soft_limits: true
    motor0:
      limitnegpin: NO_PIN
      limitpospin: gpio.18:pu:low
      limitallpin: NO_PIN
      hard_limits: true
      pulloff_mm: 1
      standard_stepper:
        step_pin: gpio.25
        direction_pin: gpio.26
        disable_pin: gpio.27
    homing:
      cycle: 1
      mpos_mm: 1
      positive_direction: true
  z:
    stepspermm: 31.228
    maxratemmpermin: 1000
    accelerationmmper_sec2: 25
    maxtravelmm: 60
    soft_limits: true
    motor0:
      limitnegpin: NO_PIN
      limitpospin: gpio.33:pu:low
      limitallpin: NO_PIN
      hard_limits: true
      pulloff_mm: 1
      standard_stepper:
        step_pin: gpio.5
        direction_pin: gpio.19
        disable_pin: gpio.17
    homing:
      cycle: 1
      mpos_mm: 1
coolant:
  floodpin: NOPIN
  mistpin: NOPIN
  delay_ms: 0
macros: {}
start:
  must_home: true
  deactivate_parking: true
  check_limits: true
parking:
  enable: false
  axis: Z
  targetmposmm: -5
  ratemmper_min: 800
  pulloutdistancemm: 5
  pulloutratemmpermin: 250
user_outputs:
  analog0pin: NOPIN
  analog1pin: NOPIN
  analog2pin: NOPIN
  analog3pin: NOPIN
  analog0_hz: 5000
  analog1_hz: 5000
  analog2_hz: 5000
  analog3_hz: 5000
  digital0pin: NOPIN
  digital1pin: NOPIN
  digital2pin: NOPIN
  digital3pin: NOPIN
  digital4pin: NOPIN
  digital5pin: NOPIN
  digital6pin: NOPIN
  digital7pin: NOPIN
user_inputs:
  analog0pin: NOPIN
  analog1pin: NOPIN
  analog2pin: NOPIN
  analog3pin: NOPIN
  digital0pin: NOPIN
  digital1pin: NOPIN
  digital2pin: NOPIN
  digital3pin: NOPIN
  digital4pin: NOPIN
  digital5pin: NOPIN
  digital6pin: NOPIN
  digital7pin: NOPIN
arctolerancemm: 0.002
junctiondeviationmm: 0.01
verbose_errors: true
report_inches: false
enableparkingoverride_control: false
uselinenumbers: false
planner_blocks: 16
uart1:
  txd_pin: gpio.16
  rxd_pin: gpio.21
  rtspin: nopin
  baud: 115200
  mode: 8N1
  passthrough_baud: 115200
  passthrough_mode: '8E1'

Startup Messages

Grbl 3.9 [FluidNC v3.9.8 (wifi) '$' for help]
$Startup/Show
[MSG:INFO: FluidNC v3.9.8 https://github.com/bdring/FluidNC]
[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 esp32]
[MSG:INFO: Board 6 Pack]
[MSG:INFO: UART1 Tx:gpio.16 Rx:gpio.21 RTS:NO_PIN Baud:115200]
[MSG:INFO: Stepping:RMT Pulse:4us Dsbl Delay:0us Dir Delay:0us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (1.000,411.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.13 Dir:gpio.14 Disable:gpio.2]
[MSG:INFO:  Neg Limit gpio.4:low:pu]
[MSG:INFO: Axis Y (-502.000,1.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.25 Dir:gpio.26 Disable:gpio.27]
[MSG:INFO:  Pos Limit gpio.18:low:pu]
[MSG:INFO: Axis Z (-59.000,1.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.5 Dir:gpio.19 Disable:gpio.17]
[MSG:INFO:  Pos Limit gpio.33:low:pu]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: STA SSID is not set]
[MSG:INFO: AP SSID Fluid 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

User Interface Software

Web ui ,UGS

What happened?

I tried to attach fluid nc pendant made on Cheap Yellow display CYD resistive touch version i used it with grbl on arduino ide by chaning its baudrate and atleast it changed from Not connect to idle but in the case of esp32 Fluid nc its not working so i tried uart 2 still no changed pins still no then i grabed ch340 and connected it to assined pins in yml still no then i grabed oscilloscope and no communications i was able to see

GCode File

No response

Other Information

The status doesnt changed from NC


评论 (2)

#1 – oldyellowbart 于 2025-08-15

I also changed the pass baud rate to 10000000 but still no


#2 – MitchBradley 于 2025-08-15

You need a uartchannel1: section in the config file as described at http://wiki.fluidnc.com/en/hardware/official/M5DialPendant#fluidnc-config-example


原始Issue: https://github.com/bdring/FluidNC/issues/1545

喜欢 (0)