Asked — Edited
Resolved Resolved by Rich!

Help Controling Diverse Electronincs H Bridge

Hi Folks,

I want to use my Diverse Electronics motor controller for torso rotation on my B9 robot. I have it connected using 1 signal wire from port D1 on my EZ B V3 to the 'ch1' input on the Diverse Electronics controller. I want to use joystick #2 on a game controller that currently is configured to control my Sabertooth 2x25 via joystick #1 (controlling the Sabertooth movement panel). Trouble is I have no idea what the 'min' and 'max' values in the joystick #2 configuration panel mean and why the torso rotation motor moves erratically when I experiment with them OR if I should be using 'X' AND 'Y' OR 'Multi Servo'.

Heck I'm not even sure if I am connected to the DE controller correctly (dont know if it can even make use of serial data, etc). When I used this controller before with my Futaba RC unit, I hand channels 1 and 2 connected and it worked great with the joystick on the Futaba RC unit. I can't find the documentation for the DE controller and they seem to be defunct.

Anyone know how this controller works? Can it use digital data? Can I configure joystick 2 to make it operate in both directions? (full on, reverse, full on would be fine).

Do I need to control it using two digital ports? OR one or two analog ports? If I need to use the analog ports cant they be addressed from the joystick configuration panel?

I'm so lost... I've been working a lot and have pulled a few all nighters to get the G-Bot reconfigured for Halloween and just have not had time to try and learn more about this stuff (fell asleep each time I started so far... lol).

Feeling a little stressed right now. My Son is looking forward to seeing the G-Bot patrolling outside and interacting with trick or Treaters and I am a bit worried I may have bitten off more than I can chew (at least in that time frame)...

Any help is appreciated as always...

Gwen

User-inserted image

stress stress stress


ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

#10  

I just set the joystick #2 control on the to N/A and added a PWM control and set it for D1 (the port connected to ch1 on the MC7.

When I played with the PWM slider, the torso rotation motor initially began to turn. As the slider went up, the SABERTOOTH activated and the robot started to spin in circles like one drive motor was full on. I had to tackle it and pull the power. Yikes!

The sabertooth is connected ONLY to D0. How might that be happening? Is feedback possible?

#11  

Feedback is certainly possible, particularly on the V3. You might want to try a port further away from D0.

Important question, are all of your grounds shared? They need to be or you can get very off things happening.

I would suggest when testing something new, you unplug other things, particularly things that can be dangerous like wheelchair motors capable of driving 300 pounds at 20mph;)

Alan

#12  

Grounds are all common. Unplugging the drive controller definitely sounds like good advice...

#13  

I believe that port d0 defaults to high (5 volts) at start up.

United Kingdom
#14  

All ports should be low until changed to high through scripts or controls.

#15  

On my v3 boards d0 is always high at startup. I think its been mentioned by DJ before. I think there was no other way around it. I have gotten into the habit of not using d0.

#16  

Yeah, on a V3 d0 is different to make it compatible with an H-bridge that EZ-Robot sold before the current one. I don't know about being high at startup, but I do know it can sw d serial at a highr rate than the other ports, and I think some other differences too.

Alan