
EEGbiofeedback
USA
Asked
— Edited

Hello,
I tried connecting the EZ B v 4 to my 2x12 v1.0 Sabertooth and control it with the Sabertooth Movement control panel.
The robot is not responding consistently when I hit the up arrow as I demonstrate in the video below. It also doesn't respond consistently when I send it commands with EzScript either.
Here's my dip switch configuration:
It may appear in my video that I'm having that common ST issue of no common ground but I'm powering the EZ B with the ST's 5 volt BEC so I do have a common ground. I tested it with a ground wire going to the 0v from the BEC also and the problem remained.
The issue continues whether or not I'm running the motors at full power in my script.
Code:
:top
#forward Slow at 20% motor 1
sendserial(D0,38400,84)
sleep(500)
#forward Slow at 20% motor 2
sendserial(D0,38400,212)
sleep(5000)
#below stops motor 1
sendserial(D0,38400,64)
sleep(500)
#below stops motor 2
sendserial(D0,38400,192)
Goto(top)
I don't see anyone else has had this issue.
I haven't upgraded my EZB firmware since I bought the unit? I couldn't find a firmware update method in the tutorials also.
Thanks,
Bill
You may also want to try 9600 bps. I seem to recall some people had trouble at 38.4k.
There are no firmware updates for the EZ-B v4. There is an update for the WiFi chip. You need a programmer tool. See https://synthiam.com/Products/ARC that would not impact a Sabertooth though.
Alan
I just tried your 12v power to the EZB and with a common ground and that didn't fix the issue with the ST Movement Panel. That was a good suggestion though.
I'm not getting any error lights on the ST.
The code below with the 9600 baud rate also runs the motors inconsistently. I don't see any jumpers on the ST board or a dip switch configuration to change the ST to 9600 baud. I'm surprised the code below worked.
I don't see where to change the baud rate from the ST Movement Panel config screen.
Code:
Thanks much for the fast reply Alan!
Bil
I'll add an option to change the baud rate of the sabertooth movement panel
In the meantime, most ppl use the Custom Movement Panel to create scripts that use the SendSerial()
Running at 9600 baud rate
Dip switches
1 - on
2 - off
3 - on
4 - off
5 - on
6 - on
Code:
Give these settings a try and see if they work for you.
DJ's custom Movement Panel suggestion did the trick along with BjHouston's dip switch configuration for 9600 BAUD:
1 - on
2 - off
3 - on
4 - off
5 - on
6 - on
Cheers,
Bill