-
Connection pictures
03/28/2023 at 23:17 • 0 commentsThere was a request for a picture showing how to connect the sensor to the pico. Please see the gallery.
-
Github update
02/27/2023 at 13:45 • 0 commentsHi folks,
I added a MMC5603 code snippet to github, and fixed an array error in the thread for the magnetometer.
Cheers!
-
Website
02/21/2023 at 17:58 • 0 commentsOnce the data has been logged, here is a view of the website.
I also included "favicon.ico" in the github page, so when the browser grabs the html file, it can make a fancy tab...
The bar-chart part of the HTML came from code pen
-
Measurements
02/21/2023 at 17:00 • 0 commentsFirst, I took measurements with the LSM9DS0 taking measurements as quickly as it could. That is, ~100 Hz.
Here is the water tap open a bit.
Here is the tap fully open.
The detection algorithm is pretty simple: Once you have a reading greater than 6050, look for a reading less than 2500. Once you get less than 2500, look for a reading above 6050. Once you get past 6050, increment a counter by 1, and start looking for <2500 again, and so on. From each peak to peak (i.e., 1 count) is approximately 0.0657 L of water. Pretty fine granularity!