L293 HBridge only outputs 3V?

one thing i was unsure about, maybe that's it: do the arduino and the motor power supply have to share ground? currently the arduino only is connected to the bridge via pins 3 and 4, no gnd at all. should i try to connect motor and arduino grounds (similar to schematic for L298 below)?

http://www.pyroelectro.com/tutorials/l298_control/schematic.html

F