Health monitoring system using Arduino and pulse rate sensor
Code for Health monitoring system using Arduino and pulse rate sensor #include <LiquidCrystal.h> //const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int blinkPin = 13; // pin to blink led at each beat // Volatile Variables, used in the interrupt service routine! volatile int BPM; // int that holds raw Analog in 0. updated every 2mS volatile int Signal; // holds the incoming raw data volatile int IBI = 600; // int that holds the time interval between beats! Must be seeded! volatile boolean Pulse = false; // "True" when User's live heartbea...