RoboticsGeneral

Help with HCR Mobile 3WD Omni Directional Robot

userHead mominmehmood 2019-07-01 21:23:11 6940 Views4 Replies
Hello,

I am working with the following DF Robot kit:
https://www.dfrobot.com/product-1494.html

I am currently building the robot. I've assembled it with the motors and want to test that I am able to control them before I move on.
I received the DC Motor Driver 2x15A_lite along with the kit: https://www.dfrobot.com/product-796.html
The motors I have are FIT0403 12V DC Motor: https://wiki.dfrobot.com/12V_DC_Motor_1 ... U__FIT0403

The problem I have is that I am unsure of how to connect the three motors to the two motor drivers and the arduino. I followed the driver documentation and made the connections as it said. But the issue is that they dont tell you where to connect the digital control pins of the motors (sensor A and sensor B Volts).

Could anyone tell me how I can connect the motors with the arduino and the motor driver so that I can control them properly? I want to be able to create an obstacle avoiding robot which is why I am wanting to know how to control the motors properly.
2019-07-05 18:35:20 Did you just use the drive to control the forward and reverse of the motor? No encoder is connected. The motor is working? Or the trouble just with the encoder?
(The sample code in the driver board wiki can be used directly, the way the motor is connected: motor power and hall sensor power.)
userHeadPic techsupport
2019-07-02 17:37:11 Hi,

I do not understand what you mean. What do you mean by connecting the digital pins alternatively? As in changing the pins that it tells me to connect to in the documentation?
If so, that is not the problem. The problem I have is that the DC motors that came with the kit have 6 wires. The motor driver that came with it only uses two of those wires - external power. And I do not know how I should connect the other wires, especially the ones that control the encoders. Should they be connected to the Arduino or the driver?
I have connected the motors and the driver as shown in the documentation but it doesn't not work. I think the issue is the fact that I cannot control the motors when connected with the driver.
I am pretty new to this so I may have missed something obvious.
I would really appreciate your help in this.
userHeadPic mominmehmood