MetaSensors, comes in a small package that includes motion and environmental sensors. Our Sensors communicate to Devices including Smartphone, Tablets, Computers, Gateway Hubs and RaspberryPis using Bluetooth Low Energy.

1. Fitbit Sense手表

EDA(即皮肤电活动)传感器基本上可以跟踪皮肤汗液中的电变化,可以用来测量压力;PurePulse 2.0,CG传感器首次可以跟踪心房颤动(AFib)的征兆;皮肤温度变化(这可能表明疾病,发烧或新月经的开始);SpO2血氧跟踪,Premium用户将其数据包括在趋势中。当然,还有睡眠追踪功能,以及用于追踪运动过程的车载GPS;添加了内置扬声器和麦克风,用于免提语音呼叫和响应消息(如果您使用的是Android设备),并且还集成了Amazon Alexa和Google Assistant。

  • https://dev.fitbit.com/build/guides/sensors/ 开发文档 比较详细

  • fitbit pushed:>2018-10-10 1728

  • https://dev.fitbit.com/build/guides/command-line-interface/

  • Fitbit user account. Sign up here.
  • A Fitbit OS device, or the Fitbit OS Simulator for Windows or macOS.
  • The latest Fitbit mobile application for Android, iOS or Windows Phone, paired with your Fitbit device.
  • A computer with access to Fitbit Studio.
  • A wireless network to provide the Fitbit device a connection to the internet.

1.1. FileStructure

Appliaction:

  • /app/: Code in this folder has access to the Device API and is capable of interacting directly with the presentation layer, communicating with the companion, or reading and writing settings.
  • /common/: contains the companion logic which executes on the mobile device. Code in this folder has access to the Companion API and is capable of making direct requests to the internet, and communicating with the application.
  • /resources/index.view : Fitbit SVG file where the application user interface markup is define
  • /resources/widget.defs: which system widgets are available for use within the index.view file.
  • /resources/*.css: creating a <link> in the index.view file;
  • /resouces/*.png: referencing them within an <image> element in the index.view.

1.1.2. Communication

  • using mobile

  • using Messaging: websocket api; provides a synchronous socket based communications channel for sending and receiving simple messages while the app is running on the device.
  • file transfer: an asynchronous mechanism for sending binary or text files from the companion, and receiving them on the device, even if the app is not currently running on the device.

1.1.3. Companion

  • Communicate with Web APIs.
  • Download images or other resources from the internet.
  • Utilize the mobile device GPS sensor.
  • Persist data on the mobile device.
  • Perform functions whilst the device application is not active.
  • Utilize the Settings API
  • Periodic Wake Interval
import { me as companion } from "companion";if (!companion.permissions.granted("run_background")) {console.warn("We're not allowed to access to run in the background!");
}
const MILLISECONDS_PER_MINUTE = 1000 * 60;
// Cancel the wakeInterval timer
//companion.wakeInterval = undefined
// Tell the Companion to wake after 30 minutes
companion.wakeInterval = 30 * MILLISECONDS_PER_MINUTE;
// Listen for the event
companion.addEventListener("wakeinterval", doThis);
// Event happens if the companion is launched and has been asleep
if (companion.launchReasons.wokenUp) {doThis();
}
function doThis() {console.log("Wake interval happened!");
}
  • Location change listener
import { me as companion } from "companion";
if (!companion.permissions.granted("access_location") ||!companion.permissions.granted("run_background")
) {console.error("We're not allowed to access to GPS Position!");
}
// Don't monitor for significant changes in physical location
//companion.monitorSignificantLocationChanges = false
// Monitor for significant changes in physical location
companion.monitorSignificantLocationChanges = true;
// Listen for the event
companion.addEventListener("significantlocationchange", doThis);
// Event happens if the companion is launched and has been asleep
if (companion.launchReasons.locationChanged) {doThis(companion.launchReasons.locationChanged.position);
}
function doThis(position) {console.log(`Significant location change! ${JSON.stringify(position)}`);
}

1.1.4. Geolocation

import { geolocation } from "geolocation";
//monitor location
//var watchID = geolocation.watchPosition(locationSuccess, locationError, { timeout: 60 * 1000 });
geolocation.getCurrentPosition(locationSuccess, locationError, {timeout: 60 * 1000
});
function locationSuccess(position) {console.log("Latitude: " + position.coords.latitude,"Longitude: " + position.coords.longitude);
}function locationError(error) {console.log("Error: " + error.code, "Message: " + error.message);
}

1.1.5. app Gallery

  • https://dev.fitbit.com/build/guides/publishing/

1.1.6. Sensors

import { Accelerometer } from "accelerometer";
import { display } from "display";if (Accelerometer) {const accel = new Accelerometer({ frequency: 1 });accel.addEventListener("reading", () => {console.log(`ts: ${accel.timestamp}, \x: ${accel.x}, \y: ${accel.y}, \z: ${accel.z}`);});display.addEventListener("change", () => {// Automatically stop the sensor when the screen is off to conserve batterydisplay.on ? accel.start() : accel.stop();});accel.start();
}

2. 三星Tizen 开发

  • https://developer.tizen.org/development/sample/native/System/Sensor
  • Tizen pushed:>2018-10-10 667

3. MetaSense 系列

  • metasense pushed:>2018-10-10 6repository

預測發生心肌梗塞後的死亡率指標,以及末期肝癌病患的預後。皮膚的電阻值取決於皮膚的潮濕度、血管收縮與舒張、角質層的厚薄、化學物質及塵埃等因素,當個體處於緊張、憂慮及恐懼的情緒狀態時,可能因腎上腺素分泌而使交感神經的作用增強,促進汗腺的分泌與血管收縮,使皮膚電阻下降。因此MetaGSR不但可以用來測量配戴者的心情,甚至可以做為簡易測謊儀器。

3.1. MetaSensors

1.1. MetaMotionR - MMR

mainly used in movement recognition applications such as a golf swing tracker.

1.2. MetaMotionC - MMC

mainly used in clinical trials where a coin cell battery is safe and disposable.

1.3. MetaTracker - MTR

3.2. MetaBase

  • MetaBase is a free iOS, Android, or Windows App available on the App store.
  • MetaBase can connect up to 3 sensors at the same time.
  • Sensor data is timestamped and easy to sync.

3.3. MetaWear APIs

accessing sensor data, setting up recordings, turning on LEDs and so on.

MetaWear APIs can program the Sensors to do things such as log accelerometer data at 10Hz for 1 hour.

The following languages are supported: Swift, C++, Javascript, Java, C# and Python.

The following platforms are supported: Windows, iOS, Android, and Linux.

3.4. MetaHub Gateway

MetaHub is a Bluetooth to WiFi/LAN hub gateway that is built on the RaspberryPi.

MetaHub is a link between MetaSensors and other systems (usually a cloud/server).

MetaHub can communicate with up to 10 MetaSensors at the same time using multiple Bluetooth dongles.

graph sensor data live on screen, store sensor data locally, or push sensor data to the Cloud (if connected to the internet).

树莓派+像店家索要镜像

3.5. MetaCloud

  • MetaCloud stores all of your MetaSensor data in the cloud (backed by Amazon AWS).
  • MetaCloud is optional (you can use your own cloud if you want).
  • MetaCloud is a Cloud based subscription service starting at $5 per month.

3.6. Python API

  1. MetaWear-SDK-Cpp -> The C++ metawear library pointer
  2. examples -> This is where we have many Python examples for you to look at
  3. mbientlab -> This is where the bindings reside
  4. Raspbian Buster with desktop 或者ubuntu 镜像
hcitool dev  #查看蓝牙设备
sudo apt install bluetooth pi-bluetooth bluez blueman bluez-utils
systemctl status bluetooth
sudo /etc/init.d/bluetooth restart
lsusb  #查看是否检测到蓝牙设备
agent on  #allow us to search for and pair with other Bluetooth devices.
scan on  #By scanning for devices, we can retrieve their MAC address and begin the process of pairing
#使用python3.6 进行开发
#relative developing dependency
sudo apt-get install build-essential
sudo apt-get install bluez
sudo apt-get install libboost-all-dev
sudo apt-get install libbluetooth-dev
#查看是否有编译工具,如果没有则使用apt进行下载
which g++
which gcc
which make
sudo apt-get install -y gcc-6 g++-6 clang-3.8
sudo apt-get install git-core#use pip to install the metawear python package.
pip3 install metawear
pip3 install metawear --upgrade
pip3 list --user warble   (local)
pip3 list warble          (global / sudo)# Download the Python API Code Repositorygit clone https://github.com/mbientlab/MetaWear-SDK-Python.git
# example
from mbientlab.metawear import MetaWear, libmetawear
from mbientlab.metawear.cbindings import *
from mbientlab.warble import *
from mbientlab.metawear import *
from threading import Evente = Event()
address = None
def device_discover_task(result):global addressif (result.has_service_uuid(MetaWear.GATT_SERVICE)):# grab the first discovered metawear deviceaddress = result.mace.set()BleScanner.set_handler(device_discover_task)
BleScanner.start()
e.wait()
BleScanner.stop()device = MetaWear(address)
device.connect()
pattern= LedPattern(repeat_count= Const.LED_REPEAT_INDEFINITELY)
libmetawear.mbl_mw_led_load_preset_pattern(byref(pattern), LedPreset.BLINK)
libmetawear.mbl_mw_led_write_pattern(device.board, byref(pattern), LedColor.GREEN)
libmetawear.mbl_mw_led_play(device.board)

公司网址:

  • https://github.com/mbientlab
  • https://mbientlab.com/store/ 商店链接国内无法购买

4. 小米

硬件使用的是Miband3,用小米手环3来获取用户的睡眠数据。因为小米并没有提供小米手环的接口供开发者来调用 ,所以得多一步周转环节,利用小米手环的配套运动App:小米运动(MiFit)关联到谷歌健康(GoogleFit)上,当MiFit同步到手环上的数据之后,便会将数据同步到GoogleFit上面,如此便能够利用GoogleFit 提供给开发者的请求接口,将需要的数据从GoogleFit上获得到。

  • https://dev.mi.com/docs/micloud/health/

5. GoFit

  • https://github.com/GO-LiFE/GoFIT_SDK_Android 記錄包括步數、行走距離、熱量消耗及睡眠時間及品質

【AIOT】手表调研相关推荐

  1. 5G+AIoT时代,为什么IoT产品经理大有可为?

    作者:程力 来源:华章计算机(ID:hzbook_jsj) 伴随着物联网概念的兴起以及智能可穿戴设备的率先爆发,IoT产品经理逐渐被人们熟知,他们是这个时代新兴产品经理的代表之一.但仍有很多人认为,I ...

  2. 【观察】智能耳机:搭上AIoT的新风口,将迸发何种新能量?

    申耀的科技观察 读懂科技,赢取未来! 几乎没有人会相信智能耳机能成为刚需,包括那些做它的人. 实际上,即便扩大到整个耳机品类,眼下不少人对智能耳机的认知依然还停留在"购买手机的赠品" ...

  3. 2022-2028年中国散热产业深度调研及投资前景预测报告(全卷)

    [报告类型]产业研究 [出版时间]即时更新(交付时间约3个工作日) [发布机构]智研瞻产业研究院 [报告格式]PDF版 本报告介绍了散热行业相关概述.中国散热行业运行环境.分析了中国散热行业的现状.中 ...

  4. 2022-2028年中国操作系统行业深度调研及投资前景预测报告

    [报告类型]产业研究 [出版时间]即时更新(交付时间约3个工作日) [发布机构]智研瞻产业研究院 [报告格式]PDF版 本报告介绍了操作系统行业相关概述.中国操作系统行业运行环境.分析了中国操作系统行 ...

  5. AIoT 2020 年分析

    AIoT 2020 年分析 2020年,从智能手机到智能手表,从智能摄像头到智能汽车,随着AI.芯片.云计算.通信等基础技术的逐渐成熟,又一个行业来到了历史性的时刻--AIoT. 从"万物互 ...

  6. 阿里云智能 AIoT 首席科学家丁险峰:阿里全面进军IoT这一年 | 问底中国IT技术演进...

    作者 | 屠敏 受访者 | 丁险峰 来源 | CSDN(ID:CSDNnews) 「忽如一夜春风来,千树万树梨花开.」 从概念的流行.至科技巨头的相继入局.再到诸多应用的落地,IoT 的发展终于在万事 ...

  7. 当顶流厂商谈论智能手表,他们到底在谈论什么

    伊瓢 雷刚 发自 凹非寺 量子位 报道 | 公众号 QbitAI 智能手机以iPhone和安卓来划分阵营. 而智能手表及可穿戴,顶流玩家最具代表性的就是Apple Watch和华米. 但问题也来了-- ...

  8. 富满电子鸿蒙系统,电子行业周报:HARMONYOS+2.0助力AIOT生态体系发展

    投资要点 本周市场行情回顾:本周上证指数上涨2.09%,深证成指上涨1.97%,创业板指上涨4.24%.电子行业整体上涨,本周申万电子指数上涨1.86%,行业涨跌幅在所有一级行业中排序15/28.本周 ...

  9. 到底什么是AI0T?现在不少头部企业都在打造AIOT概念,今天我们就梳理一下AIOT产业都包含了哪些,启明云端在AIOT中,能提供哪些解决方案?

    什么是AIOT AIoT(人工智能物联网)=AI(人工智能)+IoT(物联网).AIoT融合AI技术和IoT技术,通过物联网产生.收集来自不同维度的.海量的数据存储于云端.边缘端,再通过大数据分析,以 ...

  10. 【市场调研与分析】Intel发力移动安全领域——By Me at 20140613

                                                    [市场调研与分析]Intel发力移动安全领域                               ...

最新文章

  1. 2022-2028年中国氮肥行业投资分析及前景预测报告
  2. Ubuntu 被曝严重漏洞:切换系统语言+输入几行命令,就能获取 root 权限
  3. 鲁亿通欲收购昇辉控股 跨界布局照明、智慧城市领域
  4. Python安装模块出错(No module named setuptools)解决方法
  5. java利用kafka生产消费消息
  6. BloomFilter——大规模数据处理利器
  7. Zabbix 最新版 5.2 版本源码安装
  8. 9 年前他用 1 万个比特币买两个披萨, 9 年后他把当年的代码卖给苹果, 成 GPU 挖矿之父...
  9. 迁移学习全面指南:概念、应用、优势、挑战
  10. solr java 设置 store_Solr 18 - 通过SolrJ局部更新Solr中的文档 (原子操作、非覆盖操作)...
  11. 综述 | 基于特征的视觉同步定位和建图
  12. 圆柱壳matlab,[matlab遗传算法工具箱论文]基于遗传算法和BP神经网络的圆柱壳大...
  13. kali里的powersploit、evasion、weevely等工具的杂项记录
  14. 如何彻底卸载云上PDF?一个非常简单的教程
  15. 【JS】1007- JavaScript实现网页截屏的5种方法
  16. cmd脚本win10使用schtasks命令实现定时任务
  17. 电脑被格式化后数据还能恢复吗【图文】
  18. mipi传输距离3米_弱电网络工程中网线大于100米怎么办?离300米远用什么线缆较好?...
  19. 【Linux rar,unrar命令安装详细实践】
  20. idea修改单行注释颜色

热门文章

  1. “安卓之父”因性侵丑闻离职谷歌获9000万美元补偿,曝二次离职再捞900万
  2. 微型计算机原理(第六版)姚向华编著(转载请注明出处---https://www.cnblogs.com/qingl)...
  3. bat运行Java程序
  4. SAP HANA语法中单引号、双引号用法
  5. 想转行学IT!0基础应该要学习哪个技术
  6. Blender建模练习:人物模型多边形建模流程图解(二形体调整篇)
  7. 转载:如果我的生命里可以遇到一个这样的MM.夫复何求!
  8. WEB数据挖掘相关术语整理
  9. http://www.jobui.com/mianshiti/it/java/6782/
  10. JAVA Swing万年历