Go to Post I'll admit that the events at Epcot were pretty nice, but they too had their problems. . . You were at the mercy of the weather, and Disney hasn't figured out how to control that yet. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 22-01-2005, 11:40
kutty18 kutty18 is offline
Registered User
#0234 (Cyberblue)
Team Role: Programmer
 
Join Date: Jun 2004
Location: Indianapolis, IN
Posts: 23
kutty18 is on a distinguished road
Send a message via AIM to kutty18 Send a message via Yahoo to kutty18
Encoder Hookup

Does anyone know what the left or right encoder's phase-A output is, and how do we wire up the 4 CA-3285-1FT Pin (supplied with encoders) into the Digital Input Panel? Thanks

Last edited by kutty18 : 22-01-2005 at 11:42.
  #2   Spotlight this post!  
Unread 22-01-2005, 11:47
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Encoder Hookup

A mechanical encoder typically has three pins: a phase A, a phase B, and a common. When wiring up an encoder to the RC, you would connect the phase A and phase B to two separate digital inputs, and then connect the common to +5. Optical encoders has a similar pinout, but with a connection for ground, too. Kevin Watson (http://kevin.org/frc) has an example of how to read an encoder in programming, but I'm guessing from the terminology that you used that you've already seen this code. I couldn't really understand what you were asking, but I hope that answers your question.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #3   Spotlight this post!  
Unread 22-01-2005, 11:58
kutty18 kutty18 is offline
Registered User
#0234 (Cyberblue)
Team Role: Programmer
 
Join Date: Jun 2004
Location: Indianapolis, IN
Posts: 23
kutty18 is on a distinguished road
Send a message via AIM to kutty18 Send a message via Yahoo to kutty18
Re: Encoder Hookup

Thanks! We're using optical encoders, and they came supplied with a four-wire cable. At one end, the cable is attached to a miniature 4-pin. The four cables coming off of the pin are yellow, brown
(possibly maroon), blue, and orange. We are trying to figure out where these wires need to connect to. Any ideas?

A picture of our encoder is available at: http://www.usdigital.com/products/s4/

A picture of the cable is available at:
http://www.usdigital.com/products/co...in-micro.shtml
(It is the second picture, the CA-3285-(length)FT)
  #4   Spotlight this post!  
Unread 22-01-2005, 12:03
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Encoder Hookup

See the picture on that first page? It says:

1: +5
2: A
3: -
4: B

Farther down the page, there is another picture and a table that reinforces this data. So, hook up two PWM cables to two different digital I/O pins (one should probably be one of the hardware interrupt pins, if you're using Kevin Watson's code). The reds go to pin 1, the blacks go to pin 3. One white goes to pin 2. One white goes to pin 4. On the other page, it shows you which side of the connector is pin 1, so you can identify which wire is which.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #5   Spotlight this post!  
Unread 22-01-2005, 12:17
kutty18 kutty18 is offline
Registered User
#0234 (Cyberblue)
Team Role: Programmer
 
Join Date: Jun 2004
Location: Indianapolis, IN
Posts: 23
kutty18 is on a distinguished road
Send a message via AIM to kutty18 Send a message via Yahoo to kutty18
Re: Encoder Hookup

Thank you very much! We really appreciate it. The thread can be closed, if needed.
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
Rotary Encoder (optical etc.) Gary C Technical Discussion 4 16-01-2005 18:23
encoder vs. motor stephenthe1 Programming 55 06-01-2005 22:07
Updated Encoder Code Available Kevin Watson Programming 2 04-01-2005 01:00
Choosing an Encoder for the Drive-train MikeDubreuil Electrical 11 21-10-2004 00:50
how to add steps in the provided encoder program for the edu Zaramel2002 Programming 3 11-02-2004 08:35


All times are GMT -5. The time now is 11:57.

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