![]() |
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 |
Re: VEX motors question
Quote:
|
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 |
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.
|
Re: VEX motors question
Ok, that makes sense. Thanks for the info guys.
-Jason |
Re: VEX motors question
Quote:
Why would a VEX motor be any different? |
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... |
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. |
Re: VEX motors question
Quote:
|
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. |
Re: VEX motors question
Here's the proof I believe the Vex Motors use PWM for speed/direction control as well.
Quote:
|
| All times are GMT -5. The time now is 17:47. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi