Anyone with ramps an dualextrusion here? Where do you connect the pins?

Anyone with ramps an dualextrusion here?
Where do you connect the pins? Or do you have one of these shields for thr fan? I mean the printcoolingfan.

In configuration hhb need configure a pwm pin for this use and attach on it a simple tip120. Currently I’m out of house can’t help too much . How marlin u use?

@Mauro_Manco yes i use marlin. Maybe you can look it up when at home?

i have marlin setup in an EEB configuration (extruder0, extruder1, bed) for the 3 mosfets. and both my hotend fan and my layer fans are connected to 12v constantly.
since i either use the layer fan during the entire print, or not at all i have a small on/off switch soldered to the layer fan on my wire split board.

i’ve also added a sliding wall to my layer fan so i can constrict fan flow if i need it to be lower, but i can’t remember the last time i’ve used it. for the filaments i’ve used (pla, petg, abs, nylon, tpu, pc, etc…) it’s either on or off the whole print.

@Tom_Keidar yeah ok but id like gcode control over my fan

I have an expantion board for upto 5 extruders for RAMPS. Allows you to use EFB mode.

ok - yeah, everything was mixed in my head… have not looked at this for a long time.
looking at the schematics - it looks like d4, d5, d6 (where the “servo” pins are) are all hardware pwm pins, so you can use them and connect a mosfet.
to control them - looking at reprap’s gcode guide, it looks like you can assign any pin a value with M42, e.g: if you have the mosfet connected to pin 5 it’d be M42 P5 S[0-255]

sorry @VolksTrieb 'i’m there… ok if use RC version of marlin open pins_ramps.h and on
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define HEATER_1_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN

need add define of fan pin
#define FAN_PIN 4

that permit to use D4 output (in servo connector) pwm to pilot a transistor as tip120 or little (fan no want too much powers) as switch .

fast and rude schema.
missing/deleted image from Google+

@Mauro_Manco thx. Yeah have some lightweight mosfets here that wont use much switching energy. Thx for the help sir!