Go to Post "Pimp my shopping cart"?!?! - dlavery [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 21-02-2004, 22:40
Dmitri Dmitri is offline
Carthaginian
#1353 (The Gizmos)
Team Role: Engineer
 
Join Date: Dec 2003
Location: Mississauga. Canada
Posts: 9
Dmitri is an unknown quantity at this point
CTS CT3003-ND 4 bit gray code encoders...

...I know people have already used these and I ask that the wiring diagram be posted. The spec sheet is not of much help. Judging by the volt meter, it is a simple switch, but the spec sheet for a similar encoder says that it is a digital switch with an internal pull up resistor? I sincerely appreciate any help trying to wire these beasts.
__________________
When in danger or in doubt, run in circles, scream and shout.

Originality is achieved when you stop thinking relative to the box.
  #2   Spotlight this post!  
Unread 22-02-2004, 00:38
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: CTS CT3003-ND 4 bit gray code encoders...

Quote:
Originally Posted by Dmitri
...I know people have already used these and I ask that the wiring diagram be posted. The spec sheet is not of much help. Judging by the volt meter, it is a simple switch, but the spec sheet for a similar encoder says that it is a digital switch with an internal pull up resistor? I sincerely appreciate any help trying to wire these beasts.
First off CTS CT3003-ND is a Digi-key item number, not the actual part number. I knew what you were talking about though, bc i'm just that nerdy and memorized the the entire digi-key catalog and all the part numbers. (actually they just all end in "-ND") 288T232R162A1 is the actual CTS part number.

Anyway, this particular part is nothign more than a mechanical switch that contains no circuitty. Most encoders are a bit higher end than this and their working are a bit more complex. I'm too lazy to explain that though unless your really curious about it. As far as wiring it goes, its pretty straight forward. I'm not sure exectly which pin is which but basically you have a common pin and a bunch of other pins. Connect the common pin to the "+5v" pin of one of the digital inputs. Connect each of the rest of the pins to "sig" pins. For details on the pattern it outputs see: http://rocky.digikey.com/WebLib/CTS/...8%20Series.pdf

The encoders you chose arn't really meant for this sort of use, but i guess they will work. They are actually meant for light duty human interface applications such as VCR controls and stuff liek that.
__________________
1139 Alumni

Last edited by Rickertsen2 : 22-02-2004 at 00:40.
  #3   Spotlight this post!  
Unread 29-02-2004, 13:07
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: CTS CT3003-ND 4 bit gray code encoders...

Alright... I have a correction for my above post. Instead of hooking the common pin to +5v, hook it to ground. This is because all of the inputs on the robot controller have pullup resistors. This means that whenever nothing is hooked up to them(or an open circuit is hooked up to them), a resistor "pulls" them to +5v. If you were to hook 5v to them, nothing woud happen. Instead, you have to hook them to ground to change the state of the imputs. Basically whenever you hook them to ground, ie:through a switch, the pullup is overpowered and they are brought to ground.
__________________
1139 Alumni

Last edited by Rickertsen2 : 29-02-2004 at 13:10.
  #4   Spotlight this post!  
Unread 29-02-2004, 13:33
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: CTS CT3003-ND 4 bit gray code encoders...

i hope your not trying to use these on a drive train! their avrage life is 15,000 revolutions. our robot has a 1/3 gear ratio to the wheels, and they turn at like 300 rpm. this sensor would wear out in a matter of minutes!

if your going for high presision stuff like, say, an arm, it is *okay* but there are better options. like limit switches? lol jk have fun with this. i just hope you dont use intrupts...
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #5   Spotlight this post!  
Unread 29-02-2004, 23:52
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: CTS CT3003-ND 4 bit gray code encoders...

He is right. They will wer out under even moderate use. I mentioned this briefly before, but didn't really emphasize it much. If you are thinking about using these with anythign that will be doign alot of err... turning, i would suggest you get something else.
__________________
1139 Alumni
  #6   Spotlight this post!  
Unread 06-03-2004, 23:20
CharlieWilken CharlieWilken is offline
Registered User
#0634 (Robowolves)
 
Join Date: Jan 2002
Location: Van Nuys, CA
Posts: 46
CharlieWilken is an unknown quantity at this point
Re: CTS CT3003-ND 4 bit gray code encoders...

What does "gray code" mean and what is the difference between 2 bit and 4 bit gray code. Digikey has a 2 bit and 4 bit gray code encoder and they both have 3 terminals
  #7   Spotlight this post!  
Unread 06-03-2004, 23:50
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: CTS CT3003-ND 4 bit gray code encoders...

Charlie,
Gray Code is just another kind of binary coding used to generate data from these devices. The three pin device you refer to is the two bit part. The higher resolution part has more pins. The data sheet Jim listed above covers all of the parts in this family and includes the output tables for two bit, gray code and hex encoded outputs. Note how they differ from simple binary coded outputs. It is a little hard to follow but the individual part numbers are listed in the part number finder at the very bottom of the article. If you have a method of decoding gray code (either in a micro of your own design or with code you loaded into the RC) you can get up to sixteen distinct positions per revolution with the four bit varities. Again, these are not meant to be continuous rotational devices. They work great for coarse position selectors or one of several selectors. (i.e. you choose which of 16 preset conditions you want to start with)
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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
Makin' a home-brewn dashboard program, and I need theory help! DanL Programming 33 05-07-2002 01:26


All times are GMT -5. The time now is 19:36.

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