Please note: the forum is closed.
No new user registrations are accepted. For more info, please click here.
No new user registrations are accepted. For more info, please click here.
[Working] Automatically turn on the hotend cooling fan when hot.
I am trying to set the extruder cooling fan to turn on when the extruder reaches a certain temperature. This is how you do it:
******************************************************************************************************************************
******************************************************************************************************************************
// Extruder cooling fans // Configure fan pin outputs to automatically turn on/off when the associated // extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE. // Multiple extruders can be assigned to the same pin in which case // the fan will turn on when any selected extruder is above the threshold. #define EXTRUDER_0_AUTO_FAN_PIN 11 #define EXTRUDER_1_AUTO_FAN_PIN -1 #define EXTRUDER_2_AUTO_FAN_PIN -1 #define EXTRUDER_3_AUTO_FAN_PIN -1 #define EXTRUDER_AUTO_FAN_TEMPERATURE 50 #define EXTRUDER_AUTO_FAN_SPEED 255 // == full speed
If your board only has one FAN port then you must #undef FAN_PIN
and #define EXTRUDER_0_AUTO_FAN_PIN
to that pin.
In a nutshell FAN_PIN
is the blower fan, EXTRUDER_X_AUTO_FAN_PIN
is the cooling fan for cold part of the hotend.
************************************************************************************************************************************
The pinout shows the fan pin as PA1 and it is located at the mosfet. Can someone show me exactly where this is on the board? And if anyone has tried this does it work?
Post edited by eyes on
Comments
I put the full pinout on the wiki: https://jgaurorawiki.com/a5s
Thank you.
I'm sorry to keep asking but I don't see how to determine from your pinout diagram where each pin is on the board. I don't know how to figure that out from the datasheet either.
Thank you again for your help.
I have never used it but I wonder if one of the pins on sram could be used for the filament runout sensor? I may go ahead and solder an extra pin for possible future use. Who know what other cool features may be hiding in Marlin 2.0!
Thank you again!
and this relay https://www.amazon.com/gp/product/B07L6JXGXV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
or if want more than 2 this one. https://www.amazon.com/gp/product/B07GBS62GX/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
The DC converter input is connected to the 24V power supply. You then adjust it so it outputs 3.3V - this matches the output of the pin used on the board. You will need to solder a wire to pin PG2 on the SRAM. The out put from your buck converter attaches to the VCC and GND on the relay- positive to VCC and negative to GND. Then the wire from pin PG2 connects to IN. The other end of the relay is where you connect your fan.This is the fan that plugs into the white 2 pin connector labeled 24V. This plug will be left unused when you are finished. We will use the COM and NO connections on the other end of the relay.You will need to cut the plug off of your fan wire and strip the ends. Connect the black wire to negative on the power supply. Connect the red wire to the NO on the relay. Then connect another wire from the positive on the power supply to the COM on the relay.
Next you need to edit configuration.adv.h:
Find
and change it to
This is where you set the auto on temperature if you want a value other than 50C
Compile and upload and your fan will be quiet until your hotend reaches 50C. After your print it will turn off once it goes below 50. If you have your printer on most of the time like me you will appreciate a silent printer when not in use!
I will post photos when I get a chance. I put my printer back together and forgot to take pictures!
Howdy, Stranger!
RegisterIt looks like you've been lurking for a while.
If you register, we will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!