Forgive me if this is a stupid question. First time doing a build like this.
I'm building an RC car for a project in class. I can only use one 12V battery as a power source for both the arduino and the motor circuit (same as below only using two motors and an R3 UNO). The battery will power both the arduino, some components through the arduino, and this circuit. Is it still okay to connect the negative to the ground pin as shown?