Go to Post My teams robots have been good, bad and ugly BUT they were all beautiful because they were there. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 12-02-2015, 18:17
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
Using the TI Launchpad

Hello everyone.

I would like to use a TI Launchpad MSP340 as a controller for our robot this year. I've talked to a few of the more electronically minded people on my team, and I've managed to get as far as sorta understanding the circuit diagram provided by TI on this page. I've hooked it up to a battery pack and an LED to verify that it is working, and it is:



However, I'm unsure as to where to go from here. I'm only hooking up digital input buttons, but I don't know what to do next.

Our plan is to not use a ribbon cable, as we don't have an appropriate one. I can solder if necessary. I don't need to have an LED in the final project. I also don't have to use a breadboard, it was just a suggestion from our coach.

Thanks all in advance!
  #2   Spotlight this post!  
Unread 12-02-2015, 20:39
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: 72
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Using the TI Launchpad

Quote:
Originally Posted by btcshields6 View Post
Hello everyone.

I would like to use a TI Launchpad MSP340 as a controller for our robot this year. I've talked to a few of the more electronically minded people on my team, and I've managed to get as far as sorta understanding the circuit diagram provided by TI on this page. I've hooked it up to a battery pack and an LED to verify that it is working, and it is:

However, I'm unsure as to where to go from here. I'm only hooking up digital input buttons, but I don't know what to do next.

Our plan is to not use a ribbon cable, as we don't have an appropriate one. I can solder if necessary. I don't need to have an LED in the final project. I also don't have to use a breadboard, it was just a suggestion from our coach.

Thanks all in advance!
Glad to see your tests are working out for you. An alternative to the ribbon cables that works pretty well is using female jumper wires like these: http://www.amazon.com/40pcs-Female-2...dp/B007MRQC1K/

You can cut off one of ends, solder it to your buttons, and then plug it into the LaunchPad. It provides a secure connection that you can still modify if you need to.

I also noticed that you're in Fort Worth. If you're team is interested, FRC3005 is over in east Dallas, and we would be more than happy to host you guys after bag and tag for some OI panel building.
  #3   Spotlight this post!  
Unread 13-02-2015, 00:34
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
Thanks for the quick response and the detailed advice! We'll have to see about that after bag and tag. Sounds good though!

Thanks!
  #4   Spotlight this post!  
Unread 23-02-2015, 16:56
miguelceniceros miguelceniceros is offline
Registered User
FRC #4201
 
Join Date: Feb 2015
Location: Hawthorne, CA
Posts: 1
miguelceniceros is an unknown quantity at this point
Re: Using the TI Launchpad

I was having trouble understanding the button schematic.
Using the same buttons that are used in the second example on this page, what am I supposed to connect the pins labeled "P.1" and "Launchpad MCU" to?
  #5   Spotlight this post!  
Unread 23-02-2015, 17:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using the TI Launchpad

"Launchpad MCU" is not a pin label. It is a label for the device which is on the right side of the schematic, past the gray vertical line.

There are three connections on the schematic. The top one goes to +3.3V, the bottom one goes to GND, and the middle one goes to any Digital Button input.
  #6   Spotlight this post!  
Unread 23-02-2015, 17:30
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Using the TI Launchpad

It appears from the schematic:

The top port is the 3.3VDC power from the TI Launchpad.
The bottom port is the digital ground reference to the TI Launchpad.
The middle port goes to the I/O pin on the TI Launchpad.

When the normally open button is depressed the 3.3VDC power is put across the resistor (current limit) and LED (light emitting diode).
With the button depressed the I/O will see a 'high' of 3.3VDC.
With the button not depressed the I/O will be pulled 'low' because the digital ground is still connected.

Assuming that's a 20mA forward current in series with a voltage drop of 1.8VDC across the LED (check the LED specifications) then R1 would be around:
3.3VDC - 1.8VDC = 1.5VDC across R1
E = I * R (Ohm's law)
1.5VDC = 0.02A * R
R = 1.5VDC / 0.02A
R1 = 75 Ohms

Alan posted before I could finish.

Normally to get that 3.3VDC regulated power for simple projects I use something like this:
LM2937-3.3

In the case of the TI Launchpad the 5V rail that powers it can come from the USB port 5V power.
It has an onboard regulator circuit that makes 3.3VDC based:
On the MSP-EXP430G2 the 3.3V regulator is the TPS77301DGKR.
On the MSP-EXP430F5529LP the 3.3V regulator is the TPS62237DRY.

That 3.3VDC is available at all the edge pins marked:
VCC on the MSP-EXP430G (TP1 on this PCB will give access to 5VDC)
3V3 pins on the MSP-EXP430F5529LP

It appears the board you have is this: (based on the image in the first post of this topic)
MSP-EXP430F5529LP

The other board (which I have laying around) is this:
MSP-EXP430G2

Sorry I revised this post a few times to capture accurate information about both 'TI Launchpads' I have seen.

Last edited by techhelpbb : 23-02-2015 at 18:30.
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 11:27.

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