1 2
Flerbizky
Flerbizky GRM+ Memberand New Reader
1/26/24 1:28 p.m.
tfunder said:

In reply to APEowner :

Here's wiring diagrams and Arduino code (v.09x) for starts. 

https://github.com/tfunder/Corner-Weights

Sir,

Can you tell me exactly what HF711 library you used - version as well? There's a good 2 handfuls available, and with the ones I've tried, my readings are all over the place. I'm guessing I'm using a wrong library: started reading up on them all of them have small differences when it comes to timing and refresh rate etc. <- Those values could also have been changed in later versions of the same library you used I guess.

Also read that the load cell amplifiers can be a bit iffy when powered from the board, so I'm using an external 5v lab supply to power those - so that shouldn't be the issue with the readings. I'm aware I will have to play around with the calibration value, but at the moment I'm just looking for a steady value in the display. After that, we calibrate.

I'm a complete rookie when it comes to Arduino and i2Cs, so was a bit miffed until I figured out the address settings on the LCDs backpacks ( :   Apart from that, super easy to put together - Thank you!

tfunder
tfunder New Reader
1/29/24 7:35 a.m.

I have to admit I have not updated the software for the last 3 years (I'm still on v0.9 :-) as they've worked for my use - so with that in mind:

I used this library: https://circuits4you.com/wp-content/uploads/2016/11/HX711-master.zip as described in this link https://circuits4you.com/2016/11/25/hx711-arduino-load-cell/

Also please note I was very much "inspired" by this: https://github.com/bogde/HX711  where you can read this:
 

Deprecation warning

This library received some spring-cleaning in February 2019 (#123), removing the pin definition within the constructor completely, as this was not timing safe. (#29) Please use the new initialization flavor as outlined in the example above.

  In the latest example Bogde lists:

// 3. Initialize library

loadcell.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
loadcell.set_scale(LOADCELL_DIVIDER);
loadcell.set_offset(LOADCELL_OFFSET);

 

I don't use "loadcell.set_offset" in my code, that *may* be the reason you're seing inconsisten results? 

 

....final thoughts; you have calibrated the cell right? I seem to remember one of mine was 'all over the place' until calibrated?

Mullsport
Mullsport New Reader
8/20/24 2:13 p.m.

In reply to tfunder :

Hi, having issues with doing this. Looking for advice if possible please 🙏.

Thanks

Robert 

tfunder
tfunder New Reader
8/21/24 1:02 p.m.

In reply to Mullsport :

How can I help?

Mullsport
Mullsport New Reader
8/21/24 1:29 p.m.

In reply to tfunder :

How did you get the 4 corner lcd screens to display the wheel weight ?  When I turn it on with the code in the link and wired the same as link. It displays the main screen on all 5 lcds

Or do you have the code you used and a schematic of what went where? 

Thank you the help is very much appreciated. 

tfunder
tfunder New Reader
8/22/24 4:30 a.m.

In reply to Mullsport :

Did you set the LCD address? :-) Usually done by soldering  A0, A1 and A2 on the display, please see here:

https://www.hackster.io/akshayjoseph666/interface-i2c-16x2-lcd-with-arduino-uno-just-4-wires-273b24

 

Mullsport
Mullsport New Reader
8/22/24 9:40 a.m.

In reply to tfunder :

I never. Got it now thank you very much🙏😁

 

1 2

You'll need to log in to post.

Our Preferred Partners
3GDu5u6IlXHzGWPlM3PjEv7LAx0BnTJUI58l1tNsRc5OJqU6kTEeDcQx0pBeB19B