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:
-
Board identifier update for TMC2226 drivers
-
UART TX pin moved from gpio.0 to gpio.16 (important for communication)
-
Coolant pins disabled (gpio.2 and gpio.16 freed up)
-
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.