|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Vex Encoders
Hi all,
My team is a little behind in the traction control area. So I have been coding away on an encoder based method. I seem to have run into a problem, i'm not sure how to set up the Vex encoder in the Open Encoder VI. Any help would be much appreciated Thanks, Charlie |
|
#2
|
|||||
|
|||||
|
Re: Vex Encoders
Here's an example:
|
|
#3
|
|||
|
|||
|
Re: Vex Encoders
Hmmm, it looks as though I have the old, nonquadrature model, any suggestions?
|
|
#4
|
|||||
|
|||||
|
Re: Vex Encoders
You can use what I showed with a single channel encoder.
Get rid of the second DIO and just wire the single DIO to both A & B inputs. Without quadrature the encoder will only count up as it turns in whatever direction, so you do have to be careful to trust it's output only when you are sure you are moving forward or backward. While sitting still it will probably start counting as the robot vibrates. You might want to program in a reset when you begin a move forward or backward. Last edited by Mark McLeod : 23-02-2009 at 16:19. |
|
#5
|
|||
|
|||
|
Re: Vex Encoders
Thanks so much!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encoders..... | manderson5192 | Programming | 4 | 07-02-2008 10:10 |
| Vex encoders/Interrupts | buddy.smith | Programming | 9 | 08-02-2007 08:01 |
| Vex navigation with ultrasonic and encoders | GlennGraham | Electrical | 4 | 13-01-2006 12:58 |
| VEX Optical Shaft encoders in FRC | sanddrag | FIRST Tech Challenge | 8 | 04-10-2005 07:52 |
| encoders | stephenthe1 | Programming | 61 | 09-02-2005 15:05 |