Ok, first off, the red cord running from the 9V battery gives the entire rail running parallel to the red line power. From there, a small green wire connects power to the left side of the transistor. The middle prong of the transistor runs to the arduino pin 13 (though from the bad camera angle it looks like it runs to ground). A cord connects the right side of the transistor to underneath the car and to all the motors (which can be seen in the second picture below the first one) and then resurfaces on the left side where it connects to the ground rail. The ground rail runs to the ground of the battery and a 1k resistor connects the ground rail to the ground of the arduino. (I think this might be where I am going wrong)
Then, the arduino is running this code
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
So in theroy, the arduino should turn the motors on for 1 second and then off for 1 second continually. But I am getting nothing. If I connect the middle prong of the transistor straight to the power rail, the motors turn on. So I figured maybe the arduino wasnt giving it power, but I hooked up my multimeter inbetween pin13 and the middle prong of the transistor and it does give off 5 volts. I thought maybe 5 volts was not enough, so I hooked up 3 1.5v batteries to test it, and with only 4.5v provided from the batteries, it was enough to make it work.
I have no idea what else to test. If you guys have any ideas, please let me know!

