Coder Social home page Coder Social logo

smart-watch-for-pilots's Introduction

Smart-Watch-For-Pilots

Pilot heart rate measurement, Morse code vibration integration module work

Use Ubuntu 18.04 ROS1 Melodic & 20.04 ROS1 Noetic

순서도

====== If you want to use rosserial with Arduino Due board ======

Modify ArduinoHardware.h code in ros_lib

  1. Line 75 iostream = &Serial1; -> iostream = &Serial
  2. Line 73 #if defined(USBCON) and !(defined(USE_USBCON)) -> #if defined(USBCON) and !(defined(USE_USBCON)) and !(defined(SAM3XA))
  3. Add #define USE_USBCON before <ros.h> of Arduino code
  4. Change baud 115200 -> 57600
  5. Run rosserial after connecting with Programming Port

ArduinoHardware

===============================================

Use three Arduino Boards (I2C, zigbee)

  • Zigbee_transmitter, Master: Arduino Due(Input: Heart Rate)
  • Slave: Arduino Micro(Output: Vibration, Voice)
  • Zigbee_receiver: Arduino Uno(changeable)

Upload Code:

  • Arduino Due: master_heartrate_zigbee.ino
  • Arduino Micro: slave_vibration_voice.ino
  • Arduino Uno: zigbee_desktop.ino
  • Desktop: heartrate_msg.py

*To proceed assuming your desired heart rate state, edit the file "test_status.ino" instead of "master_heartrate_zigbee.ino" and upload it to your desired state.

The heart rate sensor location is as follows:

심박센서 위치

The measured heart rate is displayed as follows according to the provided Python file.

  1. No signal and normal heart rate

정상 심박

  1. Warning heart rate

경고 심박

  1. Danger heart rate

위험 심박

smart-watch-for-pilots's People

Contributors

kugihong avatar

Stargazers

 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.