Jackpot config changes

This may or may not be helpful to others, but I have changed all my hold and run currents and pull-offs, so I wanted to know if it was easier to update my file with JP2 changes, or update the JP2 config with my settings. So, I fed the two files to claude with this prompt:
Please compare the two attached files and highlight all of the differences. I have the older version and have made some changes to holding currents, pull-off, run current and I have added the same pendant section as is in the new file. If I want to just update my current file with changes from the new file, what do I need to update?

And here is the output. Let me know if there are any errors. Also, if you have a pendant on JP1, just note that the pins have changed on JP2 (Tx: 15, Rx, 12).

Required Updates to Match New Config

1. Header Updates

# Change these lines at the top:
board: Jackpot V2 TMC2226  # was: Jackpot TMC2209
meta: 07-10-2025 RyanZ     # update date if desired

2. UART Configuration Change

uart1:
  txd_pin: gpio.16         # was: gpio.0
  rxd_pin: gpio.4          # (unchanged)
  rts_pin: NO_PIN          # (unchanged)
  baud: 115200             # (unchanged)
  mode: 8N1                # (unchanged)

3. Coolant Section - Disable Pins

coolant:
  flood_pin: NO_PIN        # was: gpio.2
  mist_pin: NO_PIN         # was: gpio.16
  delay_ms: 0              # (unchanged)

4. User Outputs - Add Digital Pin

user_outputs:
  analog0_pin: NO_PIN      # (unchanged)
  analog1_pin: NO_PIN      # (unchanged)
  analog2_pin: NO_PIN      # (unchanged)
  analog3_pin: NO_PIN      # (unchanged)
  analog0_hz: 5000         # (unchanged)
  analog1_hz: 5000         # (unchanged)
  analog2_hz: 5000         # (unchanged)
  analog3_hz: 5000         # (unchanged)
  digital0_pin: gpio.26    # (unchanged)
  digital1_pin: gpio.27    # (unchanged)
  digital2_pin: gpio.2     # was: NO_PIN
  digital3_pin: NO_PIN     # (unchanged)

5. Update Final Comment (Optional)

# At the end of file, replace:
# 5V out gpio.26/27
# VMot out gpoi.2/16
# In's left to right gpoi.25/33/32/35/34/39/36

# With:
# Inputs left to right gpoi.25/33/32/35/34/39/36

Summary

The key functional changes are:

  1. Board identifier update for TMC2226 drivers

  2. UART TX pin moved from gpio.0 to gpio.16 (important for communication)

  3. Coolant pins disabled (gpio.2 and gpio.16 freed up)

  4. gpio.2 repurposed as digital output 2

Do NOT change your motor currents, pull-off distances, or pendant section since you’ve already customized those.

why?

you can do this directly from the web interface.

Don’t do this.

This does not need a separate topic. I have made several changes on my JP1 config file. I was curious how different the config files between JP1 and JP2 were, so I did something to compare them. I thought it might be useful to others, so I posted it here. No help needed.

We can ask AI ourselves. I don’t find it useful to copy and paste AI output into forums. Many forums have outright banned it. We haven’t explicitly done that. But I don’t think this is helpful and I would not want it to derail users who don’t know any better.

2 Likes

Can I put in a request…? :wink:

2 Likes