BMP388 not working

Hey all,

Has anyone had any success in using an Adafruit BMP388 pressure / temperature sensor?

I'm having a right hard time trying to coax one of these sensors into life. I'm using the 'simple test' sketch as a starting point but the Arduino is struggling to communicate with the device.

I'm using an Arduino mega and using hardware SPI on pins 10,11,12 ad 13 with a 5V supply as per the Adafruit web page.

I have tried 2 different Arduino boards and programmed with 2 different machines and tried running the sensor board from 3.3V but every time when I run the IDE terminal I get the message "Could not find a valid BMP3 sensor, check wiring!"

I'm using IDE 1.8.10 so should be the latest version.

I have checked the wiring several times, there are only 6 wires so cant really go wrong!

Am I missing something?

I'm building a data logger for my extreme cycle commute, this sensor will be recording the changes in elevation so if I can't get the board to work might have to look at a discrete pressure sensor, I'm using an SD card and a RTC module which are working perfectly.

I'm using an Arduino mega and using hardware SPI on pins 10,11,12 ad 13

Those are not the SPI pins on a Mega. See the SPI reference.

MISO 50
MOSI 51
SCK 52
SS 53 (default)

OK my bad, I commented out the wrong line in the code, now working a treat! :slight_smile: