Please note that the question in the post title is not intended as a challenge to the conventional wisdom, it is literally a request for explanations that can help me improve my current understanding. So this post is mostly a question about why certain things should or should not be done.
For example, I recently saw this comment by @LarryD in another thread:
Although this post is primarily about the first half of the above statement, I'm also curious about the blanket statement about never powering a motor from a 9V battery. Is it because common hobbyist DC motors are designed for operation at 3-6V, and a 9V supply would shorten the motor lifespan? Or is it because 9V batteries have unfavorable characteristics under current loads produced by a motor?
On to the big no-no: powering a DC motor from an Arduino. I understand that part of the concern is exceeding the maximum current limit for the Arduino power rail. But if that was the only concern, then it should be OK to power a small DC motor (stall current <1A) using something like an Arduino UNO R4 that is USB-powered (maximum current draw from 5V pin rated at 2A).
Forum search led to an old comment by @Robin2, stating:
*I inserted the word "no" into the quote above β as I'm fairly sure this is what was intended by @Robin2.
So the first of the two concerns raised in the above comment should not disqualify the use of the 5V pin, if the motor stall current is lower than the maximum allowed current draw. Thus, if that condition is met, then the primary concern seems to be "voltage spikes that a motor creates".
Can someone provide an explanation of this? Is this a just a reference to the induced voltage generated in the armature coil when switching the motor off? And if so, could this risk not be mitigated using a fly-back diode? Are there also other types of voltage spikes that one should be concerned about, and if so, what are they? For context, at this time, I am mostly interested in brushed DC motors, so I would like to learn about voltage spike issues in such motors.
A related question would be: are the same "voltage spike" concerns present if the motor were powered by proper power supply (not the Arduino), but one decided to also power the Arduino board using that same voltage supply?
I have more questions, but I'll wrap up the post for now. Again β I would like to stress that I am just seeking to better understand the rationale behind the various recommendations given. Technical explanations would be very welcome.
Thank you!
