Arduino Uno: Problems with Serial.print()

The power comes from my computer via USB.

Yes you (at best) 500mA for every thing (Uno included). Try disconnecting the transistors from the uno and then run the code.

Mark