Marlin with: MKS GEN 1.4 + TMC2130

3D Modelling, Slicing, Hosts and Management
mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Mon Jan 08, 2018 3:49 am

Ahh, I am going to try it that way! Fans should be in this week. I will watch his video...and you know me! I will come with questions!!

oakdesign
Posts: 109
Joined: Thu Jun 15, 2017 10:21 am

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by oakdesign » Mon Jan 08, 2018 5:47 pm

That's the section in Marlin configuration_adv.h to enable the controller fn feature and set Pin D5 as signal pin

Code: Select all

/**
 * Controller Fan
 * To cool down the stepper drivers and MOSFETs.
 *
 * The fan will turn on automatically whenever any stepper is enabled
 * and turn off after a set period after all steppers are turned off.
 */
#define USE_CONTROLLER_FAN
#if ENABLED(USE_CONTROLLER_FAN)
  #define CONTROLLER_FAN_PIN 5  // Set a custom pin for the controller fan
  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
#endif
Opa's bester Rat: Probieren geht über Studieren, Grandpas best advice: the proof of the pudding is in the eating

mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Mon Jan 08, 2018 10:10 pm

Thanks!!! That makes it easier... I will report back...

mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Tue Jan 09, 2018 1:18 am

Okay, couple of questions as far as this auto fan...

One, at 5v, it doesn't blow too hard... can we switch it to 12v? If using more than one fan, do I hook them up in parallel in the same pin or add another pin to the code? And finally, does it have to be a fan with 3 wires? The one with 2 wires just run continuously.

On a different but similar topic, I saw just below this feature that you can set up the hotend fan to turn off if the extruder is not hot enough... that would be nice as well instead of hearing than fan going and going...and here, again, will be needed 3-wire fan?

: )

oakdesign
Posts: 109
Joined: Thu Jun 15, 2017 10:21 am

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by oakdesign » Tue Jan 09, 2018 9:46 am

Image

2 wire Fan if you want to control every fan on it's own use one IRF520 per device. They are les than 1$ per pcs. If you are using the pins D4,5,6,11 on the servo header these are all PWM capable so for the the controller fan for example you can set the value from
0 = 05 to 255 = 100% fan turning

Code: Select all

#define CONTROLLERFAN_SPEED 255        // 255 == full speed
Opa's bester Rat: Probieren geht über Studieren, Grandpas best advice: the proof of the pudding is in the eating

mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Tue Jan 09, 2018 10:19 pm

Nice!!!! And they will operate at 12V, right! Okay, will order a couple and play with it...

Thanks!!!

mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Sun Jan 21, 2018 2:05 am

Hey Oakdesign!

I got the fans to work! I actually hooked up the controller fans AND the extruder fan. So now the extruder fan goes off after the extruder goes down passed 50 deg. It is nice not having to hear the noise while not printing anything. The Titan Aero fan is mounted right no the cooling fins...

Thanks for all the help!!! I even got my SD to work!

I have a temporary board bracket and now have to design something more permanent to accommodate all the hardware!!!!
IMG_9775.jpg
IMG_9775.jpg (2.39 MiB) Viewed 1464 times

Take care and thanks once more!

mario.stoilov
Posts: 2
Joined: Tue Feb 06, 2018 5:59 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mario.stoilov » Tue Feb 06, 2018 6:19 pm

I have the same board and for some reason, my sensorless homing is not working. Motors spin in both directions, are quiet, get their current changed dynamically, but the moment I try to home, It just decides that its current position is the home (says that the endstop is there). If I disconnect the S on the endstop, it crashes in the printer (obvious result, but still :D).

Can anyone lend a hand?

mesnik
Posts: 42
Joined: Sat Dec 30, 2017 7:53 pm

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by mesnik » Wed Feb 14, 2018 8:21 am

Hi there,


I can't be of much help on this as I am not using the sensorless feature...


Sorry!!


But I keep an eye out here as I would be interested on that as well!!!

arminj
Posts: 1
Joined: Sat Mar 03, 2018 3:03 am

Re: Marlin with: MKS GEN 1.4 + TMC2130

Post by arminj » Sat Mar 03, 2018 3:18 am

Did you get the TMC2130's to work? Sounds like you did... Congratulations! I am trying to get some TMC2130's to work on MKS Gen V1.4 board, and, since you got yours running, am wondering if you could steer me in the right directions:

Did you solder the pad on the underside of the TMC2130 or leave it stock without any modifications?
Are the jumpers configured or left out?
How did you configure SPI?

I'm building a D-Bot CoreXY. I've configured and loaded Marlin 1.1.8, wired the RepRapDiscount Full Graphic Smart Controller (it works just fine) and the X and Y drivers to a couple of steppers. I'm not sure that I've got the TMC's set up correctly in Marlin. The steppers don't do anything--not even a sound. So I'm wondering whether I've configured the TMCs wrong or need to populate the endstop pins on the board before anything will work. Thoughts?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests