Subscribed unsubscribe Subscribe Subscribe

TI-Nspire & SensorTag / 重力加速度から傾きを求める / 3 軸を使う

Triple-Axis Tilt Calculation: Reference: http://www.analog.com/media/en/technical-documentation/application-notes/AN-1057.pdf (Analog Devices) .lua require "bleCentral" bleState = "" peripheralState = "" myPeripheral = nil peripheralName =…

TI-Nspire & SensorTag / 重力加速度から角度を求める / 2 軸を使う

The output of an accelerometer can be converted to an angle of inclination. In this note, a Dual-Axis approach will be used to calculate an angle of inclination. .lua require "bleCentral" bleState = "" peripheralState = "" myPeripheral = n…

TI-Nspire & SensorTag / 重力加速度から傾きを求める / 1 軸だけ使う

The output of an accelerometer can be converted to an angle of inclination. In this note, a single axis will be used to calculate an angle of inclination. .lua require "bleCentral" bleState = "" peripheralState = "" myPeripheral = nil peri…

TI-Nspire & SensorTag / 9 軸センサーモジュール MPU9250 の値だけを取り出す

Reference: Scripting Tutorial - Lesson 36 Orientation of Axes (Source: https://www.invensense.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf) Setting the Configuration UUID (Source: CC2650 SensorTag User's Guide - Texas Instrument…

TI-Nspire & SensorTag / 気象データの長時間測定をおこなう

Weather data have been obtained from a TI SensorTag every ten minutes. Measurement Period: December 2nd, 2016 10:00 PM - December 3rd, 2016 10:00 AM The time unit is minute. .tns 20161202-03_weatherData.tns - Google ドライブ

TI-Nspire & SensorTag / 気象関連のデータをリアルタイムにグラフ化する

The following Lua script will obtain weather data from TI SensorTag. Those data will be stored into the native applications of TI-Nspire by the var.storeAt() function. The Graphs application can plot them as a scatter plot in real-time. .l…

TI-Nspire & SensorTag / 気象関連のデータを全部一度に取り出す

The following script will try to extract weather data from CC2650 SensorTag. .lua require "bleCentral" local bleState = "" local peripheralState = "" local myPeripheral = nil local peripheralName = "" -- Temperature TMP007 = { name = "TMP0…

TI-Nspire & SensorTag / 照度センサー OPT3001 の値だけを取り出す

(photo: http://www.ti.com/ww/en/wireless_connectivity/sensortag2015/tearDown.html) .lua -- Refere to http://compasstech.com.au/TNS_Authoring/Scripting/script_tut35.html. require "bleCentral" local bleState = "" local peripheralState = "" l…

TI-Nspire & SensorTag / 大気圧センサー BMP280 の値だけを取り出す

(photo: http://www.ti.com/ww/en/wireless_connectivity/sensortag2015/tearDown.html) .lua -- Refere to http://compasstech.com.au/TNS_Authoring/Scripting/script_tut35.html. require "bleCentral" local bleState = "" local peripheralState = "" l…

TI-Nspire & SensorTag / 湿度センサー HDC1000 の値だけを取り出す

(photo: http://www.ti.com/ww/en/wireless_connectivity/sensortag2015/tearDown.html) .lua -- Refere to http://compasstech.com.au/TNS_Authoring/Scripting/script_tut35.html. require "bleCentral" local bleState = "" local peripheralState = "" l…

TI-Nspire & SensorTag / 温度センサー TMP007 の値だけを取り出す

(photo: http://www.ti.com/ww/en/wireless_connectivity/sensortag2015/tearDown.html) .lua -- Refere to http://compasstech.com.au/TNS_Authoring/Scripting/script_tut34.html. require "bleCentral" local bleState = "" local peripheralState = "" l…

TI-Nspire & SensorTag / ボタンの状態を受信する / シンプル版

The previous script has been rewritten with no decorations. The process flow is as follows: 1. The ble.addStateListener() registers a state listener. 2. The bleCentral.startScanning() gets a scanner to scan peripherals. 3. The connect() ge…

TI-Nspire & SensorTag / ボタンの状態を受信する / compasstech.com.au 版

The following script, from http://compasstech.com.au/TNS_Authoring/Scripting/script_tut31.html, will try to read the state of SensorTag's buttons. Do not press and hold any button for too long, or powering off or mode changing will occur. …

TI-Nspire & BLE / SimpleLink SensorTag をつなぐ

The following script, which is from http://compasstech.com.au/TNS_Authoring/Scripting/script_tut30.html, will try to establish a connection with BLE devices. .lua -- Source: http://compasstech.com.au/TNS_Authoring/Scripting/script_tut30.ht…