however, i do not have a problem making the android app to have patient check their hearRate and Dr be able to monitor them , i just want to know how can send data over via Bluetooth to the Android phone from the sensor or upload it in real-time via Firebase ?
please give me your advice and feel free to recommend any changes on my approach
Mans89:
for that i am going to use the following components :
nRF24 Module (Generic)
That seems to be an extraordinarily bad choice. I have no idea what you would do with it, but you will need at least two. As for the Bluetooth, it has just occurred to me that its absence from your list suggests you think an NRF24 is a Bluetooth device. It isn't. You need to put it in the bottom drawer and get a real Bluetooth, like an HC-05.
Sending data via Bluetooth requires no more than
Serial.println(data);
In short, you can prove your project without Bluetooth by sending the data to the serial monitor, and then connect Bluetooth with no change to your code.
If the sensor is made for use with Arduino, Arduino can send the data it reads via Bluetooth. You will need to check the operating voltages of the various devices.