Go to Post Don't tell the rookies to "not touch the robot", show them how to work safely. - Andy Baker [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 09-02-2009, 12:35
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Re: Optical encoder not returning values

Quote:
Originally Posted by MBernstein View Post
Our optical encoder is only returning 0.
We would like an example source code for getting the number of rotations.
Also the LEDs inside do not light up...should they be?
We have it connected to the Digital I/O of the digital side car.
Have you wired it correctly? There should be a +5, A, G, and B on the encoder.
PWM 1 - black to G, red to +5, white to A
PWM 2 - black to G, red to +5, white to B

The second PWM cable doesn't really need the ground and power connected. Since you didn't provide enough information, are you sure you connected both the A and B channels and selected the right ones in LabView? (are you using LabView or C++?)
__________________
 


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
optical encoder feedback windriver darkorbit C/C++ 2 17-01-2009 13:34
Optical Encoder Centering Tool Gary Bonner Kit & Additional Hardware 1 05-01-2009 18:19
A nice and cheap optical encoder! (not a question) windell747 Electrical 9 04-05-2008 14:13
AHH! Not returning to FIRST! Can't See Me General Forum 19 07-10-2005 14:07
Rotary Encoder (optical etc.) Gary C Technical Discussion 4 16-01-2005 18:23


All times are GMT -5. The time now is 15:20.

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