Go to Post "I don't have a cockroach in my presentation.... " I will remember this line forever. Thank you Autodesk. - Zyik [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 07-12-2005, 15:04
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: VEX motors question

Here's the proof I believe the Vex Motors use PWM for speed/direction control as well.

Quote:
Originally Posted by IFI
Yes you can reverse the direction of a motor in your User code. This is how the default code makes one motor spin CW and another motor spin CCW for the same joystick movement. See the line in our default code that has the comment “ // reverse direction of left side (CCW) ”.

You can not send the same value “255” to 2 different motors and have them spin in different directions. The value of 255 is converted into a PWM pulse of a certain width. This pulse width is sent from the Vex Micro Controller to the Vex Motor, where it is decoded by the Vex Motor into a direction and speed. Therefore; the pulse created from a value of “255” will always be decoded into the same direction and speed by ever Vex Motor.
I found this at http://www.vexlabs.com/forum/viewtopic.php?t=18
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 12:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi