Getting Data into an Android App from a sensor or Bluetooth

Hello everyone,

i am trying to make a wearable heartRate monitor to be held on the rest all the time and for that i am going to use the following components :

  • uECG device
  • For actually measuring BPM. to send data via nRF24-compatible protocol
  • Arduino Nano R3
  • nRF24 Module (Generic)
  • Adafruit NeoPixel Ring: WS2812 5050 RGB LED
  • LiPo battery

the final assembly looks like something as this

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

thank you all in advance

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.

thank you for answering

so i found another choice which is (Sensor MAX30100) and want it to use it with Arduino -Nano r3 so i can be able to make it wearable

in this case, would the Bluetooth HC-05 send over the data from the sensor to the android phone

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.