Resurrecting an unstarted project...... I want to measure the volume of bread dough in a 3 litre plastic container and monitor the increase in volume as the dough rises over a period of hours.
The plan is to fix 8 off VL6180X ToF sensor into the lid of the container and point them downwards to measure the height of the dough surface.
The surface can be bumpy and uneven, hence the plan to use 8 sensors. I would take an average of the 8 readings, do some offset tweaks and then ideally put the value into a lookup table of height v volume to display dough volume using a Nano and LCD display.
Since my programming knowledge would fit on the back of a postage stamp, I was hoping there would be some ready made example sketches of multiple VL6180X with multiplexer to get me started, but I have found none. I found one with VL53L0X, but that didn't work, because apparently the api is different.
So any help on coding my project would be much appreciated. I already have the sensors and other hardware, so I'm not looking at alternative solutions.