Go to Post Lesson learned: don't hide cables where drills can find them! - Richard Wallace [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-12-2013, 11:56
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: 189
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
What is the TI Stellaris LaunchPad in FIRST Choice?

Now that it has been open for window shopping for several days, I wanted to briefly explain to the community what TI was thinking when we decided to donate some of our Stellaris LaunchPad Evaluation Kits to FIRST Choice.

Like the product description says, the Stellaris LM4F120 LaunchPad is an evaluation kit for an ARM Cortex M4F based Microcontroller. What it doesn't say, is how this is of any use to you, the FRC team.

With a simple flash of some new firmware, the LaunchPad can enumerate as a generic USB gamepad. In fact, we've written code that has it enumerate as a composite set of two gamepads. Having the LaunchPad enumerate as a gamepad makes it trivial to interface into your driver stations. To the driver station, the LaunchPad looks like any set of two plug and play gamepads or joysticks.

Additionally, we are working on a Breakout BoosterPack (an expansion board, like an Arduino shield) that breaks all the signals out to screw terminals that make it really easy to connect custom buttons, potentiometers, and other circuits.

So with the LaunchPad, Breakout BoosterPack, and the gamepad firmware, you will have access to:
  • 8 analog inputs
    • X, Y, Z, and XRotation for each gamepad
  • 22 digital inputs
    • 11 per gamepad
Please bear with us as we get more documentation online. We plan to have the BoosterPacks ready in distribution, a webpage with step by step instructions, the firmware ready for download, and a few other resources by the time (or soon after) FIRST Choice opens for purchasing.

In the future we will also be able to release the source code for the gamepad firmware. This gives you the opportunity to change how the gamepad works to better suit your needs. For example, one could connect motion sensors to the LaunchPad and modify the gamepad code to do some pre-processing before it sends the data over the gamepad data structure. Did somebody say power glove?

Stay tuned for more information!

-David

Last edited by dyanoshak : 01-12-2013 at 12:26. Reason: added link
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2014, 11:28
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: 189
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: What is the TI Stellaris LaunchPad in FIRST Choice?

We're really excited to see that the LaunchPad has sold out on FIRST Choice! Thank you all for being patient as we got everything ready.

If you missed out on getting a LaunchPad from FIRST Choice, you can still buy them from both DigiKey and the TI eStore:
DigiKey - $13.49 + Shipping
TI eStore - $12.99 (Free Shipping)
You can now order the BoosterPacks from DigiKey and the TI eStore as well:
DigiKey - $27.98 + Shipping
TI eStore - $19.59 (Free Shipping)
Remember, you can use your 2014 DigiKey PDV and take $25 off your DigiKey order. If you're not using the PDV for anything else, then DigiKey may be the less expensive option (depending on shipping).

Note: At the time of writing this post. Both DigiKey and the eStore were showing "out of stock" or very long lead times. This isn't accurate. We're waiting on a flag to propagate through the system that indicates the real status of "in stock."

Step-by-step instructions on how to use the LaunchPad and BoosterPack to create a custom control interface on your Driver Stations can be found here at the TI Wiki:
Using the Stellaris or Tiva C Series LaunchPad in the FIRST Robotics Competition
-David
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2014, 12:01
Andy Brockway Andy Brockway is offline
Engineer
FRC #0716 (Who'sCTEKS)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Falls Village, CT
Posts: 459
Andy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond repute
Re: What is the TI Stellaris LaunchPad in FIRST Choice?

How would we wire the Stellaris without the Booster Pack?
__________________
Andy Brockway
Team 716, The Who'sCTEKS
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2014, 12:36
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 156
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: What is the TI Stellaris LaunchPad in FIRST Choice?

Quote:
Originally Posted by Andy Brockway View Post
How would we wire the Stellaris without the Booster Pack?
The LaunchPad can also be wired up using the header pins on the top. Basically, the same way you'd connect to an Arduino if you weren't using a shield.

One solution is to use something like SchmartBoard jumpers.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2014, 12:36
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: 189
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: What is the TI Stellaris LaunchPad in FIRST Choice?

Quote:
Originally Posted by Andy Brockway View Post
How would we wire the Stellaris without the Booster Pack?
First, take a look at the GPIO Breakout BoosterPack User's Manual. There is a schematic and several tables that will help identify the LaunchPad signals used by the Gamepad Firmware so that you can connect them without the BoosterPack.

Looking at Table 2-3. Standard BoosterPack Pinout Compatibility you'll see the columns divided into Pin, Breakout Use, and Standard. The Pin and Breakout Use columns will help you translate which gamepad button or analog input is mapped to which LaunchPad header pin. The LaunchPad has these headers labeled as J1, J3, J4, and J2 (from left to right) on the board. Pin one (e.g. J1.1) starts with the top most pin (with the square pad).

Table 2-2. Tiva Port and Pin Mapping may also be useful. You can match the Breakout signals with the ports labeled on the LaunchPad board.

Digital inputs will be wired similarly as described on the wiki page, but you will connect the switch and ground wires directly to the port and ground pins on the LaunchPad.

Analog inputs will be a little trickier because the ADC on the Stellaris (or Tiva) microcontroller has a maximum source resistance requirement of 500Ω. The BoosterPack provides you with an amplifier that allows you to connect a very wide range of potentiometers rather than the less-than 500Ω range without it. Otherwise, wiring potentiometers is just as similar without the BoosterPack.

If you're just using buttons or other digital signals, then it is almost a toss-up. The BoosterPack makes it a little simpler, provides ESD protection, and has mounting holes that the LaunchPad does not have.

If you're also using analog, I would recommend using the BoosterPack, though it isn't impossible to do without it.

Hope this clears it up a bit.

-David
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2014, 18:10
steinra's Avatar
steinra steinra is offline
(KG7KEO)
AKA: Randy Steiner
FRC #5461 (V.E.R.N.)
Team Role: Coach
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Meridian, Idaho
Posts: 56
steinra is on a distinguished road
Re: What is the TI Stellaris LaunchPad in FIRST Choice?

Thank you TI!

We are looking at using the TI Stellaris LaunchPad for a "project" on the control station but we would definitely need access to the code to finish it. How far out are you looking before the code is released? I know we could do it with a Arduino as well, but since this neat toy came in the KOP we wanted to look at giving it a try.

Thanks!

Randy
__________________
Randy Steiner
2014-2015 FIRST Team 5461 - Coach
2011-2014 FIRST Team 4106 - Head Mentor
2007-2011 FIRST Team 1891 - Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 14-01-2014, 18:27
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: 189
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: What is the TI Stellaris LaunchPad in FIRST Choice?

We're happy to still be involved in some way now that Jaguar is at a different home.

Quote:
Originally Posted by steinra View Post
How far out are you looking before the code is released?
The source code will be coming out with our next TivaWare release which should be at the end of January.

-David
Reply With Quote
  #8   Spotlight this post!  
Unread 03-02-2014, 22:44
Movius Movius is offline
Registered User
FRC #4106
 
Join Date: Feb 2014
Location: Boise
Posts: 1
Movius is an unknown quantity at this point
Re: What is the TI Stellaris LaunchPad in FIRST Choice?

Quote:
Originally Posted by dyanoshak View Post

The source code will be coming out with our next TivaWare release which should be at the end of January.
-David
Has the source code been released? We would really like to use the Launch pad but with out the source code we wont be able to use it the way we would like.

Thanks
Hunter Movius 4106
Reply With Quote
  #9   Spotlight this post!  
Unread 03-02-2014, 22:47
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: What is the TI Stellaris LaunchPad in FIRST Choice?

Does anyone know if the TI Stellaris can be used to process data and send it to the cRIO? Similar to an Arduino

Thanks
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
Reply With Quote
  #10   Spotlight this post!  
Unread 04-02-2014, 12:23
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: 189
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: What is the TI Stellaris LaunchPad in FIRST Choice?

Quote:
Originally Posted by Movius View Post
Has the source code been released? We would really like to use the Launch pad but with out the source code we wont be able to use it the way we would like.

Thanks
Hunter Movius 4106
We are close to releasing the software on our website, however it may still be a couple of days. PM me and I may be able to send you a beta release.

Out of curiosity, how are you planning on using it? I'm sure the community would love to see some creative uses. I may be able to add your project ideas to the wiki page as well.
Reply With Quote
  #11   Spotlight this post!  
Unread 04-02-2014, 12:29
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: 189
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: What is the TI Stellaris LaunchPad in FIRST Choice?

Quote:
Originally Posted by geomapguy View Post
Does anyone know if the TI Stellaris can be used to process data and send it to the cRIO? Similar to an Arduino

Thanks
I responded to your PM, but I also wanted to respond here for others to see.

The simplest way (hardware wise) would be to program the LaunchPad as an I2C slave since the cRIO can only be an I2C master. You could also use SPI.

Serial may be simpler on the software side of things, but it would require a TLL to RS232 transceiver to shift the LaunchPad voltage levels up to the RS232 levels of the cRIO.
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 05:04.

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