Go to Post Welcome to CD! You'll find this is basically the coolest place on the internet. - Donut [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 08-02-2008, 00:17
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
A nice and cheap optical encoder! (not a question)

Hi guys, well recently I've been looking for an inexspensive optical encoder for our bot. After some searching I found a pretty nice one and wanted to share it with you guys. It is the ep4 from US digital. What is nice is that you can specify the CPR from 100 to 360 free of charge as well as specify some other options. We decided to go with the low 100 resolution since we don't need it to be very high and to minimize the interrupts to the PIC. Also an important this is that it is cheap at a price of about $20 each! We only need one,but bought two! Be sure to buy a cable with the molex connector unless you have these lying around. If you don't need the quadrature output and dont need to know the direction of rotation you can just use either singal lines A or B to give you a squarewave pulse train.

Here is the link to it!
http://www.usdigital.com/products/e4p/

Hope that this helps!
Windell
#2477
  #2   Spotlight this post!  
Unread 08-02-2008, 07:44
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

Thanks Windell. This is the same encoder that the Andymark super-shifters use (ep4 or e4p 250-250).

They work very well, however, you must set them up correctly.

To install a shaft on them, you have to carefully remove the plastic cover. Then, place a piece of paper over top of the two mounting screws. Finally, push the encoder disk down onto the shaft until it's snug against the paper, and remove the paper.

If you do not do it this way, you risk pushing the encoder ring onto the mounting screws and a single turn of the encoder will ruin it. If you put it frrther away from the optical sensor, you will get flaky results, as several other teams have noticed with the AndyMark shifters.
  #3   Spotlight this post!  
Unread 08-02-2008, 08:45
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,662
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

Quote:
Originally Posted by Tom Line View Post
To install a shaft on them, you have to carefully remove the plastic cover. Then, place a piece of paper over top of the two mounting screws. Finally, push the encoder disk down onto the shaft until it's snug against the paper, and remove the paper.
Tom, have you verified that one paper thickness (about 0.004") is the correct spacing between the mounting screws and the encoder disk for proper operation?

I'm asking because this advice seems to conflict with the information given on the manufacturer's web site(http://www.usdigital.com/products/e4p/index.shtml) under the heading "Accessories/Spacer Tool", which indicates a nominal gap between codewheel and encoder base of 0.070" with +/-0.030" tolerance.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
  #4   Spotlight this post!  
Unread 08-02-2008, 08:58
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
Re: A nice and cheap optical encoder! (not a question)

When one of the encoders are purchased they come with an encoder spacer so I think everything will be alright for us. Thanks for bringing my attention to this otherwise I probably would've not paid much attention to this!
  #5   Spotlight this post!  
Unread 08-02-2008, 12:43
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

Richard -

I can't speak to the official specifications - I can only say what has seemed to allow our encoders to work well.

Also, the paper we used was pretty think - it was similar to post card stock.
  #6   Spotlight this post!  
Unread 08-02-2008, 12:53
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,662
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

Thanks, Tom.

We gapped ours per the information I referenced above. It they work OK that way, we'll leave them alone. If not then we'll try a thinner gap using card stock, as you did.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
  #7   Spotlight this post!  
Unread 04-05-2008, 02:48
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Re: A nice and cheap optical encoder! (not a question)

Does this encoder use the same programming code as the ones in with the andymark? A and B channel 4 pin type it seems.
  #8   Spotlight this post!  
Unread 04-05-2008, 12:24
Andy Baker's Avatar Woodie Flowers Award
Andy Baker Andy Baker is offline
President, AndyMark, Inc.
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Kokomo, Indiana
Posts: 3,417
Andy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond reputeAndy Baker has a reputation beyond repute
Send a message via AIM to Andy Baker
Re: A nice and cheap optical encoder! (not a question)

Quote:
Originally Posted by Generalx5 View Post
Does this encoder use the same programming code as the ones in with the andymark? A and B channel 4 pin type it seems.
These are the same encoders that we use on the AndyMark SuperShifters.

Andy
  #9   Spotlight this post!  
Unread 04-05-2008, 13:12
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

You know, its kinda funny... we pressed our encoder wheel in too far MULTIPLE times (so the screw has 'ruined' it), and it still works! like all 250 counts still happen... its pretty magical.

i guess we have electronics that live past their death? our IR board was the same way.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #10   Spotlight this post!  
Unread 04-05-2008, 14:13
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: A nice and cheap optical encoder! (not a question)

We had no luck at all with these open frame encoders... in fact, we ended up replacing the encoders on our super shifters.

If you're going to use open-frame encoders... make sure that you can hold the very tight tolerances and low runouts specified in the encoder datasheets, and that you'll be using them in a relatively clean environment (or have taken provisions to keep junk out of them).

Just speaking from experience.

The 4 series of miniature encoers are quite nice, I agree... but I suggest that you use instead the S4-type sealed and bearing supported encoder. Personally, I think the extra 10 bucks to go from an open-frame encoder to a sealed encoder is worth it as far as peace-of-mind goes.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
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
programing the vex optical shaft encoder youngWilliam14 Programming 10 11-11-2007 16:16
Serial Driver and 2K6 Encoder Driver Not compatible Tom Bottiglieri Programming 6 12-02-2006 01:11
Rotary Encoder (optical etc.) Gary C Technical Discussion 4 16-01-2005 18:23
PID control loop/Encoder question Zee Programming 18 30-01-2004 23:14
Quick Optical Sensor Question zorro Technical Discussion 10 21-01-2003 06:39


All times are GMT -5. The time now is 03:29.

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