Welcome! Log In Create A New Profile

Advanced

Problem with Mosfets on RAMPS 1.4 board

Posted by doniboy 
Re: Problem with Mosfets on RAMPS 1.4 board
April 24, 2014 05:00AM
No, you just didn't give the right command.

M106 P0 S255 <- Turns on the FIRST fan
M106 P1 S255 <- Turns on the SECOND fan

Notes:
If you leave out the P command, P0 is ASSUMED.
If you leave out the S command, S255 is ASSUMED.

To turn off fans, you should use S0, so:

M106 P0 S0 <- Turns off the FIRST fan
M106 P1 S0 <- Turns off the SECOND fan
Re: Problem with Mosfets on RAMPS 1.4 board
April 24, 2014 07:25AM
Thanks for that Cefiar - I wasn't aware of that command. The previous problem though, was with board 35,which was switching the D8 output when the hot-end (D10) was commanded? Any ideas?


_______________________________________
Waitaki 3D Printer
Re: Problem with Mosfets on RAMPS 1.4 board
April 24, 2014 09:17AM
hey thanks for that command it will help a lot smiling smiley
I found this in the pin.h:

  #if MOTHERBOARD == 35
    #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller
  #endif
  #if MOTHERBOARD == 35
    #define HEATER_0_PIN       8
  #else
    #define HEATER_0_PIN       10   // EXTRUDER 1
  #endif

so it says that pin 8 (D8) is the HEATER or hot-end and pin 10 (D10) is a fan.
But I don't hink that is matters much if I use D8 for my hot-end instaid of D10, or will it?
As far as I can see the only difference is that D8 is on the second 12v supply and the MFR1100 fuse while D10 uses the 'normal' 12V supply and the MFR500 fuse.
Re: Problem with Mosfets on RAMPS 1.4 board
April 24, 2014 07:34PM
Well that explains a lot! Should be ok I would think - you are not using a heatbed anyway. Glad you spotted that in pins,- I don't use Marlin,so wouldn't have known about it.


_______________________________________
Waitaki 3D Printer
Re: Problem with Mosfets on RAMPS 1.4 board
April 24, 2014 11:30PM
It will work, and in some ways it makes a bit more sense.

D8 can handle a lot of current (up to 11A), whereas D9 and D10 are both lower current (they share the power with the motors on a 5A circuit).

Since out of 2 fans and the hot end, the hot end draws the most current, it makes sense to put it on the output that can supply the most current.
Re: Problem with Mosfets on RAMPS 1.4 board
April 25, 2014 04:02AM
that's what I thought!
I'm going to reflash the firmware on my MEGA and see if it works.
Re: Problem with Mosfets on RAMPS 1.4 board
April 25, 2014 06:51AM
You'll be printing this weekend! smiling smiley


_______________________________________
Waitaki 3D Printer
Re: Problem with Mosfets on RAMPS 1.4 board
April 29, 2014 01:33PM
hey,
I flashed the new firmware onto my arduino and now D8 is the hot-end again and D9 is a fan.
But I tried the command that Cefiar gave but it doesn't work confused smiley
I used this command:
M106 P0 S255
M106 P1 S255
Of course separate and not both commands at the same time.

So my question is: How DO I turn on the second fan?

I was also wondering how and if I can add or change the commands so that I can create my own command for turning on the second fan, a.k.a. D10
Re: Problem with Mosfets on RAMPS 1.4 board
April 29, 2014 02:15PM
update:
I just went looking into the firmware and found out that D10 turns on when the motors go on for a period of time.
so when the motors move, the fan turns on and blows onto the steppers drivers so that they won't burn hot smiley
Because I wanted to aim one of my fans towards the RAMPS board this is option will work just perfect for me smiling smiley
Re: Problem with Mosfets on RAMPS 1.4 board
April 29, 2014 05:51PM
You'll be fountain of knowledge by the time you've finished! smileys with beer


_______________________________________
Waitaki 3D Printer
Sorry, only registered users may post in this forum.

Click here to login