Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   How To Wire The Encoder (http://www.chiefdelphi.com/forums/showthread.php?t=71559)

JamesByrne 07-01-2009 23:58

How To Wire The Encoder
 
We have some Andy mark encoders and we have used them on the 2008 control system and systems in the past. Can anyone tell me how to plug them into the 2009 control system.

jee7s 08-01-2009 00:01

Re: How To Wire The Encoder
 
Essentially, you have the A-channel, B-channel, ground, and power terminals. So...supply the power and ground appropriately.

Unlike previous years, where interrupts were only available on certain pins the the PIC18, this year you get to pick the ports for each channel. Use the signal line and ground line of two 3-pin cables to attach the A-channel and B-channel to two GPIO connections on the digital side cars, select the appropriate pins when you program, verify operation...and you're all set.

eitang 09-01-2009 14:29

Re: How To Wire The Encoder
 
if i connect the encoder using all 3 connections (a channel,+,-) on one pwm cable and another cable just the b channel with out the + and - will it work?

morganh2550 10-01-2009 17:11

Re: How To Wire The Encoder
 
Quote:

Originally Posted by eitang (Post 796795)
if i connect the encoder using all 3 connections (a channel,+,-) on one pwm cable and another cable just the b channel with out the + and - will it work?

I don't think that will work.:(

jee7s 10-01-2009 17:41

Re: How To Wire The Encoder
 
Yes, you can use the red wire in the PWM cable to supply voltage.

You certainly need at least the ground and signal wires on both channels. This allows you to tie the grounds for each wire together at the encoder. The voltage supply should come from one of the two wires.

What you suggest will work, with one modification. Making the A channel PWM cable "fully wired" (i.e. +5, GND, and SIG all wired) works de facto. The B channel PWM cable should have the ground wire connected to the encoder ground, the signal wire connected to the B channel encoder wire, and the +5V wire terminated and insulated.

-Jeff

comwiz7 19-01-2009 12:56

Re: How To Wire The Encoder
 
Could someone make a simple diagram for wiring the encoder? I haven't been able to figure it out from this post and I can't find any documentation.

EricVanWyk 19-01-2009 13:15

Re: How To Wire The Encoder
 
This thread has confused me a bit...

On the digital side car's digital input/output header, the ground pins are all tied together and the power pins are all tied together. There is nothing to force you to use the power or ground pin that correspond to a given I/O pin.

You need to pull (at least) one power line, (at least) one ground line and the two signal lines over to the encoder. If you want to pull plural power or ground, you may do so.

I think the easiest method might be to use a 1x4 cable and using the extra two power and ground pins that are in line with the signal pins.


All times are GMT -5. The time now is 10:47.

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