BS2 and the Sabertooth 2x25 w/ simple serial?
$WMc%
Posts: 1,884
Hello All
·I'm looking for some help talking to the Dimension Engineering·Sabertooth 2x25, using simple serial.(why can't this be as simple as the HB-25)
If anyone out there·is familiar with· the D.E.2x25 H-bridge motor controller I could really use some help!
Its the SEROUT command that I'm having trouble with from the BS2e.
The D.E. docs spec that a "character" of 1-127 will control M1 and 128-255 will control M2. Where 64 is the center "off" position for M1 and 192 is off or center for M2
I've been working on this for a while and I'm lost!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
·I'm looking for some help talking to the Dimension Engineering·Sabertooth 2x25, using simple serial.(why can't this be as simple as the HB-25)
If anyone out there·is familiar with· the D.E.2x25 H-bridge motor controller I could really use some help!
Its the SEROUT command that I'm having trouble with from the BS2e.
The D.E. docs spec that a "character" of 1-127 will control M1 and 128-255 will control M2. Where 64 is the center "off" position for M1 and 192 is off or center for M2
I've been working on this for a while and I'm lost!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Jim
Edit: You might want to try Baudmode 6 ,(38.4K - Non-inverted mode), or 16390 (38.4K Inverted Mode). Post Edited (hover1) : 5/25/2010 2:23:37 PM GMT
I have added rem statments to the code to show what its doing. This is the easyest way for me to explaine it.
hover1
The Dimension Engineering Docs were to large to attch even when zipped. But thier are dip swicth settings for differnt Baud rates with the sabertooth 2x25. I have choseing 2 and 4 down for 9600 Baud. 2, 4, and 5 down from what I see would be 38400Baud. Am I miss reading the Docs for this setting?
The Docs say if Your haveing problems slow the Baud rate. This is why I'm at 9600 Baud.
Thanks for the replys and the help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
according to the docs 1,5,6 on if you are using Lipo batteries and 1,3,5,6 if you are using any other type of battery for 9600
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Post Edited (Franklin) : 5/26/2010 1:16:00 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Jim
Thanks for the feed back. I have tried your suggestions but none have worked, I get the same results. I rang-out the DIP switches,this is really the only thing I can check on the board "1,3,5,6 are on (1.2 ohm) and 2,4 show OPEN LOOP, their off." The lower part of the board is covered with a heat sink,glued or epoxied on. One last thing to note is the only thing that I can get to work reliably is two 5kohm pots. With the right DIP switch setting the two pots work great on M1 and M2.
I have tried PWM,SERVO,SERIAL none of these work right. I wonder if this unit isn't defective?
Thanks for Your time and interest in my post!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.·
You can control it using servo pulses just like the HB-25 using "Mode 2".
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
Thanks for the reply, But no I can't. I can get one motor to some what behave,But the other does what it wants. It might run, It Might not.
I have swapped S1 and S2, Same results. I have swapped M1 and M2, Same results. This was using SERVO commands. They work great on the HB-25 and I was using two of them. The motors I'm using now are 24Vdc so I can't use the HB-25's that I have for this project.
I really think I have a defective part. I'm in the process of contacting Dimension Engineering. No E-Mail response yet. I will try by phone tomorrow.
Thanks for Your reply!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.·
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
I would love to see an HB-50 @ 24 volts with a 100% duty cycle. A dual HB-50 (HB-2x50) with serial input would be even better.
I talked to Dem.Engineering Friday,All of the main techs were off of coarse. But I did speak with someone from the warranty department. He felt the unit was
defective after I explained all of the test I ran, It might be a cold solder joint somewhere on the M2 side. I'll post the finding after I talk to them again on Tuesday.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.·
I just got off the phone with Dimension Engineering. They tested the Sabortooth 2x25 and it was indeed defective. Their gonna send me a new. As my luck would have it their out of them right now and its gonna be a week or so before they can ship. So for now its hurry up and wait.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
want speed?·want·to use the Propeller?·want to stay with BASIC___www.propbasic.com___
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
·
I finally got my replacement Sabortooth 2x25 unit from Dimension Engineering. I tested it with "simple serial" an "servo inputs" and the motors
ran like they should.
I ran a battery of test on the Sabortooth, and the motor controller never got hot or really warm for that matter. I was impressed there.
The motors heated up a little, But I had them at near stall speeds in the tests I ran.
'
This driver isn't as smooth as the HB25 and it needs a little more overhead code, But if You need that last little bit of power, I think its a good investment.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
want speed?·want·to use the Propeller?·want to stay with BASIC___www.propbasic.com___
You can feel stupid by asking a stupid question or You can be really·stupid by not asking at all.
·