Close

Update: Got my first hardware

A project log for Smart glasses: Notifications and heart-rate

(Inspired by work from Alain Mauer)

virgilius1995Virgilius1995 02/07/2019 at 11:030 Comments

Just a simple update:

I've ordered and received the following

Beetle Bluno                                                                                                                                                           Heart Sensor(Yes the name is very creative)

Unfortunately the heart sensor I was sent is a dud and I've contacted the seller (diyelectronics.co.za) and they've been gracious enough to offer a replacement. Hopefully on Monday I will de-solder the dud and soled up the replacement.

I've been using the following script to test the sensor(only get garbage). Hopefully on monday I'll have a working sensor connected and I can start playing around with variables to get an ideal and reliable output.

const int inputPin = A0;
const int threshold = 550;

void setup() {

  Serial.begin(115200);
}

void loop() {

  int signal = (analogRead(inputPin));

  if (signal > threshold)
  {
    Serial.println(signal * 5);
  }

  delay(10);
  Serial.println(10);
}

Discussions