[FluidNC Issue#1424] Problem: How to implement a potentiometer in config.yaml to override feed speed on a anaolog input of the ESP32 ?

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

Issue #1424 | 状态: 已关闭 | 作者: MirkoCNC | 创建时间: 2025-01-07


Wiki Search Terms

Analog input via potentiometer on the ESP32 in order to override feed speed

Controller Board

ESP32 board connected with Mach3 driver board

Machine Description

XA axis to control a winding machine to make coils

Input Circuits

It is just the potentionmeter on ADC1_CH0

Configuration file

name: CNC-Winder
board: ESP32-MACH3

start:
  must_home: False

axes:
  x:

Steps per 5mm (one turn) 400 x 16 / 5 (0.9 degree, 16 microsteps, 5mm spindle)

stepspermm: 1280.000 maxratemmpermin: 500.000 accelerationmmper_sec2: 20.000 motor0: standard_stepper: step_pin: gpio.32 direction_pin: gpio.5 disable_pin: gpio.33:low z:

Steps per one degree 200 x 8 / 360 (1.8 degree, 8 micosteps)

stepspermm: 4.444 maxratemmpermin: 2000.000 accelerationmmper_sec2: 2.000 motor0: standard_stepper: step_pin: gpio.19 direction_pin: gpio.21 disable_pin: gpio.18:low control: feedholdpin: gpio.14:low cyclestartpin: gpio.35:low estop_pin: gpio.15:low

Startup Messages

Everthing is OK and works. I just want to add the additional feature of overriding feed speed with a potentiometer.

User Interface Software

WebUI or Universal GCode Sender

What happened?

I cannot find any information in the Wiki to achieve implementing the analog potentiometer.

GCode File

No problem with GCode

Other Information

No response


评论 (1)

#1 – bdring 于 2025-01-07

We do not support any analog inputs at this time. This is partly due to the low resolution and poor quality of the ESP32 analog features.

We do have this on our requested features list, but it is a low priority. That is primarily for M66 support.

The best way to to implement feed override is via our UART channels. Our pendants offer feed override via rotary encoders.

http://wiki.fluidnc.com/en/hardware/official/M5Dial_Pendant


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

喜欢 (0)