Coder Social home page Coder Social logo

graduation's Introduction

记得volatile优化KEY0

毕设

智能座椅功能规划

  1. 心率

  2. 血氧饱和度

  3. 室内温度

  4. 室内湿度

  5. 当地天气

  6. 音乐

  7. 按摩

  8. 心电图

智能座椅系统搭建规划

端口分发

使用原因:在客户端建立ssh反向代理的时候需要监听服务端端口,多客户端时容易产生端口冲突

PortDistribute 要用su权限执行,(lsof -i:port)

网页端

  1. 树莓派本地保留数据库,完成一次功能再进行服务器端数据同步
  2. 每个设备定制唯一识别二维码(http://domin.com/smartchair/uid)
  3. 服务端给每个uid(设备)建立对应的数据表(tablename:uid).参考db.1
  4. 推送心率,血氧饱和,心电图周报
  5. 强制实时拉取数据
  6. 查看历史数据

app

约等于网页端,只不过不用扫二维码,不支持ios

嵌入式显示器

数据库(MySQL)

db.1 数据库

访问地址

http://123.206.64.174/dist/#/pages/dashboard/uuid
http://127.0.0.1:4200/#/pages/dashboard/uuid

例如

http://127.0.0.1:4200/#/pages/dashboard/UuidExample
http://123.206.64.174/dist/#/pages/dashboard/UuidExample

示例数据访问二维码

  1. 本地

示例

  1. 服务器

服务器

项目命令

  1. 开机启动(服务器和树莓派都应该将run.sh注册到开机启动)
echo run.sh >> /etc/rc.local
  1. 环境变量
  • TTS
nano /etc/profile
export LD_LIBRARY_PATH="/home/pi/Graduation/client/tts/libs/RaspberryPi"

# 开机启动的时候由init监护
nano /root/.bashrc
export LD_LIBRARY_PATH="/home/pi/Graduation/client/tts/libs/RaspberryPi"
1. 运行 : npm start
2. 安装 : npm install
3. 发布 : ng build --prod --aot
         npm run build:prod

注意

  1. 启动树莓派上C工程请用su权限
  2. 重新配置环境之后请检查 clent/include/Unique.h 文件中的定义

max30102

器件输出数据对IR LED的波长相对不敏感,其中红色LED的波长对于正确解释数据至关重要。 与MAX30102输出信号一起使用的SpO2算法可以在环境温度变化时补偿相关的SpO 2误差。

  1. 拥有两种中断状态
  2. LED脉冲幅度和宽度均可调,可以用来获取更加精确的血氧浓度值

graduation's People

Contributors

saber110 avatar

Watchers

 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.