
Mulberry

Afternoon All
I just upgraded to the latest EZ software and now all of my H-Bridges no longer work. None of the ports or settings were changed and I've checked and current no longer flows to the motors (12 volt) when direction is activated. This has happened before when I've updated. My ultimate solution was to disconnect everything and rebuild. I really hate to do this each time.
Has anyone encountered this and if so what were you solutions?
Thanks,
Daniel
Daniel
Re download and re install ARC... reboot and then reload your project... Still, my guess it is a connection or power problem since you have had these type of issues a few times previously....
No current flow to motors is usually caused by the EnA and EnB pins not receiving a signal (PWM/On/High).
Check the power supply to the H-Bridge(s) and confirm correct voltages
If used, check the +5v to the H-Bridge is receiving 5v or if using the on board regulator check the button is pushed.
Check both EnA and EnB are being set to high before trying any movement logic.
Check In1, In2, In3 and In4 are correctly receiving logic (easily test this with an LED between In1 and Ground, In2 and Ground etc. it should illuminate when set to high).
Check the motors are connected to Out1, Out2, Out3 and Out4
Check voltages at the Out terminals to eliminate any wiring faults.
I'm running one 12 volt motor with a Pololu H-bridge (I'm not using the ones sold by EZ because of the heavy load so no LEDs) on a single EZ board in my leg section. I used an H-Bridge control with built-in PWM. I'm pretty confident the Pololu is wired correctly because it worked earlier.
I'm betting I somehow screwed up my port settings although I can't imagine how. I'm attaching an image.
Daniel
If your sure you didn't change any settings, it might be worth trying something which is not too hard to do. Start a new project and import all of your controls/scripts ect from your existing project in to the new one. I had an issue with something not working correctly with something a while back (not H-Bridge related), and it did the trick. Like I say, it's worth giving it a shot and you have nothing to lose by doing so. Or open a new project, confirm your wiring is correct and there are no lose connections, and just add what you need to test the motors and H-Bridges. As has been said though, the update should not have effected anything like what your currently facing.
Also, did you try an ARC re-instal that Richard suggested?
And I agree with rb550f that something doesn't look quite right with the setup. Also curious why you have left and right channels if you're only using one motor.
EDIT:
One last thing to check. You say you use multiple v4's in your B9 build. If you haven't done so already, check to make sure all the boards are connected and make sure one is not disconnecting for some reason.
I'm not using custom code but totally relying on the EZ controls (I'm a newbie so coding is in the future).
Haven't tried a re-install. I'd like to save that as a last resort because I have other components set up and running successfully.
So that choice of a two motor H-Bridge controller was a fluke. I happen to choose that one when I first set up the system. Ironically I was able to get it working with the help of other board members. I did try setting up the standard H-Bridge with independent PWM but was never able to figure out the appropriate port settings.
I'm now thinking rather than try and fix this perhaps I should start from scratch on this motor control and go with the regular H-Bridge controller. Taking that approach:
If my wiring of the Polulu H-Bridge should be valid given it worked before.
And if my connections on the EZ board are appropriate (in the image attached).
What should my port settings be?
What port settings
As for the wiring, as you are only using one motor in your example mentioned above, I'd say use ports D0, D1 for triggers and D2 for PWM on either the left or right triggers and PWM (maybe someone could confirm that), as you don't need to use both left and right triggers and PWM's to control one motor (left triggers for left motor, right triggers for right motor).
And make sure you are using board 0 for your H-Bridge movement panel, as it won't work on another board (shouldn't be a problem though as you said you didn't change anything). Go brought all of the suggestions one by one to eliminate possible causes, and report back with what you have tried and with what results.
Can I ask, what model pololu H-Bridge are you using?
I was using this combination before I switched over to Sabertooth/Kangaroo and it worked great for me.
If your still considering replacing the Pololu H-Bridge with the standard one sold by EZ Robot I think that would be a mistake. While the one sold here is good the Pololu is much more robust. If I remember correctly the Pololu your using is protected from fly back voltage and will handle the higher amp load your waist motor is puling. Could you let me know again what model H-Bridge you have and what waist motor your using? Is it a single motor h-bridge or double? Are you sure there are no LED's to show you have a direction signal? I know there are a couple Pololu models that don't have them.
If all you did was upgrade your ARC software there should be no reason why the motor controller you were using shouldn't keep working. Did you change anything else, add anything or move any wiring or connections around? Please, before you start taking everything apart and rebuilding:
Triple check all your connections and trace out all your wiring to see they go to the proper places or haven't come loose or disconnected or broken somehow.
Use your multi meter and Make sure you have continuity from contention to connection on each wire.
Make sure you have a common ground between the EZB controller and the H-Bridge.
Make sure all your ports you have your enable pins on the H-Bridge attached to on the EZB correspond to the ports you have set in the controls or scripts in ARC.
Make sure you set a PWM speed in ARC for the port you want to enable on the H-Bridge before you enable it. Without a PWM speed set the H-Bridge will think you want zero speed and not send the proper voltage pulse to the motor.
Use your volt meter to monitor the voltages to make sure your getting the proper voltages where they should be. Disconnect the motor from the H-bridge and measure voltage on the motor output to see if you have voltage there when you enable PWM Speed and the movement command. This voltage is measured between the output pin and ground and will vary depending on the PWM speed setting you choose. Then measure for voltage (between this pin and ground) on the enable pin on the H-Bridge to see if your even getting a signal from the EZB. You should get somewhere above 3 vdc or 5 vdc depending on the version EZB your using. If nothing there measure the voltage on the EZB digital port your connected to when you send a command. All this will tell you if you are getting the signals to the proper places.
Please keep me posted on your progress. If possable post some good pics of your connections, wiring and a link to your ARC project.
Good luck.
Again I appreciate all the help. Someday this behemoth will come to life.
D. Scott