bdring / Grbl_Esp32

A port of Grbl CNC Firmware for ESP32
GNU General Public License v3.0
1.67k stars 527 forks source link

Translate Machine.h for Motusphera #1023

Open philletourneau opened 2 years ago

philletourneau commented 2 years ago

This issue will automatically convert a Grbl_Esp32 "machine.h" file to FluidNC YAML format.

Change YOUR NAME in the title to some string that identifies your machine configuration.

Attach your Machine.h file here - but first change the .h extension to .txt because GitHub will not allow you to attach a file with a .h extension. Submit the issue, and after a few minutes, a new comment will appear with the FluidNC YAML file.

motusphera_single_axis_machine_definition_coolstep.txt

github-actions[bot] commented 2 years ago

Dear philletourneau, we converted your machine header-file motusphera_single_axis_machine_definition_coolstep.txt into a corresponding fluidNc yaml-file. Please copy the following content into your config.yaml file and upload the file to your esp32.

name: Motusphera_POC
board: unknown

kinematics:
  Cartesian:

stepping:
  engine: RMT
  idle_ms: 250
  dir_delay_us: 0
  pulse_us: 3
  disable_delay_us: 0

axes:
  shared_stepper_disable_pin: gpio.25
  x:
    steps_per_mm: 100.000
    max_rate_mm_per_min: 4000.000
    acceleration_mm_per_sec2: 40.000
    max_travel_mm: 300.000
    soft_limits: false
    motor0:
      limit_all_pin: gpio.36:low
      hard_limits: false
      tmc_2209:
        direction_pin: gpio.27
        step_pin: gpio.26
        r_sense_ohms: 0.110
        addr: 0
        run_amps: 0.666
        hold_amps: 0.540
        microsteps: 16
        stallguard: 16
        stallguard_debug: false
        run_mode: Stallguard
        homing_mode: Stallguard
        use_enable: false
        uart:
          txd_pin: gpio.22
          rxd_pin: gpio.21
          baud: 115200
          mode: 8N1
    motor1:
      null_motor:

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

sdcard:
  cs_pin: gpio.5

control:
  feed_hold_pin: gpio.17:low:pu
  cycle_start_pin: gpio.4:low:pu

coolant:
  delay_ms: 1000.000

probe:
  check_mode_start: false

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

start:
  must_home: true
  check_limits: true
  deactivate_parking: false

user_outputs:
  analog0_pin: gpio.14
  analog0_hz: 5000
  analog1_pin: gpio.13
  analog1_hz: 5000
  analog2_pin: gpio.15
  analog2_hz: 5000
  analog3_pin: gpio.12
  analog3_hz: 5000
arc_tolerance_mm: 0.002
junction_deviation_mm: 0.010
verbose_errors: false
report_inches: false
enable_parking_override_control: false
use_line_numbers: false