latpate.aniket92
Posts: 4
Joined: Sat Jun 22, 2019 5:47 pm

Barometric sensor MS5803-14BA is not showing up on i2cdetect

Sat Jul 06, 2019 2:22 pm

Hello,

I recently purchased Sparkfun's MS5803-14BA barometric sensor [https://www.sparkfun.com/products/12909].
I am trying to connect it in i2c with raspberry pi but it is not showing up on i2cdetect.
The connections I made were straightforward,
- SDA of the sensor to SDA of raspberry pi
- SCL of the sensor to SCL of raspberry pi
- 3.3V of the sensor to 3.3v of raspberry pi and
-GND of the sensor to GND of raspberry pi (i also attached a diagram below).

I am using this GitHub library for the sensor (https://github.com/ControlEverythingCom ... S5803-14BA).

I triple checked everything, connections are ok. I ran it on Arduino to check if the sensor is working or not, but it is working fine with Arduino.

I also tried connecting other sensors on an i2c bus and they are showing up on i2cdetect except for the Barometric sensor (ms5803-14ba).
Please help. any kind of assistance is appreciated. Thanks.
barometric connection-min.png
barometric connection-min.png (188.99 KiB) Viewed 253 times

User avatar
DougieLawson
Posts: 39301
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Barometric sensor MS5803-14BA is not showing up on i2cdetect

Sat Jul 06, 2019 2:44 pm

Post a good quality, well focused photo of your wiring on http://imgur.com, post the IMGUR url on here.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
neilgl
Posts: 2226
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: Barometric sensor MS5803-14BA is not showing up on i2cdetect

Sat Jul 06, 2019 8:33 pm

And are you using the java or python version of that library (with supporting installs py4j or smbus...)

latpate.aniket92
Posts: 4
Joined: Sat Jun 22, 2019 5:47 pm

Re: Barometric sensor MS5803-14BA is not showing up on i2cdetect

Sun Jul 07, 2019 2:01 am

Thanks for your response guys. I got is working. It is not working on 3.3v (in my case). so I used a 3.3v to the 5v logic level converter. and it is working fine. I used a python library for the sensor (with smbus). Thanks a million.

Return to “Beginners”