Go to Post Is it weird we think speed controllers are sexy? - vivek16 [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 17 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-05-2015, 02:08 PM
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 69
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Using the TI LaunchPad from your KoP

Awesome to hear you guys are jumping right in!

I know it's robot season, so there isn't much time left over for personal tinkering, but the community over at 43oh is a really great resource for people starting out. You might want to check out their projects forum for some ideas on what the board can do.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-05-2015, 02:45 PM
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Using the TI LaunchPad from your KoP

Quote:
Originally Posted by ILAMtitan View Post
Awesome to hear you guys are jumping right in!

I know it's robot season, so there isn't much time left over for personal tinkering, but the community over at 43oh is a really great resource for people starting out. You might want to check out their projects forum for some ideas on what the board can do.
Personal time during build season? What's that? ;-). But, I will cruise over to the link and have a look. In the mean time, I'm trying to find info on the HID output features. Not much available in the docs so far. So, it looks like it's going to be interesting to noodle it out.

How can you tell the pioneers? They're the ones with the arrows in their backs.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-05-2015, 03:25 PM
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 69
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Using the TI LaunchPad from your KoP

Quote:
Originally Posted by taichichuan View Post
Personal time during build season? What's that? ;-). But, I will cruise over to the link and have a look. In the mean time, I'm trying to find info on the HID output features. Not much available in the docs so far. So, it looks like it's going to be interesting to noodle it out.

How can you tell the pioneers? They're the ones with the arrows in their backs.
What additional information are you looking for?

Currently, the output is just driving a pin high (3.3V) or low from the MSP430. Essentially, you can set it in WPILib, and it will get transferred to the HID device on the following USB poll cycle (every 20ms). I'll get my software cohort to elaborate a bit more for you guys on this.

The max a single pin can source is 10mA, and the device total is 100mA.

When I made the example panels on the wiki, I just used the indicator pins output to directly drive the LEDs. No problems so far.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-05-2015, 03:39 PM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Using the TI LaunchPad from your KoP

Quote:
Originally Posted by taichichuan View Post
In the mean time, I'm trying to find info on the HID output features. Not much available in the docs so far. So, it looks like it's going to be interesting to noodle it out.
On the robot side I have only had a chance to work with the LabVIEW WPILib API, but I assume it is similar in both Java and C++. The idea is you pass a boolean array to WPI_JoystickSetOutput.vi which is sent to the LaunchPad, which then sets/clears the appropriate indicator. See attached from the LabVIEW context help (you can ignore the rumble outputs).

If you load one of the three default firmware images it becomes straight forward to set/clear the indicator outputs using the API, which you can then use to drive an LED or other indicator.

In addition, we are working on the documentation for the source code provided on our github page, beyond what is commented in the code (including setup instructions). So if you want to do something else with the output data outside of what the 3 preconfigured binaries provide, you can.
Attached Thumbnails
Click image for larger version

Name:	LabVIEW Output.PNG
Views:	111
Size:	4.6 KB
ID:	17747  
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #5   Spotlight this post!  
Unread 01-05-2015, 03:47 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Using the TI LaunchPad from your KoP

Quote:
Originally Posted by taichichuan View Post
In the mean time, I'm trying to find info on the HID output features. Not much available in the docs so far.:
Look in the Joystick class, SetOutput and SetOutputs.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-05-2015, 03:56 PM
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Using the TI LaunchPad from your KoP

Quote:
Originally Posted by Joe Ross View Post
Look in the Joystick class, SetOutput and SetOutputs.
Thanks! I'll take a look at that.
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 03:45 AM.

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