Hello,
I was hoping someone could provide me some advice on using the same battery to power my microcontroller as well as motors.
In the past I have used a 9V alkaline battery to power my microcontroller and used a separate 9.6V NIMH battery pack to power my motors. However, space is limited in my current project and I'd like to use just the NIMH battery pack if I can.
My concern is that the microcontroller won't get the +5V it requires from an LM7805 voltage regulator. Will the following circuit act as a voltage divider and provide all voltage to the motors and none to the microcontroller? Or can I expect a consistent 5V no matter if the motors are running or not?
+9.6V ---------------> LM7805 V. Regulator ------> Microcontroller (Expecting +5V)
|
|
|
|
------------------------------------> Motor Controller (Expecting +9.6V)
Many thanks in advance!
I was hoping someone could provide me some advice on using the same battery to power my microcontroller as well as motors.
In the past I have used a 9V alkaline battery to power my microcontroller and used a separate 9.6V NIMH battery pack to power my motors. However, space is limited in my current project and I'd like to use just the NIMH battery pack if I can.
My concern is that the microcontroller won't get the +5V it requires from an LM7805 voltage regulator. Will the following circuit act as a voltage divider and provide all voltage to the motors and none to the microcontroller? Or can I expect a consistent 5V no matter if the motors are running or not?
+9.6V ---------------> LM7805 V. Regulator ------> Microcontroller (Expecting +5V)
|
|
|
|
------------------------------------> Motor Controller (Expecting +9.6V)
Many thanks in advance!