Git Product home page Git Product logo

Comments (1)

MagicPhase avatar MagicPhase commented on June 12, 2024 1

Okay... I found where the problem is on my end so this is probably not an issue with the library!

After an extensive troubleshooting session, I decided to just dump the raw register values from both sides. The short answer is that they are very different until I change the I2C speed on the ESP32-C3 side. The values fall in line somewhere between 70-80kbits. For some reason, the sensor was partially functional above 80kbits. It had a valid I2C address so I assumed everything was good to go! It would report a pressure increase but the value rollover was so strange. So it seems to be an issue on my end.

Just thought I'd post in case someone wanted to know.

----80 kbits---
02:08:48.957 -> 0
02:08:49.035 -> 4207561 <--Raw pressure data should be around 6465444 typical from the datasheet!
02:08:50.020 -> 0181C178100138000000000000000000 <--Calibration register.
02:08:50.020 -> 0
02:08:50.098 -> 4207393
02:08:51.094 -> 0181C178100138000000000000000000
02:08:51.094 -> 0
02:08:51.141 -> 4207603
02:08:52.167 -> 0181C178100138000000000000000000
02:08:52.167 -> 0
02:08:52.207 -> 4207423
02:08:53.226 -> 0181C178100138000000000000000000

---70 kbits---
02:09:59.529 -> 0
02:09:59.576 -> 6569216 <--Correct value!
02:10:00.604 -> 01D1E97C5A813C000000000000000000 <--Calibration register.
02:10:00.604 -> 0
02:10:00.651 -> 6569337
02:10:01.659 -> 01D1E97C5A813C000000000000000000
02:10:01.659 -> 0
02:10:01.705 -> 6569187
02:10:02.726 -> 01D1E97C5A813C000000000000000000
02:10:02.726 -> 0
02:10:02.760 -> 6569158
02:10:03.759 -> 01D1E97C5A813C000000000000000000

from bluerobotics_ms5837_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.