<p>First of all, I'm not talking on a first-hand experience: I don't own a RAMPS based printer.
If I were you and wish to be 100 % sure the setup you are describing doesn't blow up in my face I would use a spare pin on the Mega to drive the relay which, in turn, drive the 24 V source line. In terms of delay I would use a couple of seconds after power on: enough time to have the bootscreen completes and all the pins being set as per firmware configuration.</p>

CC BY-SA 4.0
2019-05-14T22:33:25.110Z
It's the other way around, the 24V have to be switched on first, but it's the same since I could switch the 5v with a relay. I'll consider doing this
Matias Gonzalez
CC BY-SA 4.0
2019-05-14T12:13:46.377Z
2020-10-05T17:48:24.663Z
2020-10-05T17:48:24.663Z
Roberto Lo Giacco
<p>I'm attempting to replace my DRV8825's with TMC2130's on a Prusa i3 rework clone, 12 V RAMPS 1.4, motor currents have been accounted for. Since they don't work as well with 12 V than with higher voltages, I bought a 10-50 V, 10 A DC-DC converter to power the drivers (and steppers). On the RAMPS this is done simply by taking the VM pin out and soldering it on the other side to draw power from an external source.</p>
<p>It is stated everywhere that VM should be powered BEFORE VIO. Would it be valid to switch on a relay with the DC-DC converter and connect the VIO pin to RAMPS 5 V through it? Is it enough having both sources turn on at roughly the same time? I haven't found any indication on how much time there should be in between (or if there needs to be any).</p>
<p>Please tell me your own experience if you have attempted something similar, or any alternatives (aside from buying a new board, because I'll eventually build a CoreXY or something else) that may be valid.</p>

CC BY-SA 4.0
2019-06-14T13:06:15.980Z
I think it's more of an issue for when you have the board powered from USB, firmware and drivers active, and *then* consider turning on the power supply.

I used pretty much the same setup for a while - a MKS Gen 1.4 board at 12V, a 12-36V boost converter to 24V, which then went onto the driver ICs.
I did solder a 100µF capacitor to each driver though.
towe
CC BY-SA 4.0
2019-06-14T13:42:32.840Z
@towe well, i did this almost a month ago, and yes, if you connect usb before turning the supply on then the drivers misbehave. But I'm happy enough, because I use a makeshift 6m USB cable that I didn't put the 5v line to anyways, so i only have this problem when I forget to turn the supply on and use another cable. I have it with the 50v 10a boost converter set at 36v (i could actually go higher, but my drivers are the high current type so it's nonsense) and a 2200uf electrolytic paired with a 1uf polyester for all of the steppers.
Matias Gonzalez
CC BY-SA 4.0
2021-03-04T20:56:51.807Z
I cannot find any such requirement in the datasheet. The only requirement that I can find is to power VCC before V_IO and/or 5VOUT, but this has nothing to do with the motor supply voltage.
Tom van der Zanden
<ramps-1.4><tmc2130>
TMC2130 External VM RAMPS 1.4
Matias Gonzalez
# TMC2130 External VM RAMPS 1.4

(Asked by: username_0 on 2019-05-13)

I'm attempting to replace my DRV8825's with TMC2130's on a Prusa i3 rework clone, 12 V RAMPS 1.4, motor currents have been accounted for. Since they don't work as well with 12 V than with higher voltages, I bought a 10-50 V, 10 A DC-DC converter to power the drivers (and steppers). On the RAMPS this is done simply by taking the VM pin out and soldering it on the other side to draw power from an external source.

It is stated everywhere that VM should be powered BEFORE VIO. Would it be valid to switch on a relay with the DC-DC converter and connect the VIO pin to RAMPS 5 V through it? Is it enough having both sources turn on at roughly the same time? I haven't found any indication on how much time there should be in between (or if there needs to be any).

Please tell me your own experience if you have attempted something similar, or any alternatives (aside from buying a new board, because I'll eventually build a CoreXY or something else) that may be valid.

**Tags:** ramps-1.4, tmc2130

> **Comments:**
> **username_1**: I think it's more of an issue for when you have the board powered from USB, firmware and drivers active, and *then* consider turning on the power supply.  I used pretty much the same setup for a while - a MKS Gen 1.4 board at 12V, a 12-36V boost converter to 24V, which then went onto the driver ICs. I did solder a 100µF capacitor to each driver though.  
> **username_0**: @username_1 well, i did this almost a month ago, and yes, if you connect usb before turning the supply on then the drivers misbehave. But I'm happy enough, because I use a makeshift 6m USB cable that I didn't put the 5v line to anyways, so i only have this problem when I forget to turn the supply on and use another cable. I have it with the 50v 10a boost converter set at 36v (i could actually go higher, but my drivers are the high current type so it's nonsense) and a 2200uf electrolytic paired with a 1uf polyester for all of the steppers.  
> **username_2**: I cannot find any such requirement in the datasheet. The only requirement that I can find is to power VCC before V_IO and/or 5VOUT, but this has nothing to do with the motor supply voltage.  

---

## 1 answers

### Answer by username_3 on 2019-05-14. Score: 1

First of all, I'm not talking on a first-hand experience: I don't own a RAMPS based printer.
If I were you and wish to be 100 % sure the setup you are describing doesn't blow up in my face I would use a spare pin on the Mega to drive the relay which, in turn, drive the 24 V source line. In terms of delay I would use a couple of seconds after power on: enough time to have the bootscreen completes and all the pins being set as per firmware configuration.

> **Comments:**
> **username_0**: It's the other way around, the 24V have to be switched on first, but it's the same since I could switch the 5v with a relay. I'll consider doing this  

---

