|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VEX motors question
Hi,
Why do the VEX motors have 3 wires? There are the positive and common leads, but what is the third for? Thanks, Jason |
|
#2
|
||||
|
||||
|
Re: VEX motors question
Quote:
|
|
#3
|
|||
|
|||
|
Re: VEX motors question
Hmm...that sounds like how a servo works. For a motor, isn't the PWM signal sent down the positive lead and returned via the common lead?
-Jason |
|
#4
|
|||
|
|||
|
Re: VEX motors question
Normally yes but the Vex motor has its speed control built into it, not built into the robot controller or external like an RC car or FRC robot. The robot controller generates some PWMs, and then some electronics within the Vex motor housing pulse the power on a larger scale, to drive the motor.
Last edited by sanddrag : 06-12-2005 at 20:21. |
|
#5
|
|||
|
|||
|
Re: VEX motors question
Ok, that makes sense. Thanks for the info guys.
-Jason |
|
#6
|
|||||
|
|||||
|
Re: VEX motors question
Quote:
Why would a VEX motor be any different? |
|
#7
|
||||
|
||||
|
Re: VEX motors question
Quote:
![]() As far as I can tell the Vex controller can control motors or servos in either port, so its a small leap to say it uses PWM to control motor speed using wire 3 as signal, otherwise you'd have to indicate motor or servo somehow. Did that make any sense? I'm tired... |
|
#8
|
||||
|
||||
|
Re: VEX motors question
it doesn't make any sense to me to use a separate cable for PWM when the power goes through the controller. I would simply mean needing extra circuitry in the motor that the controller already has.
Since in the code for the vex you specify whether you are using a servo or a motor I could see the third wire being nothing (if the motor doesn't have a feed back loop) for a motor and a feedback loop for the servo because a servo needs 3 wires. They simply used a third wire on the motor so it had the same connector and port. Just a thought, I don't know a lot about the subject but that makes more sense than have a separate PWM signal. |
|
#9
|
||||
|
||||
|
Re: VEX motors question
Quote:
|
|
#10
|
|||
|
|||
|
Re: VEX motors question
if you tried to control a motor directly with the vex controller it would suck enough amps through the poor dear to release all of its magic smoke.
if you take the back off of a vex motor, you'll find a little 8 pin pic on a circuit board that is impossible to pry out of the housing because the motor is soldered to the other side. also on the other side, (if you pry a lot, like i did), is a larger chip with many legs. i'm guessing this is a monolithic h-bridge. if the little 8 legged pic tried to drive the motor directly, it, too, would lose all its magic smoke. so, we've got an eight legged pic. that's certainly enough for power, (bet there's a regulator on that little circuit board, too), ground, three pins to control the h-bridge, and something left over for feedback from the motor so the little pic can say, "ok, if you give me a 1ms pulse i'm going to spin this thing at 100 rpm in reverse, if you give me a 1.5ms pulse i'm not going to spin it at all and if you give me 2ms i'll spin it 100 rpm forward." reckon i ruined that motor, too. Last edited by foobert : 07-12-2005 at 00:12. Reason: forgot how many pins you need to control an h-bridge |
|
#11
|
||||
|
||||
|
Re: VEX motors question
Here's the proof I believe the Vex Motors use PWM for speed/direction control as well.
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use motors | xmarufx | Motors | 9 | 02-08-2005 00:22 |
| 2 Globe Motors??? | ChuckDickerson | Motors | 18 | 25-01-2005 15:53 |
| PWM and burning out motors | patrickrd | Technical Discussion | 7 | 19-06-2003 15:30 |
| Looking for practice motors & extra tape drive parts? | archiver | 2000 | 1 | 23-06-2002 22:54 |
| Suppose you want seat motors... | archiver | 2000 | 0 | 23-06-2002 22:50 |