flutter_blue
适用于 Android 和 iOS 的 Flutter 插件,用于连接和通信蓝牙低功耗设备
一种腕戴式设备和监测系统为患有身体聚焦重复行为的人实现用户文件内存管理系统
适用于 Android 和 iOS 的 Flutter 插件,用于连接和通信蓝牙低功耗设备
v33.2.6一个 Flutter 图表库,包含诸如笛卡尔图和圆形图等数据可视化组件,用于创建实时、交互式、高性能、动画图表。
v2.0.8一个功能强大的网格布局系统,专为复杂的用户界面设计而优化。
以下为英文项目原文快照,最新内容请访问 GitHub。
Build Status Platform Version License Repo Size Docs
These are repetitive self-grooming behaviors where an individual damages their appearance or causes physical harm, often as a coping mechanism for stress or anxiety. Common examples includes:
It comprises three (3) main components necessary for its operation: the wearable device, mobile application, and web server.
The wearable device is the main component that classifies the anticipatory behavior of the user. The microcontroller used is the Arduino Nano 33 BLE Sense, the wearable needs to connect to the web server to access the file of the user.
However, this microcontroller only supports Bluetooth Low Energy (BLE) and does not support connecting via the internet. Therefore, the I used a bridge to support connection to the server through a mobile application connecting via BLE.
To maintain communication without relying on a physical server, I have integrated the server into the cloud. This allows users to effectively utilize the system over the internet.
https://github.com/user-attachments/assets/901ff85a-3107-4638-b206-344b27f8ff6d
The design for building the mobile application is shown. I carefully considered the simplicity of the mobile application for user experience. The system views or the pages serve as the frontend that divides its individual functions for the application.
Accounts management, file management, and other API workflow are done in the backend. These workflows effectively reduce the complexity of the user interface making it easier to use. The mobile application also has its limitations for creating machine learning components.
Therefore, I used a server to connect the application and access the database using the Hypertext Transfer Protocol (HTTP) services.
https://github.com/user-attachments/assets/8c44bf6d-42c8-4d04-84c7-fbcc54fde104
| BLE DISTANCE (FEET) | BATTERY CAPACITANCE (mAh) | BATTERY LOAD CURRENT (mA) | FILE TRANSFER SPEED (BYTE/S) |
|---|---|---|---|
| 67 | 1000 | 30 | 380 |
The primary tasks of the microcontroller include enabling the functionality of other components, establishing connections via BLE, and performing calculations based on sensor readings.
The sensors used include the accelerometer and gyroscope of the LSM9DS1 inertial measurement unit (IMU) sensor, the VL53L0X time-of-flight (ToF) distance sensor, and the MLX90614 infrared (IR) temperature sensor, which are crucial for detecting user’s anticipating behavior.
The data are then used to classify anticipating behavior and use this as a signal to operate the vibration and passive buzzer.
https://github.com/user-attachments/assets/854de24f-7be4-4dee-a14c-a28b166f9861
https://github.com/user-attachments/assets/de60b270-b047-4fb0-8bff-7942f879fb32
The purpose of this app is to get input values from the wearable and train it using the Feedforward Neural Network on the web then sends the machine learning model file contents through BLE. User can also see their improvements weekly or monthly.
https://github.com/user-attachments/assets/570126fd-c0bc-474d-8f4c-320b08da19b1