Welcome! Log In Create A New Profile

Advanced

3 PWM Fans on RAMPS

Posted by Marty56 
3 PWM Fans on RAMPS
October 09, 2014 01:11AM
So, in Marlin, board config 35 corresponds to a RAMPS board where D10 is the extruder, and D9 and D8 are pwm controllable fans. Is there any easy way where D10 could also be treated as a PWM controlled fan in the firmware?

If this isn't easy to do, then by installing the reprap fan extender (http://www.geeetech.com/wiki/index.php/Reprap_Ramps1.4_RRD_Fan_Extender), would I be able to successful add another set of pwm controlled pins?
Re: 3 PWM Fans on RAMPS
October 09, 2014 11:07AM
Quote
Marty56
So, in Marlin, board config 35 corresponds to a RAMPS board where D10 is the extruder, and D9 and D8 are pwm controllable fans. Is there any easy way where D10 could also be treated as a PWM controlled fan in the firmware?
Are you looking to have D10 not be an extruder heater and instead just be a fan controller? If so, try hooking up a fan to D10 and using the gcode "M42 P10 Sx" where x is a value from 0 to 255. I've never tried it with D8-D10, but the M42 command controls other pins specified by the P parameter setting the PWM value to the S parameter.

Quote

If this isn't easy to do, then by installing the reprap fan extender (http://www.geeetech.com/wiki/index.php/Reprap_Ramps1.4_RRD_Fan_Extender), would I be able to successful add another set of pwm controlled pins?
Yes, although you already have the PWM pins. What you don't have is a way to use those pins to drive a higher current device. The fan extender allows a pwm pin to drive a higher current through a transistor. It also has some protection built in for inductive loads such as fans that could damage the microcontroller if you tried to drive the fan directly from the PWM pin.

Edited 1 time(s). Last edit at 10/09/2014 11:08AM by cdru.
Sorry, only registered users may post in this forum.

Click here to login