|
Re: CIM coders help!
Quote:
Originally Posted by brainbounce
I don't think you should try to debug your program until you have the wiring correct. The CIMCoder uses 2 DIO slots on the RoboRio, and needs external pull-up resistors.
Download the spec sheet from AndyMark to verify, but:
Orange Pin1 goes to +5V
Blue Pin2 goes to Signal0
Black Pin3 goes to GND
Yellow Pin4 goes to Signal1
(2) 10K pull-up resistors between +5V and each of the signal wires.
|
The RoboRIO DIO pins (when configured as Digital Inputs) are already pulled up, as were the same pins on the cRIO's Digital Sidecar and the ancient IFI Robot Controller. (Translation: the resistors aren't needed. Or are the CIMCoder's electrical signals in need of a stronger pullup?) Ref: NI roboRIO Users manual, Figure 16:
__________________
Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional
Last edited by garyk : 28-01-2017 at 19:38.
|