Remote Controlled LaunchPad BLE Robot
AccelerometerYou need a mobile device for this
GyroscopeYou need a mobile device for this
MagnetometerYou need a mobile device for this
Compass HeadingYou need a mobile device for this
About this Utility
The SensorTag component of this web application is a demo of the "html-CC2650SensorTag.js", which shows the measurement result reported by a SimpleLink Bluetooth low energy/Multi-standard SensorTag (CC2650STK) in real time.
In order to try the SensorTag web application, turn on your CC2650 pressing the power button (on the right side of your CC2650). If your CC2650 is turned on successfully, you will find the green LED is blinking. Then press the "Connect" button above. Your Chrome will show you a dialog window which shows found devices. Selecting your CC2650, this web application will establish a connection with the CC2650, then show you the measurement results coming from your CC2650.
NOTE that connection to the SensorTag will NOT work on iPad with the WebBLE app.
IO Service / Simple Keys Service
Pressing the buttons below, you can turn on/off the LEDs and the buzzer.
When you press the buttons on the side of the CC2650, the indicators on either side of the picture will be highlighted.
This document should work well using the Google Chrome browser on a recent Mac (mid-2012+), Windows 10 (Chrome Canary), 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: prior to the recent Chrome 70, you did 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
One of the best ways to put your SensorTag and BLE-enabled LaunchPad to good use is to use the SensorTag to remotely control your LaunchPad robot!
Here we use the x and y accelerometer components to drive our BLE robot - and it is awesome.
Just connect both SensorTag and LaunchPad robot, tap the "Drive Using Accelerometer" button opposite and practise your remote control skills!
No SensorTag? No problem!
On a mobile device, just tap the button at the top of the page to turn on the internal accelerometer, connect your LaunchPad robot, and tap the Drive Using Accelerometer button.
OR... even simpler: Just connect your LaunchPad, tap the "Drive Using Accelerometer" button and use the acc_x and acc_y GeoGebra accelerometer sliders to control your Robot!
Build your own TI Launchpad Robot (Tap the image to switch robots!)
Build your own TI Innovator Hub Robot (Tap the image to switch robots!)
BLE TI Rover (Tap the image to switch robots!)
Follow the tutorial step-by-step directions to build and program your LaunchPad robot - and you can even use a TI-Innovator Hub or go the next step on and use the TI Innovator Hub Rover!
LaunchPad ROBOT CONTROLS
GeoGebra Control Panel
TI SensorTag CONTROLS
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 above.
- 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.
Copyright © 2016, Futomi Hatano, All rights reserved. Code licensed MIT