Go to Post learning from what you made is more valuable that winning with what you made. - Veselin Kolev [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-09-2013, 17:11
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: KOP Encoders.

Quote:
Originally Posted by TenaciousDrones View Post
Another question, how do I wire the encoder? Like I can't find the index port on the digital sidecar.
I'm not familiar with the AS5145 in particular, but wiring should be like any other rotary encoder.

There is a simplified wiring diagram on page 8 of the PDF linked a few posts back.
You need to hook the 5v, gnd, A, and B conductors up to the digital side car (DSC). You shouldn't need the index channel. My guess is that the index channel will give you a single pulse per revolution.
Channels A and B should be connected to the DSC Digital I/O ports. They need to go to separate channels, they connect t othe pins labeled "sig" if I remember correctly. Choose two that are available. Note the numbers of the channels, and set your code up to use these two channels to configure the encoder object/VI.
__________________
http://team2168.org

Last edited by otherguy : 19-09-2013 at 17:13. Reason: Corrected PDF page number.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-09-2013, 07:25
TenaciousDrones's Avatar
TenaciousDrones TenaciousDrones is offline
FRC Team 4780
FRC #4780 (The Tenacious Drones)
 
Join Date: Sep 2013
Rookie Year: 2012
Location: Parma, Ohio
Posts: 57
TenaciousDrones is an unknown quantity at this point
Re: KOP Encoders.

So would I use the other encoder type that isn't index encoder in robot builder?
Reply With Quote
  #3   Spotlight this post!  
Unread 23-09-2013, 09:15
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: KOP Encoders.

I'm not familiar with the particular options in robot builder. But if you are wiring up channels A and B to the digital side car, then you're using the encoder as a quadrature encoder. IF there's an option that says quadrature, pick that one.

For info on what quadrature is, check out these links:
http://www.dynapar.com/Technology/En...ture_Encoders/
http://www.eehomepage.com/report.php?report=20080225

Otherwise if you could provide a list of named options, or a screenshot, I could help direct you better.
__________________
http://team2168.org
Reply With Quote
  #4   Spotlight this post!  
Unread 23-09-2013, 13:51
TenaciousDrones's Avatar
TenaciousDrones TenaciousDrones is offline
FRC Team 4780
FRC #4780 (The Tenacious Drones)
 
Join Date: Sep 2013
Rookie Year: 2012
Location: Parma, Ohio
Posts: 57
TenaciousDrones is an unknown quantity at this point
Re: KOP Encoders.

Here are the two encoder types.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	60
Size:	13.2 KB
ID:	15230  
Reply With Quote
Reply


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


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

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