ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

PRO
Australia
#9  

From the LIPO battery suppied with the JD - 7.5v

PRO
USA
#10   — Edited

You have a wiring problem. You are lucky RoboClaw is a fine piece of hardware and software and can endure some user damage. I've damaged a few controllers due to fast browsing the manual, extra confidence or assuming specific behaviors.

you have 2 different power sources: Main battery Input: 6 to 34 VDC Logic Battery Input: 6 to 34 VDC

Logic battery is optional it's a nice feature to avoid losing the control when a brownout occurs.  Is optional in your wiring i see you don't have one, you don't need to look for a setting to disable.

Your controller does not have the LB-MB switch so the controller switches automatically between Main & Logic.

The next important detail is Controller Logic Level RoboClaw uses a BEC (DC/DC) to convert the power source (Main or Logic Battery) to 5 volts, 5 volts is TTL level used for input or output pins. The manual says the control supports 5v or 3.3v that means roboclaw will accept 3.3v as High value input when transmitting the TTL voltage is still 5V. If you connect your Roboclaw TX to a 3.3 controller RX (e.g. Raspberry PI, Arduino DUE) you can damage the other controller. You don't need to worry EZB4 / IotTiny are 3.3v and 5v tolerant, that means they will communicate 3.3v and will tolerate 5V response.

This is your controller:

User-inserted image

As documented in the manual those pins (red, black) carry 5v and GND. Your wiring is short-circuiting two different power sources 5v with 7.2v. You need to connect only the D5 e GND from the EZB

Let's hope the controller is not damaged...

PRO
Australia
#11  

Most of what you have explained I was aware of, so thanks for reinforcing. Your last point though is the key one which I was not aware of, i.e. the short-circuiting of the 2 power sources. But can you clarify "connect only the D5 e GND from the EZB"? Do I not connect the 7.2v wire from the EZB? Just the ground and controlling wires?

PRO
USA
#12   — Edited

Correct only the D5 and GND  remove the middle wire red (EZB VCC 7.2v),

PRO
Australia
#13  

OK. Straight away this has cleared the error message and my Init script spins the motors. That's a great step forward. Next I will play around with a custom Movement Panel and see if I can control the motors. Thanks for identifying the problem.

PRO
Australia
#14  

I should add this vital information as well...

Quote: Because the Sabertooth Control (useable for Roboclaw) handles two motors with one 8 byte character, when operating in Simplified Serial mode, each motor has 7 bits of resolution. Sending a character between 1 and 127 will control motor 1. 1 is full reverse, 64 is stop and 127 is full forward. Sending a character between 128 and 255 will control motor 2. 128 is full reverse, 192 is stop and 255 is full forward. Character 0 (hex 0x00) is a special case. Sending this character will shut down both motors.

Motor 1 Reverse should be set as 1. Stop should be set as 64. Forward should be set as 127.

Motor 2 Reverse should be set as 128. Stop should be set as 192. Forward should be set as 255.

#15  

Quote:

OK. Straight away this has cleared the error message and my Init script spins the motors. That's a great step forward. Next I will play around with a custom Movement Panel and see if I can control the motors. Thanks for identifying the problem.
I am pretty sure the simple serial protocol for Roboclaw and Sabertooth are the same.  I think you can use the Sabertooth control built into ARC rather than creating a custom Movement Panel (at least until you start using the position feedback capability).    There is another user who sometimes posts and he uses Roboclaw and I recall him saying they were the same.

PRO
USA
#16  

I agree with Alan. https://synthiam.com/Community/Questions/Robo-Claw-2x30-8968

@DJ you were correct

both Robotclaw and Sabertooth are rich controllers with a lot of features, I assumed the sabertooth control was specific for Sabertooth.

I just tested the control and checked the output:

User-inserted image

basically is the Simplified Serial mode post #14

Simple and plain, no black magic, nothing specific.

I would add more information about Simple Serial Protocol and i would mention RoboClaw controllers

Sorry guys, I assumed something without checking the control.