I am making a project where I will be using two different motors.
One is a 6V DC pump motor and the other is a servo motor. The two motors are not supposed to operate at the same time. The user will first select one and only one of them operates at a time.
The buttons here are used such that if the user presses the 1st button the servo rotates clockwise, and if they press the 2nd one it rotates ccw. I have tried designing a circuit where both of them are connected to the Arduino. The circuit is as follows:
Would this circuit work as I imagine?