Go to Post I think applying Gracious Professionalism to strictly legal game play trivializes what is a much more important and fundamental FIRST concept. - jimfortytwo [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 15-04-2015, 23:17
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 58
mshafer1 is an unknown quantity at this point
Re: Encoders on breakout board

My team utilizes Encoders for several reasons, although this year our encoders went on the Roborio's built in DI/O pins, we did use the Rev Robotics breakout board to control an arduino that runs some indicator lights for us.

You can indeed wire to the DI/O pins on the breakout board in much the same way as you would have in the past (I am assuming that by single cable you mean it is still an absolute optical encoder with A and B channels), and the only difference would be when you call them in begin.vi (assuming LabVIEW), that the ports become MXP DI/O __ (where blank is the channels you select).

If you mean by single cable that you are using a incremental encoder, you would just wire it's signal wire to a DI/O as if it were one of the channels (A or B) from past years, and set it up appropriately in the code (MXP or not).

If you are not using LabVIEW, then you will have to check, but I'm am fairly certain that C++ and Java (whether in Robot Builder or not I'm not sure) offer the option to use an MXP DI/O in a very similar way as using the DI/O's on the rest of the Roborio.
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


All times are GMT -5. The time now is 03: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