Go to Post "Field orientation is like a homing pidgeon that can fly backwards." - LostWolf [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-01-2009, 17:09
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Digital I/O Dilemma

We attempted to wire the encoder but have not been able to get any feedback from it using the dashboard.

I split two PWM cables and connected the two power wires to the power wire on the encoder and the same with the ground. I connected the Channel A wire on the encoder to the white wire on one PWM and the Channel B wire to the white wire on the other PWM.

http://farm4.static.flickr.com/3315/...121d52.jpg?v=0

I connected one PWM to Digital I/O 3 and the other to Digital I/O 4.

I initialized it in the programming like this:
Code:
Encoder encoder1;
encoder1(4, 3, 4, 4, 0);
The SLOT 4 spot on the dashboard (picture linked below) sporadically changes colors and I'm not sure if it is even supposed to do that but we can't get any feedback on the ports of the encoder. I'm sure I've done something wrong as I have never worked with an encoder before. However, I can't get it to react to something as simple as a limit switch either.

http://farm4.static.flickr.com/3521/...b122de.jpg?v=0
 


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
Bumper Dilemma IndySam Rules/Strategy 11 18-01-2007 16:47
07 Kit Wheel Bearings Dilemma sonofdad123 Kit & Additional Hardware 12 16-01-2007 23:03
Fundraising dilemma Temp Fundraising 13 20-03-2006 10:39
Digital Caliper as a Digital Readout on Small Mill sanddrag Technical Discussion 9 13-10-2005 22:51
FIRST 2002: Prisoner's Dilemma archiver 2001 1 24-06-2002 04:00


All times are GMT -5. The time now is 09:35.

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