Question about ground (first robot) and dual H bridge

Hi everybody,

I finally built my first robot, loosely based on the start here tutorial and obviously I have tons of question.

This is the motor driver I am using : http://www.geekonfire.com/wiki/index.php?title=Dual_H-Bridge_Motor_Driver

and in the examples the ground of the motor driver is not connected to the arduino's ground.

Is it correct ? Or should I anywway connect both grounds together ?

Also I have a question about the batteries,

I am sorry about that I read a lot about on the forum and I am just more and more confused.

Currently the arduino is powered with 6x1.5v (9v) and the motors with 4x1.5v, which is a lot of batteries I think.

Can I connect both the arduino and the motor driver on the 6x1.5v pack ? I my dual H bridge good enough to handle that ?

Thank you

Yaniv


Thank you I understand

Thank you I understand better how to connect them together now, I have yet to experiment all these ideas.

I wonder if I can also power the motor driver directly from the arduino, instead of the other way around, as Maxhirez suggested.I tried to connect the arduino’s 5v pin  to the vms and both ground together, but the results were not so good.

I have a bug, I am not sure why it’s happeining, I think I connected the servo straight to the 6v battery(I plugged it to the vms and grnd)  and now it is acting weird, whit another servo it seems to work fine. I will have more experimentation to make to be sure of what is going on anyway.

@Oddbot, I was refering to the first example concerning 2 dc motors connected to the motor driver unit.And the robot has been working quite well until know without connecting the grounds together.I will use 7.2v Nimh, I found out they are standard rechargeable betteries and should be easy to find.

I have some of these and will buy some more (6 should be fine) : http://dx.com/p/gp-1-2v-2700mah-ni-mh-rechargeable-aa-batteries-2-pack-41118

Not sure it is the best place to ask, but I’d like to add a camera to the robot, if possible something cheap to begin with, I would be glad if you could share some link to tutorials concerning cameras and transmission to the computer…


Thank you so much