TI-Innovator Ranger Demo and Code

A few weeks back, I added my review of the TI-Innovator. I had a couple of demos in that review, and I’ve been adding an explanation and code so interested teachers and students can try them out in their own classrooms. In this post, I’m taking the TI-Innovator Ranger for a spin. The Ranger technology is nothing new for Texas Instruments calculators, going all the way back to the TI-83 family of devices. A simple explanation of the Ranger is that it sense out a pulse of sound and then measures how that sound bounces back to see how close the nearest object located in front of it is, much like sonar.

In the past, Texas Instruments has provided apps and programs to use on TI devices that work with the Ranger to have your graphing calculator generate plots like distance vs. time or velocity vs. time. I’ve used this in my classes from middle school through high school to discuss concepts like rates of change.

There are some importance differences with the TI-Innovator Ranger. First, it is a much smaller device that connects to the the Innovator Hub. Second, the expectation is that a user will write their own program to use its measurements rather than one provided by Texas Instruments. That’s exactly what I’ve done in this demo video. Rather than create a distance vs. time plot, I’ve used the speaker in the TI-Innovator Hub to give audio feedback. ¬†Here’s the video:

How did I accomplish this? In fact it took only about 10 lines of code to get this type of response from the Innovator, all of which would be appropriate for an Algebra I class. Essentially, I had the TI-Nspire get a reading of the distance, d, detected by the ranger. Then, I had a very simple linear function that took that distance and created a new variable, f, larger (higher) for small distances and smaller (lower) for larger distances. The Hub is then instructed to play a brief tone of that frequency. To make this behavior repeat for a while, I wrapped it in a For loop that iterates 200 times.

Define rngalm()=
Define d=0
For n,1,200
Get d
Define f=1000-d*300
Send "SET SOUND eval(f) TIME .1"
Disp d

Again, I think all that given a little time to break this into its components, all of this could be understood by a 14 year old as one of her first exposures to programming. This is what makes the TI-Innovator an attractive device in the mathematics or science classroom, its ability to combine simple math and science concepts with coding.

Related articles:

Lucas Allen

Lucas Allen

For more than a decade, Lucas Allen was a high school math teacher and math team coach in Illinois. His 2012 Morton High School math team won the Illinois state championship. Recently, he made the jump from public education to the corporate world and is now working as a data scientist. He is interested in just about all forms of technology, including the TI-Nspire, Nexus devices, R, MOOCs, and more. You can follow , and if you are nice, he will probably follow you back.

More Posts - Website

Follow Me:
TwitterFacebookGoogle Plus

Sorry, comments are closed for this post.