Hi,
I've tried reading posts on this, but couldn't find a complete answer (or maybe I just couldn't wrap my head around it), so apologies if this has been covered before.
I have a circuit which has 12V input, going through a LM2596 DC-DC regulator to step down to 5V. The 5V power line, then goes on to power the arduino (along with other 5V components) and some stepper motors (28BYJ-48 5V).
When the motors are active, the power line (after the LM2596) drops to 3.3V close to where the ULN2003 driver board is connected causing the motors to be underpowered. Closer to the LM2596, the voltage is closer to 5V but does still drop a bit.
How could I stablise the power line so it is 5V consistently even with the motors running?
Whilst I can turn up the LM2596 output (i.e. to 6V which means the motors run closer to 5V when active), the problem then is that this would be too high for the Arduino and other 5V components attached.
For the moment I have it connected through Vin pin instead of the 5V pin on the Arduino (so it goes through the regulator), which solves the Arduino power if I do have the LM2596 set to be higher than 5V, but the other 5V components connected to the breadboard then are at risk unless I add another linear regulator along the way.
Could I maybe add a capacitor instead of setting the LM2596 to a higher voltage to maintain 5V to the motors?
If that is viable, how would you work out the capacitor value to maintain 5V to the motors?
I've included a quick png of the basic hookup at the moment. I haven't included all the 5V components but they would be connected to the breadboard power rails.
Appreciate any advice or input
Thanks