TI-Innovator™ Hub with
TI LaunchPad™ Board
Getting Started Guide
Learn more about TI Technology through the online help at
education.ti.com/eguide
.
Страница 1: ...TI Innovator Hub with TI LaunchPad Board Getting Started Guide Learn more about TI Technology through the online help at education ti com eguide ...
Страница 2: ... use of these materials by any other party Learning More with the TI Innovator Technology eGuide Parts of this document refer you to the TI Innovator Technology eGuide for more details The eGuide is a Web based source of TI Innovator information including Programming with the TI CE Family of Graphing Calculators and TI Nspire Technology including sample programs Available I O Modules and their com...
Страница 3: ...still work with the TI calculator Is the sketch open source 6 Hub Programming on TI CE Graphing Calculator 7 Code Examples TI CE Graphing Calculator 7 Sample Program to Blink an On Board LED 7 How to Create and Execute a Program 8 Using the Hub Menu to Build Commands 9 Tips for Coding with TI CE Graphing Calculator 10 Learn More 11 TI Innovator Hub App for the TI CE Graphing Calculator s 12 Hub Pr...
Страница 4: ...Hub to a Graphing Calculator 33 Connecting TI Innovator Hub 33 Connecting to a Graphing Calculator 33 Connecting to a Computer Running TI Nspire CX Software 34 TI RGB Array Commands 35 Prerequisite Use the Send Connect RGB Command First 35 CONNECT RGB 35 SET RGB 36 SET RGB ALL 37 READ RGB 37 General Precautions 38 TI RGB Array 38 General Precautions for the TI Innovator Hub 38 TI Innovator Hub 38 ...
Страница 5: ...hich contains the Hub menu TI Nspire CX or TI Nspire CX CAS handheld with operating system version 4 5 or later installed TI Nspire computer software version 4 5 or later TI Innovator Hub Communicates with the host the Hub on board components and connected external components It also distributes power to external components TI Innovator Components These components sold separately include sensors m...
Страница 6: ...ce of the Hub are A Green auxiliary power LED B Green power LED C Red error LED Built in Ports Left side Three ports for collecting data or status from input modules IN 1 and IN 2 provide 3 3V power IN 3 provides 5V power Right side Three ports for controlling output modules OUT 1 and OUT 2 provide 3 3V power OUT 3 provides 5V power Bottom Light Brightness Sensor described earlier and two ports I2...
Страница 7: ... Mini B Connects the Hub to a computer running TI Nspire CX Software  USB Standard A to Micro Connects the PWR port of the Hub to a TI approved power source required by some peripherals Auxiliary Power TI Wall Charger Supplies power through the TI Innovator Hub for components such as motors that require additional power The optional External Battery Pack can also provide auxiliary power Note An a...
Страница 8: ...ini B cable Each end of this cable is embossed with a letter 2 Insert the B connector into the DATA port at the bottom of the TI Innovator Hub 3 Insert the free end of the cable the A connector into the USB port on the calculator Hub connected to TI CE Graphing Calculator Hub connected to TI Nspire CX Handheld 4 Turn on the calculator if it is not already on The power LED on the Hub glows green to...
Страница 9: ...sed tool lets you update the Sketch Updated versions contain bug fixes and ensure that your TI Innovator Hub can communicate with the latest components To obtain the latest version of the TI Innovator Sketch go to the following site https education ti com go innovator Questions About the Hub Software What is the TI Innovator sketch The sketch is the software on the TI Innovator Hub that communicat...
Страница 10: ...e updated through the TI Innovator Hub Update Software This software is a free download on the TI website Can I update multiple TI Innovator Hubs at the same time The TI Innovator Hub Update Software only allows updating a single Hub at a time However the application is designed to allow you to update multiple Hubs without having to re launch the software Can the sketch that comes on the TI Innova...
Страница 11: ...ands Wait Pauses program execution for a specified number of seconds Code Examples TI CE Graphing Calculator Desired Action Program Code Turn on the on board Red LED LIGHT Send SET LIGHT ON Play a 440Hz tone on the on board speaker SOUND for 2 seconds Send SET SOUND 440 TIME 2 Turn on blue element of on board RGB LED COLOR at 100 brightness Send SET COLOR BLUE 255 Read and display the current valu...
Страница 12: ... is available for download from the TI website at education ti com latest To Create a New Program on TI CE Graphing Calculator 1 On the Home Screen press select New and press Í 2 Type a name for your program such as SOUNDTST and then press Í The Program Editor opens displaying a template for your program code 3 Enter the lines of code that make up your program You must use the Hub Menu to enter TI...
Страница 13: ...s Í The program opens in the Program Editor Using the Hub Menu to Build Commands The Hub menu is available on the TI CE graphing calculator anytime you are creating or editing a program It can save you time building commands and help you with correct command spelling and syntax Note To build a command from the Hub menu you need to know The unique name of the component that you are addressing such ...
Страница 14: ...n cause syntax errors This includes repeated spaces within the line and one or more spaces at the end of a line Code from an external source might show curly quotation marks in places that require straight quotes To type straight quotes press ƒ and then à To clear the current line of code press To type relational operators such as and press y To type a space press ƒ and then Ê If your program beco...
Страница 15: ...Learn More To find sample programs and details about programming the TI Innovator Hub see the TI Innovator Technology eGuide page ii 11 ...
Страница 16: ...asy to select commands that are commonly used when creating programs to use with the TI Innovator Hub How do I know whether I have the TI Innovator Hub App To determine if the Hub app is loaded on your TI CE graphing calculator follow these steps 1 Press 2nd mem 2 Select option 2 Mem Management Delete 3 Select option A Apps 4 The TI Innovator Hub App is listed as Hub in the list of apps Confirm th...
Страница 17: ...mber of my TI Innovator Hub App is To determine the version of the Hub App that is loaded on your TI CE Graphing Calculator follow these steps 1 Press 2nd mem 2 Select option 2 Mem Management Delete 3 Select option A Apps 4 Press the down arrow until the Hub app is selected 5 Look at the title bar to view the version number of the Hub app How do I get the TI Innovator Hub App The TI Innovator Hub ...
Страница 18: ...ongly recommended that you always keep your TI products up to date with the latest OS and versions When updating your OS always check to see if any apps have updates as well Do I need an app to use the TI Innovator Hub with TI Nspire CX technology No TI Nspire CX technology has all the commands to communicate with the TI Innovator Hub built in For best results always use the latest version of TI N...
Страница 19: ...mands Wait Pauses program execution for a specified number of seconds Code Examples TI Nspire CX Technology Desired Action Program Code Turn on the on board Red LED LIGHT Send SET LIGHT ON Play a 440Hz tone on the on board speaker SOUND for 2 seconds Send SET SOUND 440 TIME 2 Turn on blue element of on board RGB LED COLOR at 100 brightness Send SET COLOR BLUE 255 Read and display the current value...
Страница 20: ...computers running TI Nspire CX software use the Help menu to update the software To Create a New Program in a TI Nspire CX Document 1 On the handheld press and select Insert Program Editor New From the computer software click Insert Program Editor New 2 Type a name for your program such as soundtst select Program as the Type and then click OK The Program Editor opens displaying a template for your...
Страница 21: ...e parentheses separated by commas The program runs To Edit an Existing Program 1 If necessary open the document that contains the program 2 Go to a Calculator page 3 On the handheld press b and select Functions Programs Program Editor Open On the Calculator menu click Functions Programs Program Editor Open 4 Select the program name name from the displayed list The program appears in a Program Edit...
Страница 22: ...ram Editor menu select Hub The Hub menu appears 4 Select Send SET and then select SOUND to insert the first part of the command 5 Type 440 as the frequency value 6 On the Hub menu select Settings TIME 7 To complete the command Type 2 as the TIME value 8 To test the command follow the previous instructions for running a program Tips for Coding with TI Nspire CX Technology Code from an external sour...
Страница 23: ... running TI Nspire CX Handheld Hold down the c key and press repeatedly Windows Hold down the F12 key and press Enter repeatedly Mac Hold down the F5 key and press Enter repeatedly Learn More To find sample programs and details about programming the TI Innovator Hub see the TI Innovator Technology eGuide page ii 19 ...
Страница 24: ...Sensor IN 1 IN 2 IN 3 Read and display ambient light level from the sensor connected to IN 2 Send CONNECT LIGHTLEVEL 1 TO IN2 Send READ LIGHTLEVEL 1 Get L Disp L Ultrasonic Ranger IN 1 IN 2 Read and display measured distance from the ranger connected to IN 2 Send CONNECT RANGER 1 TO IN2 Send READ RANGER 1 Get R Disp R Vibration Motor OUT 1 OUT 2 OUT 3 Turn on the Vibration Motor connected to OUT 1...
Страница 25: ...sor to IN 1 Send CONNECT MOISTURE 1 IN 1 Configure the measurement range to be between 0 and 100 The range is an index and has no units Send RANGE MOISTURE 1 0 100 Read the sensor Send READ MOISTURE 1 Get moisture MOSFET OUT 1 OUT 2 Connect the MOSFET to the OUT 1 port Send CONNECT ANALOG OUT 1 TO OUT 1 Control the connected motor pump at 50 speed for 3 seconds Send SET ANALOG OUT 1 128 TIME 3 Wat...
Страница 26: ... port Note This program operates correctly only if the calculator is connected to the Hub and an LED module is physically connected to port OUT 1 PRGM BLINKIO Send CONNECT LED 1 TO OUT1 For N 1 10 Send SET LED 1 ON Wait 1 Send SET LED 1 OFF Wait 1 End Send DISCONNECT LED 1 Note If you are using TI Nspire CX technology omit the parentheses and change End to EndFor The Hub command string CONNECT LED...
Страница 27: ...To find sample programs a list of additional I O Modules and details about programming I O Modules see the TI Innovator Technology eGuide page ii 23 ...
Страница 28: ...our AA batteries Batteries are not included Addressable Components Component Image Used with pins Description Red LEDs BB 1 10 Light emitting diode that emits light when current passes through it Green LEDs BB 1 10 Light emitting diode that emits light when current passes through it RGB Red Green Blue LEDs BB 8 10 Light emitting diode with independently adjustable red green and blue elements Can p...
Страница 29: ...ter LTE 302 yellow dot BB 1 10 digital output Side emitting Infrared LED designed to be paired with the LTR 301 Photo Transistor Infrared Receiver LTR 301 red dot BB 1 10 digital input Side sensing Infrared photo transistor designed to be paired with the LTE 302 Infrared Emitter Sample Code to Blink a Breadboard LED The following TI CE graphing calculator s program uses Send and Wait commands to b...
Страница 30: ...d components such as the built in speaker Breadboard Basics The breadboard makes it easy to connect the electronic components of a project by inserting component leads and jumper cables into pins on the breadboard The pins are arranged in groups of 5 The 5 pins in each group are electrically connected to each other at the back of the board You connect leads and cables together by inserting them in...
Страница 31: ...e 3 3V power pin and one 5 0V power pin Learn More For a list of precautions to take while using the breadboard and its components refer to General Precautions page 38 To find sample programs and details about programming breadboard components on the TI Innovator Hub see the TI Innovator Technology eGuide page ii Using an Auxiliary Power Source Normally the TI Innovator Hub and its connected compo...
Страница 32: ... as an auxiliary power source while it is being charged Connecting the Power Source 1 Identify the Micro connector on the USB Standard A to Micro auxiliary power cable 2 Insert the Micro connector into the PWR connector at the top of the Hub 3 Insert the free end of the cable the A connector into the USB port on the power source 4 Turn on the power source If using the TI Wall Charger plug it into ...
Страница 33: ...replace some or all of the curly quotes The syntax rules are slightly different between the TI CE graphing calculator and TI Nspire CX technology Code originally created for one platform may need to be modified to work on the other On the TI CE graphing calculator make sure you don t have a space character at the end of a line of code To find these trailing spaces in a line move the cursor to the ...
Страница 34: ...30 Learn More To find more troubleshooting information see the TI Innovator Technology eGuide page ii ...
Страница 35: ...y to TI Innovator Hub TI RGB Array has 16 programmable RGB LEDs Multiple applications Smart greenhouse Binary counter STEAM projects Coding lessons TI RGB Array Industrial design and markings Top view of TI RGB Array Bottom view identifying label TI RGB Array 31 ...
Страница 36: ... set of steps in this order to connect and use the TI RGB Array Connect the TI RGB Array to the TI Innovator Hub TI RGB Array Provided Cable TI Innovator Hub STEPS 1 Connect one end of the provided cable to the TI RGB Array port labeled 2 Connect the corresponding wires to the usable pins on the Hub labeled Red 5V power Blue BB5 analog out Yellow BB2 SPI signal Black GND ground ...
Страница 37: ...nnection lets the Hub receive power and exchange data with the host Note Some peripherals such as motors may require auxiliary power For more information see Using an Auxiliary Power Source page 27 Connecting to a Graphing Calculator 1 Identify the B connector on the USB Unit to Unit Mini A to Mini B cable Each end of this cable is embossed with a letter 2 Insert the B connector into the DATA port...
Страница 38: ...t already on The power LED on the Hub glows green to show that it is receiving power Connecting to a Computer Running TI Nspire CX Software 1 Identify the B connector on the USB Standard A to Mini B cable for Windows Mac Each end of this cable is embossed with a letter 2 Insert the B connector into the DATA port at the bottom of the TI Innovator Hub ...
Страница 39: ...tions to the various led binary slots on the TI RGB Array 0 through 15 RGB LED It also clears the various counters and sensor values For additional commands see education ti com eguide CONNECT RGB Command CONNECT RGB Command Syntax CONNECT RGB Code Sample Send CONNECT RGB Range N A Describe The CONNECT RGB command configures the TI Innovator Hub software to work with the TI RGB Array Result Connec...
Страница 40: ... no effect i e the brightness willbe at the default level Also note an error willbe indicated by a beep tone Type or Addressable Component Allcomponents of the TI RGB Array See Also New Commands to use with TI RGB Array SET RGB Command SET RGB n r g b Command Syntax SET RGB n r g b SET RGB eval n r g b Code Sample Send SET RGB 1 255 0 255 Range 0 15for n 0 255for r g b Describe The SET RGB command...
Страница 41: ...r g b Result ControlallLEDs in a single command Type or Addressable Component Allcomponents of the TI RGB Array READ RGB Command READ RGB Command Syntax Send READ RGB Code Sample Send READ RGB Get c Range 0 15for n 0 255for r g b Describe Returns the value of the current consumed by the TI RGB Array in mA Result Type or Addressable Component Allcomponents of the TI RGB Array See Also New Commands ...
Страница 42: ... 4AA battery holder included in the TI Innovator Breadboard Pack Ensure that the components receiving power from the Hub do not exceed the Hub s 1 amp power limit Avoid using the Hub to control AC electricity Breadboard Connector on the Hub Do not insert the leads of LEDs and other components directly into the Hub s Breadboard Connector Assemble the components on the breadboard and use the provide...
Страница 43: ...he TI Innovator Technology eGuide page ii The LED requires the correct polarity when inserted into its socket For details refer to the instructions for assembling the LED here No I O module can sink or source greater than 4 mA TI Innovator Rover Do not expose the Rover to temperatures above 140 F 60 C Do not disassemble or mistreat the Rover Do not put anything heavier than 1 Kg or 2 2 lbs on the ...
Страница 44: ...rs have sharp edges that should not be exposed Do not move Rover after executing a program The internal gyroscope may unintentionally try to get the Rover back on track using the initial location When inserting the Breadboard Ribbon Cable into the Hub Breadboard Connector it is critical that you insert the cable correctly Make sure the red dark wire pin is inserted into the 5v hole on the Hub s Br...
Страница 45: ...ucation ti com ti cares Select your country for technical and other support resources Service and Warranty education ti com warranty Select your country for information about the length and terms of the warranty or about product service Limited Warranty This warranty does not affect your statutory rights General Information 41 ...