Digital Mood Rings with TI-Nspire and TI-Innovator: A Fun STEM Project

I
n
t
r
o
d
u
c
t
i
o
n
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
w
i
t
h
 
T
I
-
N
s
p
i
r
e
 
a
n
d
T
I
-
I
n
n
o
v
a
t
o
r
 
H
u
b
 
s
t
u
d
e
n
t
 
S
T
E
M
 
p
r
o
j
e
c
t
1
Bring science and coding together (no coding experience
necessary) while developing a mood ring! The science of
color mixing is explored while determining the right body
temperature thresholds.
The project includes variables, loops, conditional statements,
Boolean operators and other fundamental concepts in
programming
R
e
c
o
m
m
e
n
d
e
d
 
P
a
t
h
 
f
o
r
 
T
I
-
I
n
n
o
v
a
t
o
r
 
P
r
o
j
e
c
t
s
2
10 Minutes of Code
for TI-Innovator™ Hub
Units 1-3
Digital Mood Ring
Project
Smart Irrigation Project
Pet Car Alarm
Four Chambered Heart
Music with Code
More in the works
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
C
h
a
l
l
e
n
g
e
s
C
h
a
l
l
e
n
g
e
 
1
:
 
 
U
s
e
 
S
E
T
 
C
O
L
O
R
 
t
o
 
e
x
p
l
o
r
e
 
u
s
i
n
g
 
t
h
e
 
c
o
l
o
r
 
L
E
D
.
 
T
r
y
 
t
o
 
f
i
n
d
 
t
h
e
 
R
G
B
 
v
a
l
u
e
s
o
f
 
a
l
l
 
t
h
e
 
c
o
l
o
r
s
 
i
n
 
t
h
e
 
m
o
o
d
 
c
h
a
r
t
.
C
h
a
l
l
e
n
g
e
 
2
:
 
U
s
e
 
D
i
s
p
A
t
 
c
o
m
m
a
n
d
 
t
o
 
d
i
s
p
l
a
y
 
y
o
u
r
 
n
a
m
e
 
a
t
 
s
e
v
e
r
a
l
 
l
o
c
a
t
i
o
n
s
 
o
n
 
t
h
e
 
s
c
r
e
e
n
.
C
h
a
l
l
e
n
g
e
 
3
:
 
 
U
s
e
 
a
 
F
o
r
.
.
E
n
d
F
o
r
 
l
o
o
p
 
t
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d
e
 
a
 
3
r
d
 
l
e
v
e
l
 
b
e
t
w
e
e
n
 
h
o
t
 
a
n
d
 
c
o
l
d
,
 
N
i
c
e
.
F
i
n
a
l
 
C
h
a
l
l
e
n
g
e
:
 
 
B
u
i
l
d
 
a
 
m
o
o
d
 
r
i
n
g
 
t
o
 
r
e
p
e
a
t
e
d
l
y
 
r
e
a
d
 
t
h
e
 
t
e
m
p
e
r
a
t
u
r
e
 
s
e
n
s
o
r
,
 
d
e
t
e
r
m
i
n
e
t
h
e
 
m
o
o
d
 
o
f
 
t
h
e
 
p
e
r
s
o
n
,
 
d
i
s
p
l
a
y
 
t
h
e
 
t
e
m
p
e
r
a
t
u
r
e
 
v
a
l
u
e
 
a
n
d
 
d
i
s
p
l
a
y
 
t
h
e
 
m
o
o
d
.
3
U
s
e
 
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
b
y
 
c
h
a
l
l
e
n
g
e
s
 
d
o
c
u
m
e
n
t
 
a
t
 
U
R
L
 
 
h
t
t
p
:
/
/
b
i
t
.
l
y
/
2
o
q
U
1
X
8
S
u
m
m
a
r
y
 
o
f
 
p
r
o
g
r
a
m
m
i
n
g
 
c
o
n
c
e
p
t
s
 
i
n
 
t
h
e
 
p
r
o
j
e
c
t
4
Control of a red-green-blue LED output
Send “SET COLOR 255 0 0”
Display of text strings, variable values and expressions
DispAt 5,“Temperature=“,t,”°C”
DispAt 4,”Time=“,n*0.5,”sec”
For loops to repeat a set of commands a specified
number of times
For n,1,10
    commands within loop
    EndFor
Connecting, reading and getting to a variable
temperature sensor inputs
Send “CONNECT TEMPERATURE 1 TO IN 1”
Send “READ TEMPERATURE 1”
Get t
Storing variables to variables using the assign operator,
:=
f:=9/5 x t+32
List variables of a set of values and accessing individual
elements of the list using the position number.
time:={0.5,1,1.5,2}
time[5]:=2.5
True/False comparison operators used in conditional
statements for program control: 
=,≠,<,≤,>,≥
Assignment of initial values to variables to give the program
known starting points.
key:=“ “
time:={ }
While loops to repeat a set of commands while a condition is
true
While key≠”esc”
      commands within loop
      EndWhile
Keyboard inputs using the TI-Nspire getKey command that
returns a text string of the name of the last key pressed
key:=getKey()
If-Then conditional statements that do a set of commands if a
condition is true and are skipped if the condition is false
If t<22 Then
     commands within If-Then block
     EndIf
Boolean operator 
and 
to require two conditional statements to
be true for the entire statement to be true
If t≥22 and t<25 Then
S
u
m
m
a
r
y
 
o
f
 
T
I
-
N
s
p
i
r
e
 
c
o
n
c
e
p
t
s
 
a
n
d
 
s
k
i
l
l
s
5
Home/On key to turn the calculator on and to return to
the home screen, which is a jumping off point for
managing the calculator.
TI-Nspire document files combine a set of pages
containing apps. Apps include calculator, program editor,
grapher and others.
Home screen document management includes
New document to start a new document file
My Documents to view and manage documents
Current returns to the document that is open
Select from menus using arrow keys and enter or by the
shortcut of the number or letter preceding the menu item
The keyboard is divided into three sections:
Alpha entry (bottom)
Math entry (middle)
Navigation and document management (top)
Press and release the ctrl key to access function labeled
above the keys.
esc key to back out of menus and dialogues
ctrl-z to undo, ctrl-c to copy, ctrl-x to cut, ctrl-v to paste
ctrl-s to save the document
The delete key is a destructive backspace
ctrl-doc key (+page) to add a page to a document
Move from page to page in a document by using ctrl left arrow
and ctrl right arrow or by using the touchpad to move the
pointer to the page number tab and center clicking
The menu key brings up selections that are available in each
app
Use the program editor app to create and edit programs.
Use Check Syntax and Store to update changes made to
programs before running the program.
ctrl-r and ctrl-b are useful shortcuts on the Check Syntax
and Store menu.
ctrl-r, Run, checks syntax, stores and pastes the program
name to a calculator page
Programs are run on the calculator app
Type or paste the program name on a blank row, then press enter to
run the program
Use the var, variable, key to view and access the variables in
a document
Use the catalog (book symbol) key to see a menu of all the
functions in the calculator
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
(
i
n
t
r
o
d
u
c
t
i
o
n
 
t
o
 
S
T
E
M
 
a
n
d
c
o
d
i
n
g
 
P
r
o
j
e
c
t
s
 
f
o
r
 
a
l
l
 
l
e
v
e
l
s
)
Bring science and coding together (no coding
experience necessary) while developing a mood
ring! Explore the science of color mixing while
determining the right body temperature
thresholds.
6
This is an excellent first TI-Innovator STEM and coding project. The project includes variables, loops,
conditional statements, Boolean operators and other fundamental programming concepts.
U
s
e
 
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
b
y
 
c
h
a
l
l
e
n
g
e
s
 
d
o
c
u
m
e
n
t
 
a
t
 
U
R
L
 
 
h
t
t
p
:
/
/
b
i
t
.
l
y
/
2
o
q
U
1
X
8
F
i
n
a
l
 
C
h
a
l
l
e
n
g
e
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
w
i
t
h
 
T
I
-
N
s
p
i
r
e
 
a
n
d
T
I
-
I
n
n
o
v
a
t
o
r
 
H
u
b
 
s
t
u
d
e
n
t
 
S
T
E
M
 
p
r
o
j
e
c
t
7
F
i
n
a
l
 
C
h
a
l
l
e
n
g
e
:
 
B
u
i
l
d
 
a
 
m
o
o
d
 
r
i
n
g
 
t
o
 
r
e
p
e
a
t
e
d
l
y
 
r
e
a
d
 
a
t
e
m
p
e
r
a
t
u
r
e
 
s
e
n
s
o
r
,
 
d
e
t
e
r
m
i
n
e
 
t
h
e
 
m
o
o
d
 
o
f
 
t
h
e
 
p
e
r
s
o
n
,
d
i
s
p
l
a
y
 
t
h
e
 
t
e
m
p
e
r
a
t
u
r
e
 
v
a
l
u
e
 
a
n
d
 
d
i
s
p
l
a
y
 
t
h
e
 
m
o
o
d
.
C
h
e
n
i
l
l
e
 
W
i
r
e
 
(
A
K
A
 
P
i
p
e
 
C
l
e
a
n
e
r
)
8
Send "CONNECT TEMPERATURE 1 TO IN 1"
key
:=” "
DispAt 8,”Press esc key to quit”
While key≠"esc”
 key
:=getKey()
 Send "READ TEMPERATURE 1”
 Get 
t
 DispAt 4,"Temp =",
t
,"°C”
 If 
t
<24 Then
  Send "SET COLOR 0 0 0”
  DispAt 5,"You are STRESSED”
 EndIf
 If 
t
≥24 and 
t
<26 Then
  Send "SET COLOR 255 0 0”
  DispAt 5,"You are NERVOUS”
 EndIf
If 
t
≥26 Then
  Send "SET COLOR 255 0 255”
  DispAt 5,"You are CALM”
 EndIf
Wait 0.5
EndWhile
Send "SET COLOR 0 0 0”
9
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
f
o
r
 
T
I
-
N
s
p
i
r
e
S
i
m
p
l
e
 
E
x
a
m
p
l
e
 
P
r
o
g
r
a
m
Send "CONNECT TEMPERATURE 1 TO IN 1"
key
:=” "
DispAt 8,”Press esc key to quit”
While key≠"esc”
 key
:=getKey()
 Send "READ TEMPERATURE 1”
 Get 
t
 DispAt 4,"Temp =",
t
,"°C”
 If 
t
<24 Then
  Send "SET COLOR 0 0 0”
  DispAt 5,"You are STRESSED”
 EndIf
 If 
t
≥24 and 
t
<26 Then
  Send "SET COLOR 255 0 0”
  DispAt 5,"You are NERVOUS”
 EndIf
If 
t
≥26 Then
  Send "SET COLOR 255 0 255”
  DispAt 5,"You are CALM”
 EndIf
Wait 0.5
EndWhile
Send "SET COLOR 0 0 0”
10
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
f
o
r
 
T
I
-
N
s
p
i
r
e
S
i
m
p
l
e
 
E
x
a
m
p
l
e
 
P
r
o
g
r
a
m
S
e
t
u
p
W
h
i
l
e
 
L
o
o
p
C
l
e
a
n
 
u
p
I
n
p
u
t
s
O
u
t
p
u
t
s
O
n
 
t
o
 
t
h
e
 
f
i
n
a
l
 
c
h
a
l
l
e
n
g
e
D
i
g
i
t
a
l
 
M
o
o
d
 
R
i
n
g
 
w
i
t
h
 
T
I
-
N
s
p
i
r
e
 
a
n
d
T
I
-
I
n
n
o
v
a
t
o
r
 
H
u
b
 
s
t
u
d
e
n
t
 
S
T
E
M
 
p
r
o
j
e
c
t
11
Slide Note
Embed
Share

Bring science and coding together with the Digital Mood Ring project using TI-Nspire and TI-Innovator Hub. Dive into color mixing, body temperature thresholds, and essential programming concepts such as variables, loops, conditional statements, and Boolean operators. Follow recommended paths, tackle challenges like setting LED colors and using loops, and build a mood ring to determine mood based on temperature readings. Explore the world of science and programming in a hands-on and engaging way without prior coding experience.

  • STEM project
  • Digital Mood Ring
  • TI-Nspire
  • TI-Innovator Hub
  • Coding

Uploaded on Sep 12, 2024 | 3 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. ? Introduction Digital Mood Ring with TI-Nspire and TI-Innovator Hub student STEM project Bring science and coding together (no coding experience necessary) while developing a mood ring! The science of color mixing is explored while determining the right body temperature thresholds. The project includes variables, loops, conditional statements, Boolean operators and other fundamental concepts in programming 1

  2. Recommended Path for TI-Innovator Projects Smart Irrigation Project Pet Car Alarm 10 Minutes of Code for TI-Innovator Units 1-3 Digital Mood Ring Project Hub Four Chambered Heart Music with Code More in the works 2

  3. Digital Mood Ring Challenges Challenge 1: Use SET COLOR to explore using the color LED. Try to find the RGB values of all the colors in the mood chart. Challenge 2: Use DispAt command to display your name at several locations on the screen. Challenge 3: Use a For..EndFor loop to display the numbers 1 through 10. Challenge 4: Connect a temperature sensor to the TI-Innovator Hub and display the temperature on the calculator. Challenge 5: Use a loop to read and display temperature. Challenge 5 Extension (Optional): Use a loop to read, display and log into list arrays for time and temperature. Graph the result. Challenge 6: Use a While..EndWhile loop along with getKey() command to monitor temperature and make a decision to display a message, Hot or Cold . Then modify your program to include a 3rdlevel between hot and cold, Nice . Final Challenge: Build a mood ringto repeatedly read the temperature sensor, determine the mood of the person, display the temperature value and display the mood. 3 Use Digital Mood Ring by challenges document at URL http://bit.ly/2oqU1X8 Use Digital Mood Ring by challenges document at URL http://bit.ly/2oqU1X8

  4. Summary of programming concepts in the project True/False comparison operators used in conditional statements for program control: =, ,<, ,>, Control of a red-green-blue LED output Send SET COLOR 255 0 0 Assignment of initial values to variables to give the program known starting points. key:= time:={ } Display of text strings, variable values and expressions DispAt 5, Temperature= ,t, C DispAt 4, Time= ,n*0.5, sec For loops to repeat a set of commands a specified number of times For n,1,10 commands within loop EndFor While loops to repeat a set of commands while a condition is true While key esc commands within loop EndWhile Connecting, reading and getting to a variable temperature sensor inputs Send CONNECT TEMPERATURE 1 TO IN 1 Send READ TEMPERATURE 1 Get t Keyboard inputs using the TI-Nspire getKey command that returns a text string of the name of the last key pressed key:=getKey() If-Then conditional statements that do a set of commands if a condition is true and are skipped if the condition is false If t<22 Then commands within If-Then block EndIf Storing variables to variables using the assign operator, := f:=9/5 x t+32 Boolean operator and to require two conditional statements to be true for the entire statement to be true If t 22 and t<25 Then List variables of a set of values and accessing individual elements of the list using the position number. time:={0.5,1,1.5,2} time[5]:=2.5 4

  5. Summary of TI-Nspire concepts and skills ctrl-doc key (+page) to add a page to a document Home/On key to turn the calculator on and to return to the home screen, which is a jumping off point for managing the calculator. Move from page to page in a document by using ctrl left arrow and ctrl right arrow or by using the touchpad to move the pointer to the page number tab and center clicking TI-Nspire document files combine a set of pages containing apps. Apps include calculator, program editor, grapher and others. The menu key brings up selections that are available in each app Home screen document management includes New document to start a new document file My Documents to view and manage documents Current returns to the document that is open Use the program editor app to create and edit programs. Use Check Syntax and Store to update changes made to programs before running the program. ctrl-r and ctrl-b are useful shortcuts on the Check Syntax and Store menu. ctrl-r, Run, checks syntax, stores and pastes the program name to a calculator page Select from menus using arrow keys and enter or by the shortcut of the number or letter preceding the menu item The keyboard is divided into three sections: Alpha entry (bottom) Math entry (middle) Navigation and document management (top) Programs are run on the calculator app Type or paste the program name on a blank row, then press enter to run the program Press and release the ctrl key to access function labeled above the keys. Use the var, variable, key to view and access the variables in a document esc key to back out of menus and dialogues Use the catalog (book symbol) key to see a menu of all the functions in the calculator ctrl-z to undo, ctrl-c to copy, ctrl-x to cut, ctrl-v to paste ctrl-s to save the document The delete key is a destructive backspace 5

  6. Digital Mood Ring (introduction to STEM and coding Projects for all levels) Bring science and coding together (no coding experience necessary) while developing a mood ring! Explore the science of color mixing while determining the right body temperature thresholds. ? This is an excellent first TI-Innovator STEM and coding project. The project includes variables, loops, conditional statements, Boolean operators and other fundamental programming concepts. This is an excellent first TI-Innovator STEM and coding project. The project includes variables, loops, conditional statements, Boolean operators and other fundamental programming concepts. 6 Use Digital Mood Ring by challenges document at URL http://bit.ly/2oqU1X8 Use Digital Mood Ring by challenges document at URL http://bit.ly/2oqU1X8

  7. ? Final Challenge Digital Mood Ring with TI-Nspire and TI-Innovator Hub student STEM project Final Challenge: Build a mood ringto repeatedly read a temperature sensor, determine the mood of the person, display the temperature value and display the mood. 7

  8. Chenille Wire (AKA Pipe Cleaner) 8

  9. Digital Mood Ring for TI-Nspire Simple Example Program Send "CONNECT TEMPERATURE 1 TO IN 1" key:= " DispAt 8, Press esc key to quit While key "esc key:=getKey() Send "READ TEMPERATURE 1 Get t DispAt 4,"Temp =",t," C If t<24 Then Send "SET COLOR 0 0 0 DispAt 5,"You are STRESSED EndIf If t 24 and t<26 Then Send "SET COLOR 255 0 0 DispAt 5,"You are NERVOUS EndIf If t 26 Then Send "SET COLOR 255 0 255 DispAt 5,"You are CALM EndIf Wait 0.5 EndWhile Send "SET COLOR 0 0 0 9

  10. Digital Mood Ring for TI-Nspire Simple Example Program Send "CONNECT TEMPERATURE 1 TO IN 1" key:= " Setup DispAt 8, Press esc key to quit While key "esc key:=getKey() Send "READ TEMPERATURE 1 Inputs Get t DispAt 4,"Temp =",t," C If t<24 Then Send "SET COLOR 0 0 0 DispAt 5,"You are STRESSED While Loop EndIf Outputs If t 24 and t<26 Then Send "SET COLOR 255 0 0 DispAt 5,"You are NERVOUS EndIf If t 26 Then Send "SET COLOR 255 0 255 DispAt 5,"You are CALM EndIf Wait 0.5 EndWhile Clean up Send "SET COLOR 0 0 0 10

  11. ? On to the final challenge Digital Mood Ring with TI-Nspire and TI-Innovator Hub student STEM project 11

Related


More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#