Home Forums RepRap Calculator Steps per mm

Tagged: 

This topic contains 29 replies, has 10 voices, and was last updated by  ruggb 1 month ago.

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • #3673
    Josef Průša
    Josef Průša
    Keymaster

    Please post here your calculated and tested values along with the printer name or setup description.

    #3792

    Dr. FrakenPrint
    Participant

    Motor Step Angle: 1.8 (200 per rev)
    Driver MicroStepping: 1/16 (Pololu)
    Belt Pitch: 2 (GT-2 rubber w/fibreglass reinforcing)
    Pulley Tooth Count: 20 (GT-2)

    Result: 80.00
    Resolution: 12.5 micron

    Setup:
    Prusa Mendel i2
    RAMPS 1.4
    Marlin
    Budaschnozzle 2.0

    Handsome and Super Sexy: Yes

    #3793

    ruggb
    Participant

    help me understand this please.
    I have 3 belt driven screws — lead = 8, pitch = 2 (4 start).
    i have a 36T pulley on each screw and stepper and a gt2 belt. That is basically the same as driving each screw with a separate motor. The result == 44.44 steps/mm

    I am assuming the lead screw driven system means a direct drive since the gear ratio is 1:1. result == 1600 steps/mm.
    Why are they different?

    #3803

    paulscott56
    Participant

    Motor Step Angle: 0.9 (400 per rev)
    Driver MicroStepping: 1/16 (Pololu)
    Belt Pitch: 2 (GT-2)
    Pulley Tooth Count: 20 (GT-2)

    Result: 160.00
    Resolution: 6.25 micron

    Setup:
    Prusa Mendel i3 (MODIFIED)
    RAMPS 1.4
    Marlin
    Standard 0.4mm J Head

    #3804

    -Nx-
    Member

    Lots of confusion regarding what pitch and leads really are. Mostly because the US (Again) uses their own set of rules.

    Anyway, I bought this nice stepper with attached leadscrew and nut included for my Z-axis:

    Partnno.: SM42HT38-1684AL
    Specification: Size 42 x 42mm
    Length 38mm
    Rated Voltage 2.52V
    Rated current 1.68A
    Resistance 1.5 Ohm
    Inductance 2.3 mH
    Holding Torgue 4.2 kg.cm
    1.8 degree/step
    Axis length 205mm
    Lead screw TR8x8mm (P2)
    Include screw nut, wire and connector

    What we want to pay special attention to here is the “Lead screw TR8x8mm (P2)” which Means it is 8mm diameter and we need to enter 8mm pitch. Why is that? Because it has 4 lead starts with 2mm pitch between each = 8

    It Means I can set my Z-axis like this:
    1.8 steps (200 pr revolution).
    Screw pits 8.
    1/4 multistepping
    Result: 100 steps
    Resolution: 0.01mm (10micron)

    Why do I choose as I did? 0.01mm (10micron) is more than good enough resolution, as I will never print Z-layers that can’t be divided by 0.01 and the lower multistepping the higher torx I get.

    Also, and that is most important: I get fewer missed steps with 1/4 multistepping as opposed to “standard” 1/16 for no reason.

    #3815

    ledaero
    Participant

    There’s no 1/32 step calculation in the belts calculator – you have 2x 1/16, then 1/64, but no 1/32.

    Not that it’s hard to work out, but I thought you should know.

    It’s a popular resolution with more advanced Marlin/RAMPS boards using DRV8825 drivers.

    Your screw calculator gives 1/32 figures when you select 1/64.

    And for both types of calculation, your presets don’t preset anything.

    Has this website been tested? Sorry – I won’t be trusting your calculations, I will use a micrometer and calculator as usual.

    #3821

    edson
    Participant

    I modified my prusa 3d printer of 5mm to 8mm Leadscrew, but the printer pieces had been printed with 30% greater. I need change program or G-code to return size for the original?

    • This reply was modified 1 year, 10 months ago by  edson.
    #3823

    ruggb
    Participant

    I don’t have a prusa, I built my own coreXY unit, but maybe this will help u.
    I use Marlin firmware. This line in the configuration.h file
    #define DEFAULT_AXIS_STEPS_PER_UNIT {200,200,800,317.48}
    defines the steps/mm (UNIT=mm) for each axis and extruders.
    I have an 8mm dia, 4 start screw so the lead is 4mm and the pitch is 2mm
    That says it rises 8mm for each revolution.

    Look at the stepper and driver. Mine has a 1.8° step angle with 32x microstepping Or 360/1.8 x 32 steps/rev = 6400 steps/rev
    so — 6400 steps/rev x 1 rev/8mm = 6400/8 steps/mm = 800 steps/mm
    Which is what that 3rd number is.

    How u get that information into ur prusa is another story.
    I do not know anything about the prusa electronics or firmware.
    BUT it has to have firmware and it has to be modifiable and uploadable to the electronics. U might better look for a prusa forum to get that information.

    • This reply was modified 1 year, 10 months ago by  ruggb.
    #4898

    feste
    Participant

    Motor step angle 1/8
    Driver Microstepping 1/32
    Belt pitch 2
    Belt presets 2mm GT2
    Pulley count 20

    Result 160

    on a HTA3d

    #5529

    Suggy
    Participant

    XY Axis
    Motor step angle 1/8
    Driver Microstepping 1/16
    Belt pitch 2
    Belt presets 2mm GT2
    Pulley count 20
    Result 80

    Z Axis
    Motor step angle 1/8
    Driver microstepping 1/16
    Lead screw pitch 2 (proper lead screw not threaded bar)
    Pitch presets 8mm Metric
    Gear ratio 1-1
    Result 1600

    I’m now stuck on how to calculate the extruder feed. Direct feed mk8 with a 28 teeth straight cog and diameter of 11mm and a circumference of 35mm or
    a with 21 teeth concaved cog (mk10 I think) and a diameter of 9mm at its widest and 7.2mm at its narrowest and a circumference of 22mm
    0.4mm nozzle
    Build is a copy of a ctc but bigger

    Can some one please help me out?

    Suggy

    • This reply was modified 2 months, 1 week ago by  Suggy. Reason: added nozzle size
    • This reply was modified 2 months, 1 week ago by  Suggy.
    #5532

    ruggb
    Participant

    That, IMHO, is toooooo tricky. You have either a flat MK8 or one with a groove. Obviously, the groove adds a challenge, But depending on the pressure setting that will change things. Also, the hotend pressure will affect it and that is a function of extruding speed and temp. Bottom line, it will never be perfect. It’s best to just use an approx diameter of the MK8 that contacts the filament and get a number with that. Then when you have it running you can tweak it. I do it by extruding 100mm and measuring it. Of course, this doesn’t go thru the nozzle so you must remove the nozzle or disconnect the feed tube.
    In my case, I have a groove, but I ignored that and used the circumference of the MK8 C / steps/rev / and came up with 200 steps/mm. As you can see after the physical test it dropped some. BTW, my current setting is 185.2 an I have no idea why I posted 317 previously. Getting old sucks.
    close is the best you can achieve, but it good enough.

    #5533

    Suggy
    Participant

    Thanks for the reply
    So at the moment I have the mk8 in at the moment so if I start with 200 and measure the 100mm and go from there? Looks like I’m going shopping for a fine tip marker.
    Don’t suppose you would happen to know how I can get the extruder cooling fan to come on at a set temp, say around 50 digress and turn off at approx. the same temp? I know it’s something to do with the setting in the fire ware config h and pins h but don’t have a clue what to do. The fan is connected to the second extrude output; I can get it to come on as a cooling fan via simplify3d and the screen/controller?
    Pretty new to 3d printing I started out with the ctc and after loads of mods got it printing really good prints as long as I don’t use cheap filaments. Also have an i3 from geeetech which still needs fine tuning but when it comes to firmware I’m at a loss.

    Getting old I know what you mean. Not retied yet but of work due to bad back (osteoarthritis) and with all the pain killers my memory is shocking.

    Suggy aks Ian

    #5534

    ruggb
    Participant

    I m assuming you have Marlin on your machine. I am using RC8BugFix, but I believe these are in most versions.

    I have rearranged my files and have all the fan related things in one place in configuration.h. but some of the items are in other files – mostly the ADV file.
    1st KICKSTART – enable that – in ADV
    2nd AUTO_FAN – there are 6 variables – self explanatory – probably ADV also
    you will have to drudge thru your pins file for some info.

    • This reply was modified 2 months ago by  ruggb.
    #5536

    Suggy
    Participant

    Config adv
    Changed the following
    197 #define FAN_KICKSTART_TIME 100 form //#define FAN_KICKSTART_TIME 100
    212 #define EXTRUDER_1_AUTO_FAN_PIN 1 from #define EXTRUDER_1_AUTO_FAN_PIN -1

    What am I looking for in the. Pins h
    Mine looks like this

    #ifndef PINS_H
    #define PINS_H

    #if MB(GEN7_CUSTOM)
    #include “pins_GEN7_CUSTOM.h”
    #elif MB(GEN7_12)
    #include “pins_GEN7_12.h”
    #elif MB(GEN7_13)
    #include “pins_GEN7_13.h”
    #elif MB(GEN7_14)
    #include “pins_GEN7_14.h”
    #elif MB(CNCONTROLS_11)
    #include “pins_CNCONTROLS_11.h”
    #elif MB(CNCONTROLS_12)
    #include “pins_CNCONTROLS_12.h”
    #elif MB(CHEAPTRONIC)
    #include “pins_CHEAPTRONIC.h”
    #elif MB(SETHI)
    #include “pins_SETHI.h”
    #elif MB(RAMPS_OLD)
    #include “pins_RAMPS_OLD.h”
    #elif MB(RAMPS_13_EFB)
    #define IS_RAMPS_EFB
    #include “pins_RAMPS_13.h”
    #elif MB(RAMPS_13_EEB)
    #define IS_RAMPS_EEB
    #include “pins_RAMPS_13.h”
    #elif MB(RAMPS_13_EFF)
    #define IS_RAMPS_EFF
    #include “pins_RAMPS_13.h”
    #elif MB(RAMPS_13_EEF)
    #define IS_RAMPS_EEF
    #include “pins_RAMPS_13.h”
    #elif MB(RAMPS_13_SF)
    #define IS_RAMPS_SF
    #include “pins_RAMPS_13.h”
    #elif MB(RAMPS_14_EFB)
    #define IS_RAMPS_EFB
    #include “pins_RAMPS.h”
    #elif MB(RAMPS_14_EEB)
    #define IS_RAMPS_EEB
    #include “pins_RAMPS.h”
    #elif MB(RAMPS_14_EFF)
    #define IS_RAMPS_EFF
    #include “pins_RAMPS.h”
    #elif MB(RAMPS_14_EEF)
    #define IS_RAMPS_EEF
    #include “pins_RAMPS.h”
    #elif MB(RAMPS_14_SF)
    #define IS_RAMPS_SF
    #include “pins_RAMPS.h”
    #elif MB(GEN6)
    #include “pins_GEN6.h”
    #elif MB(GEN6_DELUXE)
    #include “pins_GEN6_DELUXE.h”
    #elif MB(SANGUINOLOLU_11)
    #include “pins_SANGUINOLOLU_11.h”
    #elif MB(SANGUINOLOLU_12)
    #include “pins_SANGUINOLOLU_12.h”
    #elif MB(MELZI)
    #include “pins_MELZI.h”
    #elif MB(STB_11)
    #include “pins_STB_11.h”
    #elif MB(AZTEEG_X1)
    #include “pins_AZTEEG_X1.h”
    #elif MB(MELZI_MAKR3D)
    #include “pins_MELZI_MAKR3D.h”
    #elif MB(AZTEEG_X3)
    #include “pins_AZTEEG_X3.h”
    #elif MB(AZTEEG_X3_PRO)
    #include “pins_AZTEEG_X3_PRO.h”
    #elif MB(ULTIMAKER)
    #include “pins_ULTIMAKER.h”
    #elif MB(ULTIMAKER_OLD)
    #include “pins_ULTIMAKER_OLD.h”
    #elif MB(ULTIMAIN_2)
    #include “pins_ULTIMAIN_2.h”
    #elif MB(3DRAG)
    #include “pins_3DRAG.h”
    #elif MB(K8200)
    #include “pins_K8200.h”
    #elif MB(K8400)
    #include “pins_K8400.h”
    #elif MB(TEENSYLU)
    #include “pins_TEENSYLU.h”
    #elif MB(RUMBA)
    #include “pins_RUMBA.h”
    #elif MB(PRINTRBOARD)
    #include “pins_PRINTRBOARD.h”
    #elif MB(PRINTRBOARD_REVF)
    #include “pins_PRINTRBOARD_REVF.h”
    #elif MB(BRAINWAVE)
    #include “pins_BRAINWAVE.h”
    #elif MB(BRAINWAVE_PRO)
    #include “pins_BRAINWAVE_PRO.h”
    #elif MB(SAV_MKI)
    #include “pins_SAV_MKI.h”
    #elif MB(TEENSY2)
    #include “pins_TEENSY2.h”
    #elif MB(GEN3_PLUS)
    #include “pins_GEN3_PLUS.h”
    #elif MB(GEN3_MONOLITHIC)
    #include “pins_GEN3_MONOLITHIC.h”
    #elif MB(MEGATRONICS)
    #include “pins_MEGATRONICS.h”
    #elif MB(MINITRONICS)
    #include “pins_MINITRONICS.h”
    #elif MB(MEGATRONICS_2)
    #include “pins_MEGATRONICS_2.h”
    #elif MB(MEGATRONICS_3)
    #include “pins_MEGATRONICS_3.h”
    #elif MB(OMCA_A)
    #include “pins_OMCA_A.h”
    #elif MB(OMCA)
    #include “pins_OMCA.h”
    #elif MB(RAMBO)
    #include “pins_RAMBO.h”
    #elif MB(MINIRAMBO)
    #include “pins_MINIRAMBO.h”
    #elif MB(ELEFU_3)
    #include “pins_ELEFU_3.h”
    #elif MB(5DPRINT)
    #include “pins_5DPRINT.h”
    #elif MB(LEAPFROG)
    #include “pins_LEAPFROG.h”
    #elif MB(BAM_DICE)
    #include “pins_RAMPS.h”
    #elif MB(BAM_DICE_DUE)
    #include “pins_BAM_DICE_DUE.h”
    #elif MB(FELIX2)
    #include “pins_FELIX2.h”
    #elif MB(MKS_BASE)
    #include “pins_MKS_BASE.h”
    #elif MB(RIGIDBOARD)
    #include “pins_RIGIDBOARD.h”
    #elif MB(RIGIDBOARD_V2)
    #include “pins_RIGIDBOARD_V2.h”
    #elif MB(MEGACONTROLLER)
    #include “pins_MEGACONTROLLER.h”
    #elif MB(BQ_ZUM_MEGA_3D)
    #include “pins_BQ_ZUM_MEGA_3D.h”
    #elif MB(99)
    #include “pins_99.h”
    #elif MB(AJ4P)
    #include “pins_AJ4P.h”
    #elif MB(MKS_13)
    #include “pins_MKS_13.h”
    #elif MB(SAINSMART_2IN1)
    #include “pins_SAINSMART_2IN1.h”
    #else
    #error “Unknown MOTHERBOARD value set in Configuration.h”
    #endif

    // Define certain undefined pins
    #ifndef X_MS1_PIN
    #define X_MS1_PIN -1
    #endif
    #ifndef X_MS2_PIN
    #define X_MS2_PIN -1
    #endif
    #ifndef Y_MS1_PIN
    #define Y_MS1_PIN -1
    #endif
    #ifndef Y_MS2_PIN
    #define Y_MS2_PIN -1
    #endif
    #ifndef Z_MS1_PIN
    #define Z_MS1_PIN -1
    #endif
    #ifndef Z_MS2_PIN
    #define Z_MS2_PIN -1
    #endif
    #ifndef E0_MS1_PIN
    #define E0_MS1_PIN -1
    #endif
    #ifndef E0_MS2_PIN
    #define E0_MS2_PIN -1
    #endif
    #ifndef E1_MS1_PIN
    #define E1_MS1_PIN -1
    #endif
    #ifndef E1_MS2_PIN
    #define E1_MS2_PIN -1
    #endif

    #ifndef FAN_PIN
    #define FAN_PIN -1
    #endif
    #ifndef FAN1_PIN
    #define FAN1_PIN -1
    #endif
    #ifndef FAN2_PIN
    #define FAN2_PIN -1
    #endif

    #ifndef HEATER_0_PIN
    #define HEATER_0_PIN -1
    #endif
    #ifndef HEATER_1_PIN
    #define HEATER_1_PIN -1
    #endif
    #ifndef HEATER_2_PIN
    #define HEATER_2_PIN -1
    #endif
    #ifndef HEATER_3_PIN
    #define HEATER_3_PIN -1
    #endif
    #ifndef HEATER_BED_PIN
    #define HEATER_BED_PIN -1
    #endif

    #ifndef TEMP_0_PIN
    #define TEMP_0_PIN -1
    #endif
    #ifndef TEMP_1_PIN
    #define TEMP_1_PIN -1
    #endif
    #ifndef TEMP_2_PIN
    #define TEMP_2_PIN -1
    #endif
    #ifndef TEMP_3_PIN
    #define TEMP_3_PIN -1
    #endif
    #ifndef TEMP_BED_PIN
    #define TEMP_BED_PIN -1
    #endif

    #ifndef SD_DETECT_PIN
    #define SD_DETECT_PIN -1
    #endif
    #ifndef SDPOWER
    #define SDPOWER -1
    #endif
    #ifndef SDSS
    #define SDSS -1
    #endif
    #ifndef LED_PIN
    #define LED_PIN -1
    #endif
    #ifndef PS_ON_PIN
    #define PS_ON_PIN -1
    #endif
    #ifndef KILL_PIN
    #define KILL_PIN -1
    #endif
    #ifndef SUICIDE_PIN
    #define SUICIDE_PIN -1
    #endif

    // Marlin needs to account for pins that equal -1
    #define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : (p) + 0xA0)

    // List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
    #define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, E0_MS1_PIN, E0_MS2_PIN,
    #define _E1_PINS
    #define _E2_PINS
    #define _E3_PINS

    #if EXTRUDERS > 1
    #undef _E1_PINS
    #define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, E1_MS1_PIN, E1_MS2_PIN,
    #if EXTRUDERS > 2
    #undef _E2_PINS
    #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN,
    #if EXTRUDERS > 3
    #undef _E3_PINS
    #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN,
    #endif
    #endif
    #endif

    #define _H0_PINS HEATER_0_PIN, EXTRUDER_0_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_0_PIN),
    #define _H1_PINS
    #define _H2_PINS
    #define _H3_PINS

    #if HOTENDS > 1
    #undef _H1_PINS
    #define _H1_PINS HEATER_1_PIN, EXTRUDER_1_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_1_PIN),
    #if HOTENDS > 2
    #undef _H2_PINS
    #define _H2_PINS HEATER_2_PIN, EXTRUDER_2_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_2_PIN),
    #if HOTENDS > 3
    #undef _H3_PINS
    #define _H3_PINS HEATER_3_PIN, EXTRUDER_3_AUTO_FAN_PIN, marlinAnalogInputToDigitalPin(TEMP_3_PIN),
    #endif
    #endif
    #elif ENABLED(MIXING_EXTRUDER)
    #undef _E1_PINS
    #define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN,
    #if MIXING_STEPPERS > 2
    #undef _E2_PINS
    #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN,
    #if MIXING_STEPPERS > 3
    #undef _E3_PINS
    #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN,
    #endif
    #endif
    #endif

    #define BED_PINS HEATER_BED_PIN, marlinAnalogInputToDigitalPin(TEMP_BED_PIN),

    //
    // Assign endstop pins for boards with only 3 connectors
    //
    #ifdef X_STOP_PIN
    #if X_HOME_DIR < 0
    #define X_MIN_PIN X_STOP_PIN
    #define X_MAX_PIN -1
    #else
    #define X_MIN_PIN -1
    #define X_MAX_PIN X_STOP_PIN
    #endif
    #endif

    #ifdef Y_STOP_PIN
    #if Y_HOME_DIR < 0
    #define Y_MIN_PIN Y_STOP_PIN
    #define Y_MAX_PIN -1
    #else
    #define Y_MIN_PIN -1
    #define Y_MAX_PIN Y_STOP_PIN
    #endif
    #endif

    #ifdef Z_STOP_PIN
    #if Z_HOME_DIR < 0
    #define Z_MIN_PIN Z_STOP_PIN
    #define Z_MAX_PIN -1
    #else
    #define Z_MIN_PIN -1
    #define Z_MAX_PIN Z_STOP_PIN
    #endif
    #endif

    //
    // Disable unused endstop / probe pins
    //
    #if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting.
    #undef Z_MIN_PROBE_PIN
    #define Z_MIN_PROBE_PIN -1
    #endif

    #if DISABLED(USE_XMAX_PLUG)
    #undef X_MAX_PIN
    #define X_MAX_PIN -1
    #endif

    #if DISABLED(USE_YMAX_PLUG)
    #undef Y_MAX_PIN
    #define Y_MAX_PIN -1
    #endif

    #if DISABLED(USE_ZMAX_PLUG)
    #undef Z_MAX_PIN
    #define Z_MAX_PIN -1
    #endif

    #if DISABLED(USE_XMIN_PLUG)
    #undef X_MIN_PIN
    #define X_MIN_PIN -1
    #endif

    #if DISABLED(USE_YMIN_PLUG)
    #undef Y_MIN_PIN
    #define Y_MIN_PIN -1
    #endif

    #if DISABLED(USE_ZMIN_PLUG)
    #undef Z_MIN_PIN
    #define Z_MIN_PIN -1
    #endif

    //
    // Dual X-carriage, Dual Y, Dual Z support
    //

    #define _X2_PINS
    #define _Y2_PINS
    #define _Z2_PINS

    #define __EPIN(p,q) E##p##_##q##_PIN
    #define _EPIN(p,q) __EPIN(p,q)

    // The X2 axis, if any, should be the next open extruder port
    #if ENABLED(DUAL_X_CARRIAGE) || ENABLED(X_DUAL_STEPPER_DRIVERS)
    #ifndef X2_STEP_PIN
    #define X2_STEP_PIN _EPIN(E_STEPPERS, STEP)
    #define X2_DIR_PIN _EPIN(E_STEPPERS, DIR)
    #define X2_ENABLE_PIN _EPIN(E_STEPPERS, ENABLE)
    #endif
    #undef _X2_PINS
    #define _X2_PINS X2_STEP_PIN, X2_DIR_PIN, X2_ENABLE_PIN,
    #define Y2_E_INDEX INCREMENT(E_STEPPERS)
    #else
    #define Y2_E_INDEX E_STEPPERS
    #endif

    // The Y2 axis, if any, should be the next open extruder port
    #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
    #ifndef Y2_STEP_PIN
    #define Y2_STEP_PIN _EPIN(Y2_E_INDEX, STEP)
    #define Y2_DIR_PIN _EPIN(Y2_E_INDEX, DIR)
    #define Y2_ENABLE_PIN _EPIN(Y2_E_INDEX, ENABLE)
    #endif
    #undef _Y2_PINS
    #define _Y2_PINS Y2_STEP_PIN, Y2_DIR_PIN, Y2_ENABLE_PIN,
    #define Z2_E_INDEX INCREMENT(Y2_E_INDEX)
    #else
    #define Z2_E_INDEX Y2_E_INDEX
    #endif

    // The Z2 axis, if any, should be the next open extruder port
    #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
    #ifndef Z2_STEP_PIN
    #define Z2_STEP_PIN _EPIN(Z2_E_INDEX, STEP)
    #define Z2_DIR_PIN _EPIN(Z2_E_INDEX, DIR)
    #define Z2_ENABLE_PIN _EPIN(Z2_E_INDEX, ENABLE)
    #endif

    Sorry but I don’t have a clue or understand what to alter here

    #5537

    ruggb
    Participant

    what you did was to assign pin 1 to the fan.
    That will work fine if the fan is connected to pin 1. If not you need to figure out what pin it is attached to and enter that there.
    I use this pin 4 (designated a servo pin) for my bed fans. My hotend fans are on all the time.
    #ifndef FAN_PIN
    #define FAN_PIN 4 // IO pin. Buffer needed
    #endif
    Also as it says above, you need a buffer as the pin doesn’t support fan loads.

Viewing 15 posts - 1 through 15 (of 30 total)

You must be logged in to reply to this topic.