11 years, 9 months ago.

Pulse Sensor on mbed nrf51822

Hello,

I'm testing the Pulse Sensor on nRF51822 board using the sample code and library that is provided here. But when I run the processing sketch, there was no reading at all.

1. Is there anything in particular I need to change in the library/program to accomodate for nRF51822 board since you are using a different mbed board. I did change the AnalogIn pin to P0_1 for this board. Other than that nothing.

2. I've read on pulsesensor.com guide that the serial port used need to be updated into the processing program if it's different. I'm not sure if I've configured mine correctly. Mine is connected to COM4 but there are no other serial port list so I did not change the array.Even when I tried to change the number of arrays, it gave out of bound exception.

3. There is an interrupt setup for the Arduino board, but I can't find one in this program. We don't need one for mbed?

Thank you for your time since I'm fairly new with mbed and embedded systems as a whole. It'll be great if you can help me out with this experiment with sensors and BLE board.

Question relating to:

Be the first to answer this question.