I have an old Max v2 that I recently upgraded with an E3D v6 Volcano hot-end, and I also added an extruder-motor cooling fan and a new EZR-Struder. In the past, my extruder motor got so hot it would melt PLA during longer prints, or when using larger nozzles, and with the Volcano and the finest nozzle I now own is .6mm (and I have up to 1.2mm), I fully expect that motor to need cooling. Hence the fan.
I wired the motor cooling fan to the Fan-1 slot in the RAMBo (v1.3), which per the wiring diagram codes to Pin 6. I want that fan to be on whenever the EXT0_EXTRUDER_COOLER is active. I changed the Configuration.h file to define
Code: Select all
#if MOTHERBOARD == 301 #define EXT0_EXTRUDER_COOLER_PIN 7 #define EXT0_EXTRUDER_COOLER1_PIN 6 //This is the extruder motor cooling fan
For simplicity, I could wire the fan to 12V and run a switch to it like I have for some LEDs. I'm trying to learn to code a little so I can eventually do some programming with my kiddo, which is why I'm taking the more complicated route.
What is the simplest way to made this second fan turn on and off with the extruder cooler in Repetier.ino file? I have started a C++ course online to try to help, but am an absolute beginner to programming and it's mostly still Greek to me.
Is there a way to go through the code and either define the EXT0_EXTRUDER_COOLER in a way that activates both pins PIN [6,7] as an array (??), or of adding a line somewhere where all the calls to turn on the Extruder Cooler activate both fans?
Any help is appreciated!