Compass Learning Technologies
ABN: 57 953 712 517
Home TI-Nspire Scripting HQ TI-Nspire STEM HQ My TI LaunchPad BLE Terminal

  

 
 

My TI LaunchPad BLE Terminal

This utility by Daniel Loginov offers Web BlueTooth support for BLE-enabled MCU boards such as the TI LaunchPad, as developed in CompassTech STEM HQ LaunchPad tutorials.

This document should work well using the Google Chrome browser on a recent Mac (mid-2012+), Android device or ChromeBook. It will work on iPad with the WebBLE app, but this is an experimental build and may not always work seamlessly. For example, I find that I need to CONNECT, then DISCONNECT, and then CONNECT again to establish a reliable connection using WebBLE. However, after this, it generally works well.

I got mine running on my Mac without too much trouble: you do need to go in and switch on Chrome’s experimental flag to support web Bluetooth but this was pretty straightforward.

You can enable it turning on the enable-experimental-web-platform-features flag: In the Chrome browser, type in the web address chrome://flags/. This action results in a list of experimental browser features available to you. You want the Web Bluetooth one.

If you have any questions or would like to share your experience with this utility, please drop me an email!

 
 

Back to Top

Make sure your LaunchPad with BLE module and suitable sketch is powered and close by, and tap on the button above to connect. Then try the following either by typing the given commands into the input box below, or scroll down to use the buttons which will automate this process. A log of the session will be stored on the text box opposite.

  • LED controls: r (red), g (green), b (blue)
  • Numbers such as 110 and 220 will play these tones if a speaker is attached.
  • If an HC-SR04 ultrasonic ranger is connected, then h will display the distance. If Grove Rangers are connected, then use d and/or D.
  • Use l for Light Intensity and s for Sound Intensity.
  • [I2C] Use p for Barometric Pressure ("p") and Temperature ("t"). and use x for 3-axis Accelerometer.
  • [Robot] F (Forward), B (Back), L (Left) and R (Right). You might also use A (Auto drive).
  • Use n to RESET.

Back to Top

  
  

Back to Top


Back to Top

  
  

ROBOT CONTROLS

  

 

 

  
  

  
  
  

Putting Your LaunchPad to Work

  

If you have a TI LaunchPad and appropriate sensors, then you can use these with the GeoGebra applet on this page to explore some interesting real world problems, such as those below.

If you don't have a LaunchPad, then try these problems using the sliders above and you will still get a feel for the real world applications.

  
  

1. Could I use an accelerometer to control a screen object?

Could I use the accelerometer as a mouse to control movement of a point?

Define a point, A, and use accelerometer sliders to move it around the screen.

 

 

3. Could I use a Barometer as a measure of Altitude?

Barometric pressure decreases with altitude, so there is a direct relationship. However, it also varies at different times for different weather conditions, so we need to CALIBRATE our readings.

We need to set the pressure at a baseline altitude (p0) - ideally, this would be the barometric pressure at sea level, but for our purposes this could be just the pressure when the SensorTag is on the floor!

Define a value, Altitude, and use the barometer slider to vary it.

 

 
  
  

For more great problems and more ways that you can use a TI SensorTag and other great STEM tools, visit CompassTech STEM HQ

  

Back to Top


 

My name:

Email:

  
  
 

Home TI-Nspire Scripting HQ TI-Nspire STEM HQ ← My TI LaunchPad BLE Terminal