programming for BPM?

Hi

I have attached a file containing circuit diagram of a blood pressure measurement monitoring system, and I am using the Arduino YUN board for the specific project , so can you guys provide me with a sample code on how can it be implemented for the board.Because I am a new bee in this field, and i really need your help to implement this.

Thank you

MPXV5050GP TechSheet

  • 0 to 50 kPa (0 to 7.25 psi)
  • 0.2 to 4.7 V Output

No need PIC, connects pin4 of MPXV5050GP directly to A0 of Yun ( keep C5 470pf ), GND to GND.

#include <Process.h>
//int temperature;
int sensorPin = A0;    // select the input pin for the potentiometer
int sensorValue = 0;  // variable to store the value coming from the sensor
void setup() {
     Bridge.begin();  // Initialize Bridge
}
void loop() {
     //int temperature = random(0, 100);
     sensorValue = analogRead(sensorPin);
     Process p;              
     p.begin("/mnt/sda1/db.php");      
     //p.addParameter(String(temperature)); 
     p.addParameter(String(sensorValue));
     p.run();
     delay(5000); 
}

Thank you sonnyyu