Author Topic: Motor Control, Would This Work?  (Read 2808 times)

0 Members and 1 Guest are viewing this topic.

Offline robotcoderTopic starter

  • Full Member
  • ***
  • Posts: 53
  • Helpful? 0
    • www.RobotCoder.com (underconstruction)
Motor Control, Would This Work?
« on: July 20, 2009, 10:33:32 PM »
Would it be possible to control a wheel chair motor with a dimmer switch for speed control and a 3 way switch for forward and backward movement.  If it were possible, then couldn't you have a servo flip the switch from forward to reverse and another servo turn the dimmer switch nob for speed control?

Offline sonictj

  • Supreme Robot
  • *****
  • Posts: 416
  • Helpful? 11
    • Tim's Workshop
Re: Motor Control, Would This Work?
« Reply #1 on: July 21, 2009, 02:19:03 AM »
It may be possible but you are on the verge of a Rude Goldberg. I'd suggest a simple motor driver.  I assume you are trying to avoid the cost of a motor driver, but I think in the end you will find it a better solution.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Motor Control, Would This Work?
« Reply #2 on: July 21, 2009, 06:44:32 AM »
Would it be possible to control a wheel chair motor with a dimmer switch for speed control and a 3 way switch for forward and backward movement.  If it were possible, then couldn't you have a servo flip the switch from forward to reverse and another servo turn the dimmer switch nob for speed control?

I've seen this system work. I'd still go with a more electronic solution.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Motor Control, Would This Work?
« Reply #3 on: July 21, 2009, 06:53:09 AM »
yup, i would suggest something such as a transistor+relay hooked up to a digital pin on your microcontroller...
or better yet, a motor controller controlled with pwm! that would replace the whole circuit!
not to mention being more reliable than the mechanical counterpart...

please have a look into this. you would need a microcontroller for both, and the electronic solution seems an easier path.
Howdy

Offline coolshawn92

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #4 on: November 03, 2010, 03:45:18 PM »
Code: [Select]
yup, i would suggest something such as a transistor+relay hooked up to a digital pin on your microcontroller...
or better yet, a motor controller controlled with pwm! that would replace the whole circuit!
not to mention being more reliable than the mechanical counterpart...

How would this work with just a motor controller controlled with pwm? I am looking to try to control motor shaft direction using a controller and not a motor driver.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Motor Control, Would This Work?
« Reply #5 on: November 07, 2010, 11:11:18 PM »
Quote
yup, i would suggest something such as a transistor+relay hooked up to a digital pin on your microcontroller...
or better yet, a motor controller controlled with pwm! that would replace the whole circuit!
not to mention being more reliable than the mechanical counterpart...
How would this work with just a motor controller controlled with pwm? I am looking to try to control motor shaft direction using a controller and not a motor driver.
It wouldn't, unless the controller has got an in-built driver. A motor driver is what goes between a controller and a motor to put out the needed current.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline coolshawn92

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #6 on: November 08, 2010, 02:24:16 AM »
Quote
It wouldn't, unless the controller has got an in-built driver. A motor driver is what goes between a controller and a motor to put out the needed current.

I have a motor driver and a controller. The motor runs fine with the 50 A controller, but I am looking to change the direction of the shaft using my motor driver and controller. Can this be done?  Like a a way to wire the circuit so after or before the motor goes through the controller it knows what direction to turn.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Motor Control, Would This Work?
« Reply #7 on: November 08, 2010, 03:40:07 AM »
Hi,

A little hard to say when you don't give the make and model of the driver/controller.
Didn't the equipment come with a manual?
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline coolshawn92

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #8 on: November 08, 2010, 09:42:23 AM »

Quote
Didn't the equipment come with a manual?

No, they just came with a piece a paper showing each component of the board.

Here are the links to the devices on sparkfun.com

http://www.sparkfun.com/commerce/product_info.php?products_id=9950

http://www.sparkfun.com/commerce/product_info.php?products_id=9668

http://www.sparkfun.com/commerce/product_info.php?products_id=9107

Thank you

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Motor Control, Would This Work?
« Reply #9 on: November 08, 2010, 10:43:09 AM »
Hi,

No, they just came with a piece a paper showing each component of the board.

Here are the links to the devices on sparkfun.com
You can download datasheets from SparkFun.


http://www.sparkfun.com/commerce/product_info.php?products_id=9950
This is just a microcontroller board.


http://www.sparkfun.com/commerce/product_info.php?products_id=9668
This one seems to be unidirectional - a DPDT relay that can handle the current could make it bidirectional.


http://www.sparkfun.com/commerce/product_info.php?products_id=9107
This one is bidirectional.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Libraoct7

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #10 on: November 08, 2010, 11:04:32 AM »
Ok I just built the $40 Line Follower. All lights are glowing but motors are not working. No current coming to the motor wires. Could this be a problem with the controller I got. I used L293NE. Is there a difference between L293D and L293NE?
Please help me this is my first project for my school and there isn't time left to hand in the project. Thanks to all.

Offline coolshawn92

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #11 on: November 08, 2010, 01:16:32 PM »
Yes, they I know the Motor driver is bidirectional but I also need the motor controller to limit rpms of the motor's shaft. I was just wanting to know how to connect the motor driver and controller together so I can limit the shafts speed and using both directions.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Motor Control, Would This Work?
« Reply #12 on: November 08, 2010, 04:18:05 PM »
Yes, they I know the Motor driver is bidirectional but I also need the motor controller to limit rpms of the motor's shaft. I was just wanting to know how to connect the motor driver and controller together so I can limit the shafts speed and using both directions.
Perhaps it would be a good idea if you clearly defined what you call the motor driver and what you call the motor controller.
You have one (Arduino) microcontroller board, one (15A) H-bridge motor driver and one (50A) unidirectional motor driver and I am not sure I follow what it is that you want to do.

It wouldn't hurt either, if you downloaded and studied the datasheets for each of them.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline coolshawn92

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Motor Control, Would This Work?
« Reply #13 on: November 09, 2010, 05:32:40 PM »
I have just discovered that I will not be able to interface the two (or at least that I don't know how). I am now looking for other options. Since being able to change the direction of the shaft is more important, I have decided to just stick with the motor driver 15 A. But the RPMs are just too great. Is there a way to decrease the output voltage and hopefully that will slow down the rpms?


Thank you for your time.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Motor Control, Would This Work?
« Reply #14 on: November 11, 2010, 05:50:30 PM »
Hi,

But the RPMs are just too great. Is there a way to decrease the output voltage and hopefully that will slow down the rpms?
Yes, use PWM for the output and you can control the speed.
If the motor RPM is much higher than you need, gearing down might be better, but PWM allow you to have as good as any speed between 0 and max. RPM.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here