makerbase-mks / MKS-Robin-E3-E3D

MKS Robin E3 E3D 32Bit Control Board 3D Printer parts with tmc2209 Uart mode driver For Creality Ender 3 CR-10
https://www.aliexpress.com/item/4000781744682.html
GNU General Public License v3.0
118 stars 97 forks source link

3 fans on robin e3 #129

Closed NilsHarald closed 3 years ago

NilsHarald commented 3 years ago

Can someone point me to any document on how to setup 3 fans? Hotendfan, partfan and boardfan. If there is a way to control them.

pauloeduardogodoy commented 3 years ago

I am really interested in this type of setup too!

mks-viva commented 3 years ago

@NilsHarald @pauloeduardogodoy Only add fan1,fan2 pin define in pins_MKS_ROBIN_E3_common.h file and connect external MOS module Add pin define

#define FAN1_PIN   PC4  //Open: M106 P1 S255, Close: M107
#define FAN2_PIN   PC5  //Open: M106 P2 S255, Close: M107

MOS module: https://www.aliexpress.com/item/32824688674.html

pauloeduardogodoy commented 3 years ago

Why MOS modules are necessary to connect simple fans? This approach looks a little bit overkill...

mks-viva commented 3 years ago

Because FAN signal is control N channel MOS, so, need MOS modules

bevanweiss commented 2 years ago

@pauloeduardogodoy it's because the Robin E3/E3d only have a single output connector configured with MOSFET for PWM control of fan So if you want more than 1 fan controlled by PWM, then you need to take one of the digital low current IO pins, configure it for output, and then feed that to a MOSFET so that you don't burn up the output pin. The output pins are not capable of supplying more than a few mA, this is enough to drive a FET, but definitely not enough to drive a fan. Hence you need something like the MOS module. You could just use your own custom PCB with a small SOT-23 FET on it...

If you were using a 5V fan, then you could use the 5V rail from the three pin plugs, like the neopixel, then switch the FET with the digital output. The adapter board could be quite 'neat' then. If you're using a 12V / 24V supply for the fan, you'd need to reference the GND/0V of it back to the Robin E3/E3d GND also.