-->
Page 5 of 6

Re: JP eScale : an internet connected bathroom scale

PostPosted: Tue Oct 20, 2015 9:16 am
by freedom2000
Thanks for thé credit and for cleaning thé code :oops:

I am fine with that

JP

Re: JP eScale : an internet connected bathroom scale

PostPosted: Mon Feb 29, 2016 3:26 am
by Zero_PD
I'm sorry to bring back an old topic, but I have a question.

I am trying to figure out how to turn this raw data from the HX711 into pounds. I understand I'm getting raw, signed data from the HX711. I've been pouring through the arduino library from bodge trying to figure out what is done. The raw data is flipped and then 1 added to it. This confuses me because I thought with 2's complement you'd only do this if the number was negative, but bodge seems to do this every time he measures the data.

It's been a long day and I'm quite confused. Can anyone sketch out a rough guideline of how I would get from raw data to a number in pounds? I'd be grateful.

Re: JP eScale : an internet connected bathroom scale

PostPosted: Tue Mar 01, 2016 11:34 am
by freedom2000
Hi,

You have the full code in post #1 and following
The values are expressed in g (or kg ?) it should be obvious to do the convertion into pounds !

JP

Re: JP eScale : an internet connected bathroom scale

PostPosted: Sun Jul 28, 2019 4:24 pm
by freedom2000
Sorry no !