Go to Post So does this mean we can use the FP as bumpers? :D - Peter Matteson [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 31-01-2017, 20:02
Sky Captain's Avatar
Sky Captain Sky Captain is offline
Software Mentor and FIRST Volunteer
AKA: Will
FRC #0386 (Voltage)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2006
Location: Virginia
Posts: 27
Sky Captain is an unknown quantity at this point
MORE Board 2.0 Usage

Hey All,

We recently received our More Board 2.0 from Rev Robotics. We are attempting to get it installed and working. However, the manual for the board is spectacularly unhelpful in providing wiring and software examples. We are mostly using it to increase our PWM outputs as we will have a lot of motors on our robit this year. After reading the documentation, I have assumed that the jumpers can stay on the 5V setting. How does one address the PWM slot in the code? We are programming with JAVA. Is it as simple as saying, for example, private SpeedController motor = new Talon(10); ? For doing PWM work, is anything else needed?

Edit: I found the pinout for the MXP slot, so I guess my assumption for PWM labeling was correct.

Does anyone have any experience with this board? If so, help.
__________________
When in doubt, RTFM.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2017, 00:11
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 191
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: MORE Board 2.0 Usage

Quote:
Originally Posted by Sky Captain View Post
Hey All,

We recently received our More Board 2.0 from Rev Robotics. We are attempting to get it installed and working. However, the manual for the board is spectacularly unhelpful in providing wiring and software examples. We are mostly using it to increase our PWM outputs as we will have a lot of motors on our robit this year. After reading the documentation, I have assumed that the jumpers can stay on the 5V setting. How does one address the PWM slot in the code? We are programming with JAVA. Is it as simple as saying, for example, private SpeedController motor = new Talon(10); ? For doing PWM work, is anything else needed?

Edit: I found the pinout for the MXP slot, so I guess my assumption for PWM labeling was correct.

Does anyone have any experience with this board? If so, help.
Hi Will,

I'm sorry that the pinout information was hard to find. We have it linked below the user's manual, but the info should also be included in the manual itself. The pinout in the manual currently matches the NI pin naming for the MXP connector, but not the WPI API naming.

Given the WPI pinout diagram, you use the PWM port numbers as listed (10 - 19) in your code just as you would with a PWM controlled motor controller plugged directly into the roboRIO. From your edit, it looks like you already figured that out.

As far as wiring, the More Board has 3-pin headers for each DIO/PWM port. They are labeled with an S, DIO VCC, and a ground symbol to indicate the orientation. Figure 2-1 Header Pinouts in the manual shows this labeling.

You just need to plug the PWM cable from your motor controller onto the desired 3-pin header, just as you would on the roboRIO: Signal (usually white/yellow) to S and ground (usually black/green) to ground.

DIO VCC isn't necessary since the PWM controlled motor controllers don't require the center power wire. Therefore the position of the power rail jumpers isn't important. They are intended to be used when connecting different voltage devices to the digital pins.

Please don't hesitate to let me know if you have any other questions!
__________________
David Yanoshak
Co-founder REV Robotics | www.revrobotics.com
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2017, 18:37
Sky Captain's Avatar
Sky Captain Sky Captain is offline
Software Mentor and FIRST Volunteer
AKA: Will
FRC #0386 (Voltage)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2006
Location: Virginia
Posts: 27
Sky Captain is an unknown quantity at this point
Re: MORE Board 2.0 Usage

Hi David,

Thanks for getting back so quickly. We'll try it out tonight and see what happens. I guess the board really is plug-n-play.

Thanks,
Will
__________________
When in doubt, RTFM.
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 14:52.

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