I have two MS5637 Qwiic Pressure components being tested. I've tried both my SparkFun Qwiic Micro and my SparkFun Thing Plus to Qwiic connect to either MS5673 Qwiic Pressure sensor with no response (have tried multiple cables). After installing this library, I am using the included basic Arduino sketches for the MS5637 to no avail. From debugging, it seems to get stuck at: " if (barometricSensor.begin() == false)"
#include "SparkFun_MS5637_Arduino_Library.h"
MS5637 barometricSensor;
void setup(void) {
Serial.begin(9600);
Serial.println("Qwiic Pressure Sensor MS5637 Example");
Wire.begin();
if (barometricSensor.begin() == false)
{
Serial.println("MS5637 sensor did not respond. Please check wiring.");
while(1);
}
}
void loop(void) {
float temperature = barometricSensor.getTemperature();
float pressure = barometricSensor.getPressure();
Serial.print("Temperature=");
Serial.print(temperature, 1);
Serial.print("(C)");
Serial.print(" Pressure=");
Serial.print(pressure, 3);
Serial.print("(hPa or mbar)");
Serial.println();
delay(10);
}
I have two MS5637 Qwiic Pressure components being tested. I've tried both my SparkFun Qwiic Micro and my SparkFun Thing Plus to Qwiic connect to either MS5673 Qwiic Pressure sensor with no response (have tried multiple cables). After installing this library, I am using the included basic Arduino sketches for the MS5637 to no avail. From debugging, it seems to get stuck at: " if (barometricSensor.begin() == false)"
#include "SparkFun_MS5637_Arduino_Library.h"
MS5637 barometricSensor;
void setup(void) {
Serial.begin(9600);
Serial.println("Qwiic Pressure Sensor MS5637 Example");
Wire.begin();
if (barometricSensor.begin() == false)
{
Serial.println("MS5637 sensor did not respond. Please check wiring.");
while(1);
}
}
void loop(void) {
float temperature = barometricSensor.getTemperature();
float pressure = barometricSensor.getPressure();
Serial.print("Temperature=");
Serial.print(temperature, 1);
Serial.print("(C)");
Serial.print(" Pressure=");
Serial.print(pressure, 3);
Serial.print("(hPa or mbar)");
Serial.println();
delay(10);
}