Society of Robots - Robot Forum

Mechanics and Construction => Mechanics and Construction => Topic started by: soninja8 on January 12, 2013, 12:19:46 AM

Title: Steering with 12v motor
Post by: soninja8 on January 12, 2013, 12:19:46 AM
Its been such a long time since I have posted on here...anyways, I have this 12v electric motor that I took from an electric scooter, and I was wondering how I can use a regular servo to control the steering of the motor. I will be using a 12v lead acid battery to actually power the motor (I'm not stupid enough to use the 6v servo power LOL), but how would I limit the volts going to the motor so it can actually steer instead of going full to the right or left? If this question is too confusing please let me know!  :-\

*Project info*
I am making a gas powered "tank" that runs off of a 30cc engine, and is steered by a regular 12v motor. All this will be controlled by a regular rc servo controller (one servo controlling the throttle, one controlling the steering).
Title: Re: Steering with 12v motor
Post by: Tommy on January 12, 2013, 07:41:45 AM
Quote
can actually steer instead of going full to the right or left
soninja8,  Google "sabertooth motor controller"

Tommy
Title: Re: Steering with 12v motor
Post by: soninja8 on January 12, 2013, 12:36:26 PM
Thanks Tommy, since you suggested the sabertooth controller I have been trying to find similar ones at a cheaper price, but to no luck. Do you know of any dc controllers that can supply around 5-10amps under $30? Thanks!
Title: Re: Steering with 12v motor
Post by: jwatte on January 12, 2013, 03:33:43 PM
Its been such a long time since I have posted on here...anyways, I have this 12v electric motor that I took from an electric scooter, and I was wondering how I can use a regular servo to control the steering of the motor.

It sounds like you want to drive the steering rods using this motor as a servo.

A motor doesn't normally steer. For a motor to steer, you need to know where it is, and where you want it to be. (Servos you buy contain this system built-in.)
This means you'll need an encoder for the motor you use for steering, and a microcontroller that reads the sensor and drives the H-bridge to keep the motor turning to the place you want.
The Sabretooth controller does not have the necessary feedback to do what you need.


Quote
Do you know of any dc controllers that can supply around 5-10amps under $30?

Assuming you can find a suitable encoder for motor position, you may be able to use a "simple motor controller" from Pololu to get where you need to go: http://www.pololu.com/catalog/product/1372 (http://www.pololu.com/catalog/product/1372)
It's $34. I don't think it does the encoder feedback part without you adding a small microcontroller of some sort (Arduino, ATmega, or whatever.)
Title: Re: Steering with 12v motor
Post by: soninja8 on January 12, 2013, 09:44:53 PM
Your link does not work  :-\

And I'm just looking for a cheap dc controller that turns a motor forward and backward so I can steer, since it won't be anything fancy

Thanks!
Title: Re: Steering with 12v motor
Post by: jwatte on January 13, 2013, 01:42:31 AM
I fixed the link. The thing I linked to will do what you want, for cheaper than the Sabretooth. (Assuming you only need up to 7 amps continuous power.)

I still don't understand how "turning the motor forwards and backwards" will actually make you steer correctly. What is the mechanical hook-up of this motor? What do you do to make your robot go straight ahead?

If *all* you want to do is go backwards, or forwards, or don't go at all, then a simple H-bridge motor controller is even cheaper.
This one is $28 and does up to 9A continuous:
http://www.pololu.com/catalog/product/705 (http://www.pololu.com/catalog/product/705)

Title: Re: Steering with 12v motor
Post by: soninja8 on January 13, 2013, 12:38:03 PM
Thanks, I'm most likely going to get the 18v15 for future proofing.

And to explain what I'm doing: A 30cc engine will be powering the back wheels with a clutch and the throttle will be controller by one servo. For my steering I am using one electric motor controlled by a motor driver to move two bars that are connected to the front two wheels.
Title: Re: Steering with 12v motor
Post by: jwatte on January 13, 2013, 05:13:45 PM
Quote
For my steering I am using one electric motor controlled by a motor driver to move two bars that are connected to the front two wheels

Do you have any feedback there? If not, how will you be able to center the steering to go straight ahead?
Title: Re: Steering with 12v motor
Post by: soninja8 on January 13, 2013, 06:03:46 PM
I see what you're saying, but I will not need them to return to forward position, as the vehicle itself will not be going very fast and I will always have my finger on the control.
Title: Re: Steering with 12v motor
Post by: Tommy on January 14, 2013, 06:05:40 PM
Quote
For my steering I am using one electric motor controlled by a motor driver to move two bars that are connected to the front two wheels.
soninja8, have you considered spring loading the steering axle to a center position(straight), gear the one electric motor
in a way that it can overcome the spring force yet spring back to center when motor power is removed.

Tommy   
Title: Re: Steering with 12v motor
Post by: Mastermime on January 14, 2013, 06:52:31 PM
So you're trying to use Ackermann's steering, not tank style steering?  Or did I read that incorrectly?
Title: Re: Steering with 12v motor
Post by: soninja8 on January 15, 2013, 12:38:20 AM
Quote
For my steering I am using one electric motor controlled by a motor driver to move two bars that are connected to the front two wheels.
soninja8, have you considered spring loading the steering axle to a center position(straight), gear the one electric motor
in a way that it can overcome the spring force yet spring back to center when motor power is removed.

Tommy   

That's exactly what I'm thinking of doing, although I will have to either get a more powerful motor or gear it up. Also, I'm wondering how I could go in reverse since I am using an engine with a clutch.
Title: Re: Steering with 12v motor
Post by: Tommy on January 15, 2013, 06:51:00 AM
Quote
I'm wondering how I could go in reverse since I am using an engine with a clutch.

http://www.google.com/#q=go+kart+reverse+gear&hl=en&tbo=u&source=univ&tbm=shop&sa=X&ei=_E_1UK7bJcfX2QWOwoDwDw&ved=0CEYQsxg&bav=on.2,or.r_gc.r_pw.r_qf.&fp=260534c26339dbc2&biw=1356&bih=631 (http://www.google.com/#q=go+kart+reverse+gear&hl=en&tbo=u&source=univ&tbm=shop&sa=X&ei=_E_1UK7bJcfX2QWOwoDwDw&ved=0CEYQsxg&bav=on.2,or.r_gc.r_pw.r_qf.&fp=260534c26339dbc2&biw=1356&bih=631)


Tommy
Title: Re: Steering with 12v motor
Post by: soninja8 on January 15, 2013, 08:24:18 AM
Quote
I'm wondering how I could go in reverse since I am using an engine with a clutch.

http://www.google.com/#q=go+kart+reverse+gear&hl=en&tbo=u&source=univ&tbm=shop&sa=X&ei=_E_1UK7bJcfX2QWOwoDwDw&ved=0CEYQsxg&bav=on.2,or.r_gc.r_pw.r_qf.&fp=260534c26339dbc2&biw=1356&bih=631 (http://www.google.com/#q=go+kart+reverse+gear&hl=en&tbo=u&source=univ&tbm=shop&sa=X&ei=_E_1UK7bJcfX2QWOwoDwDw&ved=0CEYQsxg&bav=on.2,or.r_gc.r_pw.r_qf.&fp=260534c26339dbc2&biw=1356&bih=631)


Tommy

I did some further research on clutches with reverse functionality, but all require 80cc+...
Title: Re: Steering with 12v motor
Post by: Tommy on January 19, 2013, 05:53:57 AM
Quote
That's exactly what I'm thinking of doing
soninja8, just keep in mind, if the motor is spun by the springs it then becomes a generator
and may harm motor drive circuits.

Quote
I am making a gas powered "tank" that runs off of a 30cc engine
IMO the simplest way to implement this type of task would be to use the ICE to turn a generator
supplying power too electric motors(two, one for each track).   

Tommy