Measuring stiffness using a vl6180x and a load cell

Hello,

I am looking to measure the stiffness of soft materials using a vl6180x for displacement and a 500g load cell with the HX711 amp.

I was wondering how difficult it would be to combine the vl6180x and HX711 libraries to calculate the stiffness.

My understanding is very basic so I apologies for that but any help would be greatly appreciated.

BR

Matt

I understand that you have resolved the issue. Perhaps you would care to share the solution to help others

Yes, of course!

It is probably not the right way of doing it, but it is getting what I need at the moment. I'll be looking to refine it.

If anyone wants to have a look at it, be my guest!

It gives you a reading of displacement and force seperately, you would still need to work out the change in displacement given the inital distance from the probe - the distance at a set force (for example)

Calibration factor is based on the 500g load cell from cool components

Stiffness.ino (2.3 KB)