#include <WheatstoneBridge.h>

hello,

i have bought a robotshop device for the loadcell, exactly the loadcell amplifier device and i have tried to implement de program that you made but there are few things that i do not understand such as :

WheatstoneBridge
wsb_strain1
(A0, 365, 675, 0, 1000);

please why did you chose these values? , well A0 is the name of the analog input used.

and then you have mininput, maxinput, minoutput,and maxoutput.

but why did you choose these specific values? where do they come from?

for the last question i would like to know the difference between these variables :

val1 = wsb_strain1.
measureForce
();
valRaw1 = wsb_strain1.
getLastForceRawADC
();

your help would be of a great use thank you.

best regards.

Hi,

As we replied in the Lesson 8 – Wheatstone Shield & LCD Blog :