Git Product home page Git Product logo

wearable-arduino's Introduction

Wearable-Arduino

This is the github repo for the 2022 spring sophmore Grade level project, and hopefully for the wearable device competition for NC state I might get a wiki in at some point with a written explanation of the code.

wearable-arduino's People

Watchers

 avatar

wearable-arduino's Issues

Issue: Conflicting Devices

Describe your Issues:

The project includes the following modules/sensors:

The pulse sensor module has a method .begin(), which starts the pulse sensor. If the flag #define USE_ARDUINO_INTERRUPTS true is left at default or false, the sensor returns the following error when compiling:

%Appdata%\Arduino\libraries\PulseSensor_Playground\src/PulseSensorPlayground.cpp:56: undefined reference to `PulseSensorPlayground::UsingInterrupts'
%Appdata%\Arduino\libraries\PulseSensor_Playground\src/PulseSensorPlayground.cpp:57: undefined reference to `PulseSensorPlaygroundSetupInterrupt()'
collect2.exe: error: ld returned 1 exit status
exit status 1

As such, the use of interrupts is required.

However, in doing so, the temperature reading is always 0.00. While I am unfamiliar with C++, I suspect the heartrate monitor takes over the cpu, or something similar. Im not used to such low level control.

Replicate:

  1. Delete line 3 to replicate the error
  2. Delete lines 3 and 28 to allow temperature sensor data

Potential Fix

I believe that pausing the heartrate monitor with the .pause() method may allow a fix. Implementation is on the pause fix branch. However, I am unable to test the implementation at this time.

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.