Asked — Edited
Resolved Resolved by thetechguru!

Sabertooth 2X32 Operation

Hello Everyone,

I have been at my workbench reading all of the Sabertooth threads in the forum and for the life of me can not figure out how to get my sabertooth to do variable speed over the serial 9600 baud connection. Here's what I am trying to do.......

I am building an R2 unit and need him to drive in tank mode using a virtual joystick in my iPhone. The farthest I've gotten is connecting the Sabertooth per the tutorial and I did manage to get it to control the for directions but only in full speed. I guess what I'm trying to do is get the EZB to act like an RC controller. I ordered a kangaroo yesterday because I saw some of you have had success with it. I'm not a coder by any means, I'm much more mechanical in skill but I love working with the EZB and I don't want to take the easy way out and just go RC.

The threads I've seen so far are pretty fragmented because it looks like this has been figured out but not fully explained (dumbed down for someone like me. I am using the Sabertooth 2x32 at 24v powering two scooter motors for R2's foot drives and a Syren 10 for his dome drive also at 24v. I hate asking for help because I'm sure the answer is out there in another thread but for the life of me I can't seem to find it or understand it. stress

R2 is all aluminum weighing in at 160lbs so I don't want him flying into a crowd of people even though I do have a remote key fob kill switch. :D

Thanks for any help!

Douglas:)

User-inserted image


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#25  

Thanks Dave! I'll look into that!

#26  

Holy Smokes! I just noticed the new ARC has virtual joysticks now! Has any one used it with the Sabertooth yet? Variable speed controls?

#27  

not to my knowledge.. I quickly added it to my mobile app and played with it some but only got on/off movement. I didnt dig too deeply into it though.

I am experimenting with using rc car speed controls and programming them with PWM like a continuous rotation servo so that I can utilize the joysticks.

It basically would turn my R7 into a big Roli haha

Aaron

#28  

The virtual joysticks were just added last week. I think DJ only tested them with continuous rotation server Movement Panel and with servos (camera pan/tilt).

May need some tweaking to work with H-Bridges.

Alan

#30  

I managed to get the joystick working with my Sabertooth 2x32 using simplified serial at 9600. Variable speed controls are still not there. I cheated and adjusted the ramping within Describe in order to "feather" the foot drives and decreased the top speed limit. Overall, it works well but you have to get used to driving it. I will say that the all stop works great when you let go of the joystick. Everything comes to a solid stop.

I am waiting on dimension to restock the kangaroos because I believe they will help me achieve variable speed control since I installed encoders on my foot drives and dome drive. Fingers crossed!

In regards to the joystick working with my Syren10, it works beautifully when controlling in R/C mode. Variable speed spin is awesome and the joystick is very precise on the center stop.

All in all, I love this upgrade. If I can get the Sabertooth 2x32 to do variable speed over serial I will be delighted! I want my R2 to be able to be autonomous and I can't use any cheats to do it.

User-inserted image

#31  

@DJ Sures - just saw your reply. We were posting at the same time. lol

Anyway, thank you for the link! I'll look at your script when I get home! I can't wait to get this bad boy up and running.

User-inserted image

User-inserted image

#32  

I use a kangaroo/syren10 for my dome motor and it works great. you will super happy with it!:)