Currently I'm using Arduino UNO with E-Health sensor platform.
I intend to plug 3 sensor and run only 1 arduino program to retrieve 3 sensor data at the same time.
Is it possible? Because currently only 1 arduino program can only run 1 sensor.
Is there a way to merge the 3 sensor programming code into 1 arduino program.
I am trying to do that in a project, so I can give you my code like an example (I use three eHealth sensors of http://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical and Arduino MEGA with eHealth shield). I hope that it help you. ![]()
#include <eHealth.h>
#include <eHealthDisplay.h>
// The setup routine runs once when you press reset:
void setup() {
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// TEMPERATURE SENSOR
float temperature = eHealth.getTemperature();
Serial.print("Temperature: ");
Serial.print(temperature, 2);
Serial.println(" grados Celsius");
// AIRFLOW SENSOR
int airFlow = eHealth.getAirFlow();
Serial.print("Airflow value: ");
Serial.print(airFlow);
Serial.println("");
// ECG SENSOR
float ECG = eHealth.getECG();
Serial.print("ECG value : ");
Serial.print(ECG, 2);
Serial.print(" V");
Serial.println("");
delay(100);}}
Does anybody know how can I comunicate eHealth shield and Labview? I can comunicate Arduino MEGA and labview by LVFA_Base but when I tried to comunicate eHealth shield it appear a message 'Error 5002' ![]()