Part cooling fan
I am using ramps 1.4 set to operate two extruders and I wish to incorporate a part cooling fan in repertier..
I have also bought the RRD fan extender. Would somebody be gentle enough to explain to me what needs to be changed in the firmware to be able to activate the fan via machine code in the program. There is a lot of instructions over the internet but in repertier its a bit scant. Hope it can be done.
Many thanks in advance.
Comments
#define FAN_PIN 4
#undef FAN_BOARD_PIN
#define FAN_BOARD_PIN HEATER_1_PIN
#define BOARD_FAN_SPEED 255
#define BOARD_FAN_MIN_SPEED 0
#define FAN_THERMO_PIN -1
#define FAN_THERMO_MIN_PWM 128
#define FAN_THERMO_MAX_PWM 255
#define FAN_THERMO_MIN_TEMP 45
#define FAN_THERMO_MAX_TEMP 60
#define FAN_THERMO_THERMISTOR_PIN -1
#define FAN_THERMO_THERMISTOR_TYPE 1
#undef Z_MIN_PIN
#define Z_MIN_PIN -1
your M42 example was for pin 11. using M42 on a fan pin will not work as the fan control we directly disable it. You should compare where you out the extender on and ramps pin layout to see whcih pin numbers are possible. Maybe you are using a different extender or pace to connect it to.
#define FAN_PIN 11
#undef FAN2_PIN
#define FAN2_PIN 6