BasicMicro - Forums

www.basicmicro.com
It is currently Sun May 20, 2012 11:46 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Trouble w/Dual Motor Control Sabertooth Controller
PostPosted: Thu Aug 21, 2008 2:40 pm 

I am using Bot Board II with Basic Atom (I also have a Basic Atom Pro).
I hooked up a power supply to the Sabertooth S1 and S2 pins, separately.
With 0.0 VDC, I get full speed motor rotation.
With 2.5 VDC, The motor stops.
With 5.0 VDC, I get full speed in the other direction.
With smooth speed control in between.
I presume this means the motor controller is working fine.
My problem is that I cannot find a signal or a way to get 0 thru 5 volts to the control pins for S1 and S2.
I've tried bit, byte and word using a loop to send all values.
I've tried sending PWM as shown in the Atom manual.
I've tried HPWM as per the manual.
The motors start at fiull speed when I load a program. (I want them to be stopped).
My efforts above gave me some combinations that turned the motors, but nothing that matched the smooth responsre I get from straigh 0 to 5 volts.
What am I doing wrong?
How do I send 0, 1.5, 2.5, 4.0, 5.0 volts, etc. to an output pin that will work the motors?


Top
  
 
 Post subject: Re: Trouble w/Dual Motor Control Sabertooth Controller
PostPosted: Thu Aug 21, 2008 5:24 pm 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
Hi. I'm not familiar with the board you mention, but here goes...
Did you use the RC circuit shown on page 137 of the Atom Manual v3.2? You may have to experiment with the values. How much current must you supply? A large load will produce large ripple on this output, can't say how much. The circuit they provide will only source and sink 20mA or so. If this is just a reference for the board's control circuits, this should suffice. If this is actually supposed to drive the motors and you have sizable motors this isn't going to do the job. You'll have to feed the output voltage to a transistor of some type to achieve sufficient drive current.

You might want to post this question with the place you bought this from, if you haven't already. Perhaps they have a forum?

Please post your code for the PWM and HPWM you used.

'Luck with your project.
kenjj


Top
 Profile  
 
 Post subject: Re: Trouble w/Dual Motor Control Sabertooth Controller
PostPosted: Sat Aug 23, 2008 9:23 am 
DimensionEngineering makes the Sabertooth. I sent them a detailed email with a request for guidance.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO