Controlling Power Supply and powering Mega Vin March 24, 2015 08:44AM |
Registered: 10 years ago Posts: 13 |
Re: Controlling Power Supply and powering Mega Vin March 24, 2015 10:19AM |
Registered: 11 years ago Posts: 869 |
Yes. The Vin pin is the same pin that power would be supplied via the 12V-5A power input to the RAMPS board. You need to remove D1 however as you'd be backfeeding 12V via the 5VSB line when your power supply is on. The barrel connector is how I power mine via 5VSB.Quote
KealanOCarroll
Firstly, am I right in thinking the +5V pin on the Mega is on the board side of the voltage regulator, whereas the Vin pin is regulated down to 5V and then outputted onto the 5V line?
...
I'm thinking if D1 is on my board I can leave it in, since I'm wiring onto the forward side of the diode anyway, so my +5V won't back-feed the RAMPS.
Alternatively, I can put the +5V switched via S1 into a barrel connector and put that into the Mega power jack, which will go into the regulator and then power the board? This may be a more elegant solution than soldering a line under my stepper drivers onto D1.
Does the XBox power supply need the PS_ON wire to go HIGH? ATX power supplies require it to go low/grounded. Just double checking.
It should.Quote
And will powering up the mega give the LCD power and allow me to navigate the menus and switch PS_ON ?
Re: Controlling Power Supply and powering Mega Vin March 24, 2015 11:16AM |
Registered: 10 years ago Posts: 13 |
Quote
cdru
Yes. The Vin pin is the same pin that power would be supplied via the 12V-5A power input to the RAMPS board. You need to remove D1 however as you'd be backfeeding 12V via the 5VSB line when your power supply is on. The barrel connector is how I power mine via 5VSB.
Does the XBox power supply need the PS_ON wire to go HIGH? ATX power supplies require it to go low/grounded. Just double checking.
Quote
KealanOCarroll
And will powering up the mega give the LCD power and allow me to navigate the menus and switch PS_ON ?
It should.
Re: Controlling Power Supply and powering Mega Vin March 24, 2015 11:20AM |
Registered: 10 years ago Posts: 13 |
Re: Controlling Power Supply and powering Mega Vin March 24, 2015 11:45AM |
Registered: 11 years ago Posts: 869 |
No. The MEGA board has a diode in line with the barrel connector that will prevent backfeeding.Quote
KealanOCarroll
Just to clarify, does the D1 Diode have to be removed for powering the Mega via the barrel connector ?
Most boards should have it. It's located right on the dividing line between the X and Y stepper driver headers, just below the capacitor for the y stepper.Quote
It may be missing from my board as is, I haven't checked...id like to be sure to be sure though
Re: Controlling Power Supply and powering Mega Vin March 25, 2015 03:54AM |
Registered: 10 years ago Posts: 590 |
Re: Controlling Power Supply and powering Mega Vin March 25, 2015 07:20AM |
Registered: 10 years ago Posts: 13 |
Quote
enif
Why not feed the 5V from the PS via a Schottky diode (such as 1N5817) to the 5V (e.g. VCC pin on RAMPS) of the Arduino Mega? This way the voltage drop would only be about 0.3V compared to the almost 1V loss if you go through the linear 5V regulator of the Mega.
Re: Controlling Power Supply and powering Mega Vin March 25, 2015 12:16PM |
Registered: 11 years ago Posts: 869 |
Warning for anyone who does this that you're tying the input power directly to the 5V rail that runs the microcontroller. You're bypassing the polyfuse that the USB connection uses, and the current limit of the regulator that also has thermal protection. You could easily draw more current than what the board normally would allow. Not saying you can't or shouldn't, just that there are risks.Quote
enif
Why not feed the 5V from the PS via a Schottky diode (such as 1N5817) to the 5V (e.g. VCC pin on RAMPS) of the Arduino Mega? This way the voltage drop would only be about 0.3V compared to the almost 1V loss if you go through the linear 5V regulator of the Mega.