
bigwildy
Hi Guys, My name is Chris and I'm a newbie here. I really like the ideas and projects going on and am after a little support. I'm using the EZ builder kit to develop my Omnibot 2000, which I recently rescued from the parental loftspace. I'm looking to re-use as much of the original parts as possible. As such I'm using the 2.5 Amp DC Dual Motor Controller to control the movement, using the H-Bridge controller in the software. That's great, and is working fine, and I also have the neck working too. I'm looking to control the arm movement with the original motors, and to that end have connected up a TB6612FNG, following the great tutorial here. But I'm struggling to get this working. Would i use an H-Bridge controller in the software for this? I've had a play around, and just can't seem to get it working. Also, you're only allowed 1 of these anyway, so would need to think of another way around. I'm pretty stuck, so any help would be greatly appreciated. Cheers, Chris
Please post your project and take a few pictures of your set up if you can.
To post your project use the "Attach File" down at the bottom right side of your window and "Browse" to your .EZB project file. Maybe if we can take a peek at it we can find an answer.
Your right, you can only use one movement control. You'll have to write a script that depend on variables or some type of feedback to move the arms.
Have you tried to change the Movement Panel settings that you have for the working h-bridge to point to the TB6612FNG that your trying to get to work? At lease this way you can see if it will move a motor.
Also start out by using a voltage tester on the motor side of the h-bridge and not a motor. This way you can first see if your getting the proper voltage you want. You'll also see if you have any other problems. Leave the tester hooked up and run the h-bridge through what you want it to do. You should see it go from 0 DC volts to + DC volts and then when you reverse you will see it go to - DC volts.
I think it's the TB6612FNG I use in my project to run the drive motors (I'm feeling too lazy to check).
You can control this with the PWM control or with PWM command in EZ-Script. You have 4 ports used for the HBridge, let's assume they are D0, D1, D2 and D3 for AIN1, AIN2, BIN1 and BIN2 respectively.
To move motor 1 forwards at full speed, you would set PWM on D0 to 100% either in the control or with a script and the following command
To stop it
The same for the other motor.