2024-07-03 05:25 AM
HI,
i am trying to interface the HX711 Load Cell to STM32G0B1RCT6 Microcontroller.i using internal clock source(HCLK = 16MHz) and its reading good.
Load Cell Value: 8220309
Load Cell Value: 8221048
Load Cell Value: 8221228
Load Cell Value: 8221368
Load Cell Value: 8221045
Load Cell Value: 8220950
Load Cell Value: 8221202
To interface an HX711 load cell with an STM32G063ZIT6 microcontroller using an 8 MHz external crystal to generate a 64 MHz system clock, its not reading properly i am getting same value of
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
Load Cell Value: 8388608
My question is Why does it print this repeated value whenever I connect the external crystal, and how can I correct this problem?
NOTE: i am not enable any Drivers, im using only GPIO Configuration
Solved! Go to Solution.
2024-07-03 05:47 AM
To be able to give you an answer, it would be helpful if you could show your programme and how you have connected the load cell amp.
2024-07-03 05:47 AM
To be able to give you an answer, it would be helpful if you could show your programme and how you have connected the load cell amp.
2024-07-04 02:37 AM
Sorry for my mistakes. It works well now & I forgot to set the Data pin to low. Could you please explain the calculation?
2024-07-04 02:46 AM
@Berlin-raj123 wrote:Could you please explain the calculation?
What does the datasheet tell you?
There's lots of tutorials, etc, about the HX711 on the interwebs; eg,
https://randomnerdtutorials.com/arduino-load-cell-hx711/
https://github.com/bogde/HX711