Go to Post I mean I am a pocket protector kind of guy. - techhelpbb [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2007, 15:23
karin l. karin l. is offline
Registered User
FRC #0449
 
Join Date: Jan 2007
Location: maryland
Posts: 8
karin l. is an unknown quantity at this point
encoder wiring

i would appreciate it if anyone could send me some links about the encoder and how to wire it. we have it pretty much set up, but it does not seem to be working. so i'm checking the wiring aspect of it and i am not sure if the motor should be attached to a victor or a spike.
  #2   Spotlight this post!  
Unread 06-02-2007, 17:30
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: encoder wiring

What model of encoder are you using?

Most FIRST encoders will have 4 pins (some have a 5th).

One of these should be labelled VCC in the datasheet, and should be connected to the red pin of a digital input port for power.

Another is labelled GROUND and should be connected to the black pin of a digital input port.

The other two are the signals for Channel A and Channel B. Each one should go into the white pin of a digital input (assuming you want to detect direction as well as speed).

If there is a fifth pin, it is most likely for index and you can ignore it.

A motor can go either to a Victor or a Spike. The Spike can only make the motor run full forward, full reverse, or not at all. The Victor lets you vary the speed of the motor as well. Which one you choose depends on the application. Note that big motors (like the CIMs, Fisher Price, or Globe) should go to a Victor with a 30A or 40A fuse - the Spike is fused at 20A, which is well below what the bigger motors can draw.
  #3   Spotlight this post!  
Unread 06-02-2007, 17:58
John Jenkins John Jenkins is offline
Registered User
FRC #0449
 
Join Date: Feb 2007
Location: Maryland
Posts: 1
John Jenkins is an unknown quantity at this point
Re: encoder wiring

Quote:
Originally Posted by Abwehr View Post
What model of encoder are you using?

Most FIRST encoders will have 4 pins (some have a 5th).

One of these should be labelled VCC in the datasheet, and should be connected to the red pin of a digital input port for power.

Another is labelled GROUND and should be connected to the black pin of a digital input port.

The other two are the signals for Channel A and Channel B. Each one should go into the white pin of a digital input (assuming you want to detect direction as well as speed).

If there is a fifth pin, it is most likely for index and you can ignore it.

A motor can go either to a Victor or a Spike. The Spike can only make the motor run full forward, full reverse, or not at all. The Victor lets you vary the speed of the motor as well. Which one you choose depends on the application. Note that big motors (like the CIMs, Fisher Price, or Globe) should go to a Victor with a 30A or 40A fuse - the Spike is fused at 20A, which is well below what the bigger motors can draw.
We are using this model of encoder (don't know how much that helps, I don't know as much about the electronics as Karen does, but I at least know which encoder we are using )

[edit] fixed the link so it links to the encoder details not the motor [/edit]

Last edited by John Jenkins : 06-02-2007 at 18:01.
  #4   Spotlight this post!  
Unread 07-02-2007, 00:14
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: encoder wiring

Wire the RED wire to the +5V pin (normally red) of a digital input.

Wire the BLACK wire to the GND pin (normally black) of a digital input.

Wire the BLUE wire to the SIG pin (normally white) of a digital input.

Wire the YELLOW wire to another SIG pin (normally white) of a second digital input.

This means that you will need all 3 pins of one digital input, and one pin (signal) from a second digital input.

Make sure that the BLUE wire goes into digital input 1 through 6; then, using Kevin Watson's encoder code (www.kevin.org/frc), go through the step-by-step instructions in the readme file to get it working. Remember where you plugged in each signal (blue and yellow) cable when you work through it.
Closed Thread


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
Encoder Wiring Quesiton evileye917 Electrical 2 15-06-2005 15:14
Encoder Hookup kutty18 Electrical 4 22-01-2005 12:17
encoder.c Gary Bonner Programming 2 14-01-2005 13:41
encoder vs. motor stephenthe1 Programming 55 06-01-2005 22:07
Wiring "3-pin" Shaft Encoder. Joel J Programming 7 27-02-2004 17:21


All times are GMT -5. The time now is 05:21.

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