Giter Club home page Giter Club logo

odasoken / nus_medical_care Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caesarvan/nus_medical_care

0.0 0.0 0.0 71.56 MB

This project is about use a BLE module based on NRF52810 to detect the motion of body trunk and transfer the data to an IOS device through BLE. The IOS app can update the data to firebase database and show the data in a html .

License: MIT License

JavaScript 0.25% Ruby 0.01% C++ 0.02% Python 0.16% MATLAB 0.02% CSS 0.01% Swift 0.57% HTML 0.02% Jupyter Notebook 98.95%

nus_medical_care's Introduction

ArduinoBLE_FireBase_IOS_HTML

Author: Fan Gaoyige
E-mail: [email protected]
Lab: NUS Lab of Sensor, MEMS and NMES
Contributor: Sun Wenmao, Zhou Jinfeng

Version 2.0

Machine Learning

Implemented 6 machine learning methods, Random Forest, AdaBoost, XGBoost, LightGBM, SVM, GBDT and a convolution neural network for recognizing different postures. After trained, the models are save to "Machine Learning/model" dictionary.

For adapting IOS app, the scikit-learn python package should satisfy the version <= 0.19.2.

pip install scikit-learn==0.19.2 numpy==1.19.0

IOS app provides an API CoreML for achieving machine learning. To implement the recognition in IOS app, we should convert the model to the format of *.mlmodel.

Version 1.2

Data Acquisition

This version mainly focus on python program for collecting data from BLE based on the library Bleak. This Bleak lib operation is in Asynchronous mode. And the program can write the date to a csv file for building machine learning dataset.

Especially, for helping with the operator to collect data, I add special sound notice to the program. Wish it will help.

Version 1.1

IOS APP

Based on AAChart library, implemented real time plotting during receiving data and transport to the database. Currently, the plot can contain 200 data points for each frame, and will refresh for each 20 points' update.

Web

1. website

Implemented a website via HTML/CSS/JavaScript. Achieved realtime plotting with given data.

2. python

Plot the signal plot by using the API offered from Google firebase database.

Version 1.0

Arduino

This project is about using an Arduino Nano 33 BLE Sense board to detect the motion of body trunk and transfer the data to an IOS device through BLE. The IOS app can update the data to firebase database and show the data in a html.

To acquire high adaption to all kinds of BLE devices, I changed the policy of only recognizing the Arduino device to all kind of devices once their UUID for BLE service is the same as profile.

IOS/MAC

Implemented IOS real time communication with Firebase both Mac and IOS platform

nus_medical_care's People

Contributors

caesarvan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.