Troynica / MS5611

MS5611 - barometric pressure sensor library for Arduino (SPI version)
MIT License
3 stars 0 forks source link

Q: experiences with SPI #2

Closed RobTillaart closed 2 years ago

RobTillaart commented 2 years ago

@Troynica

Yesterday I made my first version of SPI based ms5611 library. (see rend of https://github.com/RobTillaart/MS5611/pull/17) I tested it with a GY-63 breakout board and three different mcu's (UNO, NANO 33 BLE, ESP32). Although HW SPI does not work yet on all platforms they all showed "fever" as the temperature was too high and even rising.

The ESP which is complete 3V3 shows 2-4 degrees which is still too much.. After cooling I2C gives right temperatures I get from other sensors. AVR UNO with 5V signals has a larger error (15-20 degrees), strongly indicating it is caused by powerlines/internal heating. Nano is similar to UNO. So somehow SPI causes internal heating. (Chip Select line?)

Q: do you also experience temperature errors with your tests? similar or others?

As the values from PROM and others look good in itself I am pretty confident the communication is OK (no missing or shifting bits). Looking at your library (pretty familiar ;) I see your code looks OK and you are extracting the data in a similar way as I do, so it is not a code problem.

Thanks for your time, Rob PS, my SPI lib is not published yet.

RobTillaart commented 2 years ago

@Troynica if you have no time, the issue can be closed (not solved but still)

RobTillaart commented 2 years ago

@Troynica My library has been published - https://github.com/RobTillaart/MS5611_SPI Due to the heating problem it is still labeled experimental.