
sereandrei
Romania
Asked
— Edited
Hy all,
I am Andrew from Romania , i have a ez-robot platform and a Zumo Robot from Polulu. The Zumo robot came with a H-bridge - DRV8835.
I dont know how to set it up. I know how to connect the motors, but i dont know how to set it up in ARC . Excuse my english. h-bridge from Polulu
There are a lot of details on the Pololu site
I don't have time at the moment to describe it clearly but when I get home I will if nobody else chimes in with the answer
First step is to look at the tutorial Different board but should be same concept and last 45s shows ARC controls configuration that you can follow.
H-Bridge
Hiya , There are several variations of this little robot kit. You have a challenge here which is a very small size. Its 10cm x 10cm that's 4 inches. I will copy in a couple pics of what I believe you have too. Let me know if you have something different.
PDF data sheet..
My understanding that he needs the steps of how to control it using ARC as he mentioned that he knows how to connect the motors.
The phase pins are the same as signal pin in our h bridge tutorial. The enable is the same as enable in the tutorial , you can attach this to a pin with pwm control to adjust speed. To make a robot drive straight the pwm for motor A and motor B may be slightly different. Just adjust accordingly. The VCC pin is the power supply positive to the logic controller and VM is the voltage supply positive. These two can be the same wire. Ground of course is ground to battery on both sides. Lastly is the motor hookups. They are labeled Aout 1 which just means motor A output number 1. 1 is the red pos wire of motor a and Aout2 is black ground wire of motor A. Repeat for Bout1 and Bout2. leave mode empty, that's a special feature pin for stepper motors.
leave VIN empty as the data sheet does not label or describe its function.
Yes that is my understanding too since he gave the link to the technical info.
So, since I have the time to play now, let's give it a go
Nice and easy, it looks like it will work the same as the TB6612FNG Motor Controller
Assuming D15, D16, D17 and D18 can be used.
Signal from D15 to BIN2 Signal from D16 to BIN1 Signal from D17 to AIN2 Signal from D18 to AIN1 Ground from D15 to GND VCC from D15 to VCC
Battery +ve to VIN Battery GND to GND Motor 1 +ve to AOUT1 Motor 1 -ve to AOUT2 Motor 2 +ve to BOUT1 Motor2 -ve to BOUT2
VMM left disconnected Mode left disconnected
In ARC add a 4-wire H-Bridge Set the 4 ports to D15, D16, D17 and D18 - you will have to play around with which is which. I assume D18 first down to D15. You can Merge this file I've already set up, just merge the 4 wire h-bridge control panel.
Please post back any feedback you have so I know if it worked or not.