Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Encoder assistance needed (http://www.chiefdelphi.com/forums/showthread.php?t=34970)

phillutz 19-02-2005 11:53

Encoder assistance needed
 
Here are a few lines from Kevins encoder readme.txt

Quote:

Five things must be done before this software will work
correctly on the FRC-RC:

1) The left encoder's phase-A output is wired to digital input
one and the phase-B output is wired to digital input six.

2) The right encoder's phase-A output is wired to digital input
two and the phase-B output is wired to digital input eight.
...
In other threads it says to wire the hall effect sensor (4 pins) to pwm (3 pins) with pins 3&4 together.

This nets one sensor and only one pwm connection.
1. Is this Phase A or Phase B?
2. Where do I find the other?
3. Or how is this physically wired.

Thanks,

Phil

Mr. Lim 19-02-2005 12:44

Re: Encoder assistance needed
 
Phil

The navigation code is meant to be run with an encoder, not the Hall Effect sensors.

Encoders will have Phase A and Phase B outputs, whereas your hall effect sensor will only have one output.

To use the Hall effect sensor instead, you will want to use only Phase-A, and then modify the Interrupt Handlers to not check the Phase B output, but to check the direction of the PWM output associated with that hall effect sensor.

Sorry if this is rather vague, but hopefully it will help.

-SlimBoJones...


All times are GMT -5. The time now is 04:40.

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