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 Introduction
wearable-arduino's People
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:
- Delete line 3 to replicate the error
- 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.