
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.
Thanks for any help!
Douglas
I have serial control of speed on the todo list - in the meantime it is HBridge/PWM or Servo
No sure if you can do this in a mobile app (since I never use the mobile app feature) but you can do a "make shift" crude speed controller for the sabertooth in ARC by using the custom Movement Panel and two slide scripts.... Using variables to represent the two channel speed of the sabertooth you can simply use the 2 slide scripts to change the speed on the sabertooth when needed... One of the best things about ARC is that there is usually always a work around...
Wow! Thanks guys!
@DJ - I can't wait for that to do listing to come to fruition!
@Rich - I am a code novice. Would you mind expanding on what a slide script/motor value is? Sorry for the newbie question.
@dbickert .... There is really not much coding involved but I will try and whip an example together in a day or two and post it here...
Cheers
Thanks Richard! I appreciate your assistance.
Has anyone tried the new Serial controls for a Sabertooth? I really really really want to switch to the EZB from my Mega for driving R2.
I have
works exactly like you would hope! no more on off switch haha
I am still running a PC in my droid with a Xbox 360 joystick
Aaron
Hi Aaron!
That's awesome news! I really like the Sony Nav controller. I'm hoping there is a way to get Windows to recognize it for the EZB.
By on off switch, so you mean he now stops when he loses contact with the controller? He would take off before.
Thanks man!
Doug