I have tried with both Arduino IDE Serial Monitor and Tera Term.
Do you have a question?
31 posts and you still haven't figured out how to use this forum?
Hint: read the "How to use this forum" post.
Sorry, my question is how do I get accurate readings with the 2 devices mentioned above using the sample code.
Is that the code you didn't post or link to, or some other code?
how do I get accurate readings with the 2 devices mentioned above
The Arduino serial monitor and/or TeraTerm are not devices, nor do they measure anything.
Please read and follow the directions in the "How to use this forum" post.
jremington:
The Arduino serial monitor and/or TeraTerm are not devices, nor do they measure anything.Please read and follow the directions in the "How to use this forum" post.
Those are not the devices that I mentioned.
Hey, if this is a post-count boosting thread, I'm in!
I think we can see how the OP managed to get to 30+ posts without having a clue how this forum works!
jremington:
I think we can see how the OP managed to get to 30+ posts without having a clue how this forum works!
The devices are Adafruit Flora and MAXREFDES117#, the readings I am getting are abnormal. I am receiving readings such as -999 SpO2.
This is GREAT! This could go on FOREVER!
No code, no schematic, no details!
BRILLIANT!
jremington:
I think we can see how the OP managed to get to 30+ posts without having a clue how this forum works!
The devices are Adafruit Flora and MAXREFDES117#, the readings I am getting are abnormal. I am receiving readings such as -999 SpO2.
TolpuddleSartre:
This is GREAT! This could go on FOREVER!No code, not schematic, no details!
BRILLIANT!
Sorry, here is the info, I am trying to make a Heart Rate monitor.
Code: ~~https://github.com/aromring/MAX30102_by_RF~~ https://github.com/MaximIntegratedRefDesTeam/RD117_ARDUINO/
Wiring:
Flora - MAXREFDES117#
GND - GND
SCL #3 - SCL
3.3V - VIN
#10 - INT
SDA - SDA
I still cannot see your code.
I cannot see the output of your debug prints.
TolpuddleSartre:
I still cannot see your code.
I cannot see the output of your debug prints.
Code: https://github.com/MaximIntegratedRefDesTeam/RD117_ARDUINO/
Debug:
I recently got the following error.
Arduino: 1.8.5 (Windows 7), Board: "Adafruit Flora"
C:\Users\Wolf\AppData\Local\Temp\Temp1_Code.zip\Code\Code.ino:26:29: fatal error: algorithm_by_RF.h: No such file or directory
#include "algorithm_by_RF.h"
^
compilation terminated.
Multiple libraries were found for "Wire.h"
Used: C:\Users\Wolf\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.12\libraries\Wire
Not used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
exit status 1
Error compiling for board Adafruit Flora.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
What part of "post the code" do you not understand?
You are now up to 36 posts, still without a clue how this forum works. Excellent work!
jremington:
What part of "post the code" do you not understand?You are now up to 36 posts, still without a clue how this forum works. Excellent work!
I know how it works, when I post it, it exceeds the minimum of 9,000 characters.
C:\Users\Wolf\AppData\Local\Temp\Temp1_Code.zip\Code\Code.ino:26:29: fatal error: algorithm_by_RF.h: No such file or directory
#include "algorithm_by_RF.h"
Now, I'm no expert, but think that means you haven't installed a library, or you put it in the wrong place.
Why didn't you tell us this earlier?
It also means, if the code didn't compile, you cannot have had any readings, impossible or otherwise.
TolpuddleSartre:
C:\Users\Wolf\AppData\Local\Temp\Temp1_Code.zip\Code\Code.ino:26:29: fatal error: algorithm_by_RF.h: No such file or directory
#include "algorithm_by_RF.h"
Now, I'm no expert, but think that means you haven't installed a library, or you put it in the wrong place. Why didn't you tell us this earlier? It also means, if the code didn't compile, you cannot have had any readings, impossible or otherwise.
That only happened when I relaunched the code
Relaunched what code?
cowloversecret:
That only happened when I relaunched the code, oops that may have been wrong code.
Now I am getting this:
Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"
In file included from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:78:0:
sketch\algorithm.h:66:0: warning: "true" redefined
#define true 1
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,
from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:77:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: note: this is the location of the previous definition
#define true true
^
In file included from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:78:0:
sketch\algorithm.h:67:0: warning: "false" redefined
#define false 0
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,
from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:77:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: note: this is the location of the previous definition
#define false false
^
In file included from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:78:0:
sketch\algorithm.h:71:0: warning: "min" redefined
#define min(x,y) ((x) < (y) ? (x) : (y))
^
In file included from C:\Users\Wolf\Downloads\RD117_ARDUINO-master\RD117_ARDUINO-master\RD117_ARDUINO\RD117_ARDUINO.ino:77:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from sketch\algorithm.cpp:60:0:
sketch\algorithm.h:66:0: warning: "true" redefined
#define true 1
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:24:0,
from sketch\algorithm.h:64,
from sketch\algorithm.cpp:60:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: note: this is the location of the previous definition
#define true true
^
In file included from sketch\algorithm.cpp:60:0:
sketch\algorithm.h:67:0: warning: "false" redefined
#define false 0
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:24:0,
from sketch\algorithm.h:64,
from sketch\algorithm.cpp:60:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: note: this is the location of the previous definition
#define false false
^
In file included from sketch\algorithm.cpp:60:0:
sketch\algorithm.h:71:0: warning: "min" redefined
#define min(x,y) ((x) < (y) ? (x) : (y))
^
In file included from sketch\algorithm.h:64:0,
from sketch\algorithm.cpp:60:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from sketch\max30102.cpp:64:0:
sketch\algorithm.h:66:0: warning: "true" redefined
#define true 1
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:24:0,
from sketch\max30102.h:65,
from sketch\max30102.cpp:62:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: note: this is the location of the previous definition
#define true true
^
In file included from sketch\max30102.cpp:64:0:
sketch\algorithm.h:67:0: warning: "false" redefined
#define false 0
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:24:0,
from sketch\max30102.h:65,
from sketch\max30102.cpp:62:
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: note: this is the location of the previous definition
#define false false
^
In file included from sketch\max30102.cpp:64:0:
sketch\algorithm.h:71:0: warning: "min" redefined
#define min(x,y) ((x) < (y) ? (x) : (y))
^
In file included from sketch\max30102.h:65:0,
from sketch\max30102.cpp:62:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
^
Sketch uses 7532 bytes (23%) of program storage space. Maximum is 32256 bytes.
Global variables use 1587 bytes (77%) of dynamic memory, leaving 461 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.
avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.