OPEnSLab-OSU / Loom-V4

Open Source Internet Of Things Rapid Prototyping Framework For Environmental Sensing Applications
12 stars 1 forks source link

Figure out MS5803 initialization weirdness #150

Closed WL-Richards closed 1 month ago

udellc commented 2 months ago

We neet to re-test after we updated the library to see if this is still an issue.

udellc commented 2 months ago

Let's stablize this so we can rely on the CRC checks!

mbelinga777 commented 2 months ago

Hi @udellc After updating the library like will suggested, I conducted tests on five MS5803 sensors. Four of the sensors passed the CRC checks consistently, but one failed despite the data appearing accurate. It seems the issue with the failing sensor could be hardware-related. It looks like the library update has improved overall stability regarding the CRC checks, but the single failing sensor may need further investigation. Let me know if additional testing or troubleshooting is required.

udellc commented 2 months ago

Thanks for the update @mbelinga777 ! @WL-Richards , can we be sure the updated MS5803 library is pushed to the main branch? Then close the issue?

WL-Richards commented 2 months ago

Since this a non-Loom library it doesn't actually get pushed to main it just gets updated in the board profile

natashazai commented 1 month ago

After updating the MS5803 library and uncommenting the code for MS5803.cpp, it initializes both osmopods now. Data is being read properly.

Screen Shot 2024-10-02 at 10 57 08 AM
natashazai commented 1 month ago

When there is only one osmopod connected, so the one that is on the board, it properly fails to initialize one of them as it should be

Screen Shot 2024-10-02 at 11 11 07 AM
natashazai commented 1 month ago

All osmopods were tested