Thanks for your inquiry.
BMP384 is water-resistant. So its pad size of 0.27 x 0.285mm is a little larger than BMP388's 0.27 x 0.25mm.
In order to replace BMP388, you can choose BMP390 which is pin-to-pin compatible with BMP388 and the pad size is also the same. BMP388, BMP384 and BMP390 share the same API code on the Github at https://github.com/BoschSensortec/BMP3-Sensor-API. BMP390 can be purchased at https://www.mouser.com/ProductDetail/Bosch-Sensortec/BMP390?qs=sGAEpiMZZMv0NwlthflBi1BC1g8rC9UGRBLSivm3tHU%3D.
... View more