need help controling motors w/joystick
·····Im wanting to know how, if at all i can control two drive motors
·with directional control and speed control for a robot i am working on. Im shure it will use rc time and pwm but i cant figure out how to connect the two. Im using a joystick 2 axis with four buttons. The pots. for the axis control are centered half way through the travel, so there is no direct relationship between rctime and pulse width.
······························································ Please help,
································································ Nick
·with directional control and speed control for a robot i am working on. Im shure it will use rc time and pwm but i cant figure out how to connect the two. Im using a joystick 2 axis with four buttons. The pots. for the axis control are centered half way through the travel, so there is no direct relationship between rctime and pulse width.
······························································ Please help,
································································ Nick
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
http://www.parallax.com/dl/docs/article/Roboto.pdf
it's an example using the transmitter/receivers and two pots for joysticks, using RCTIME.
You may need to create your own since wheelchair motors are power hungry (most commercially availible motor controllers are designed for smaller motors). The basis of controlling a DC motor is called an H-Bridge, this is nessesary because you want to be able to make the DC motor go both forwards and backwards. Google the term to get more information on how they are constructed and basic method of operation. I am presently in the early stages of designing an H-bridge to run 24V motors (though I don't know if I will design it to handle as much current as you require), take a look at this post and pay particular attention the the schematic posted by Beau, you'll want something along those lines (a total of 4 of them, two for each motor). To obtain speed control you will need to PWM the current flowing through the bridge, this is either done by an extra transistor which supplies Vdd to both branches of·the bridge, or PWMing the input to the bridge itself.
Lets defer the details of how the joystick will modify the speed of the motors for now, because you will need to buy or create the motor controller first.
Can you provide any details on the actual motors? Frequently they will have specs printed right on the motor itself. If there are none, I think you can assume that each bridge will have to be able to handle 15A since the 30A fuse would account for both motors.
Once you understand the basic principles of H-bridges we can work on finding some suitable transistors to use in the bridge, if you decide to make your own. I have fair experience in this area, but others such as Gunther have more knowledge about a wider variety of transistors (he recomends IGBTs, which are too expensive for my application but may be better suited for your application (they are around $8 apiece, which you'll need 8 of), but don't worry about this as of yet).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Here is a company which offers quality motor controller specifically for wheelchairs and robots which use wheelchair platorms as a base:
http://divelec.tripod.com/
Additionally, their motor controllers are built with a joystick interface capability, and they offer the necessary schematics and parts for completing the entire system:
http://divelec.tripod.com/html/interface_circuits.html
The JCSC interface shown above is the one which is probably the most appropriate for your application.
I have used a number of their products and have been very happy with ther performance. They're also real nice folks to deal with, and will be happy to answer any questions you may have about their products or how to apply them. Just for the record, I have no affiliation with this company, I'm just a quite satisfied customer.
Regards,
Bruce Bates
Post Edited (Bruce Bates) : 8/26/2005 12:57:39 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10