Hello there,
I recently bought a heart pulse sensor for an Intel Edison with arduino breakoutboard. Here it is The "GettingStartedProject" – World Famous Electronics llc.
It is great and works fine with the Arduino Uno board but I would really like to get it working with a edison board.
Anyway, there is a detailed walk through of the code for the pulse sensor available here Pulse Sensor Amped – World Famous Electronics llc.
I believe the issue is related to a Timer2 timer. This is used to get a high enough resolution to get reliable measurement of the timing between each beat. About half way down the page, there is a piece of code that defines the setting for the Timer2.
void interruptSetup(){
TCCR2A = 0x02;
TCCR2B = 0x06;
OCR2A = 0x7C;
TIMSK2 = 0x02;
sei();
}
Would anybody be able to help me to modify this code so that that it is works on a Edison? It would be much appreciated.
So someone came out with a solution that is suitable for Edison board GitHub - gowrisomanath/gsArduinoPulseHeartRate: Intel Galileo/Edison compatible Arduino code for pulse sensor
but i don't understand what he meant with the solution codes. How am i able to use the code to get and print BPM on serial monitor.
The topic was from: https://communities.intel.com/thread/49469