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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#17  

Not sure why but I am able to make the controller do what I want (rotate the torso clockwise and counter clockwise using a single motor) by assigning two joystick buttons as follows: button 2 down command: PWM(D7, 11) up command: PWM(D7, 0) for clockwise and button 4 down command: PWM(D7, 4) and up command: PWM(D7, 0) for counterclockwise.

Thanks for everyone's input.

#18  

@Gwen, are you going to be able to meet your Halloween dead line (lol, I crack myself sometimes..... dead line, Halloween)? Anyway blush , I wanted to have my B9 ready for Halloween 2 years ago and havent met my dead line yet. Maybe next year.

I hope you take lots of vids and pics and share them with us.

Dave Schulpius

#19  

Dave, I WILL meet the deadline... lol... But I will have to settle... I'll be sure to have the camera rolling... :)

Gwen:D