olkal/HX711_ADC

Some error While test

Sudupatil opened this issue · 2 comments

Hello,

It's working fine except few exceptions. Please go through the config.h and ESP32 code of my project.

config.h.txt
Universal_Strength_24.txt

ESP32 Pin Configuration
DT = 36
SCK = 33

Here is some line code of your interest to check

LINE 1139 While running sub
Initializing_Scale()

Line 2277 When Click on Start Test

Now Observation are

  1. When we start new test then it's showing last result. Where as i reset the variable =0.
  2. Can i increase sampling speed. currently it's #define SAMPLES 32. I think reducing sample may fix the problem. i will check.
  3. For same weight its showing fluctuated reading. but while doing calibration it's shows perfect every time.
    In my project there are 4 Modes. and when we select other mode then Direct this this happens.

Project Use ILI9488 TFT display.

Thanks and regards
Sudarshan Patil

I have done

  • initialize again before test begin.
  • Reduced setSamplesaInUse(4) from 32.

This fix the issues I am having

Thanks
Sudarshan Patil

olkal commented

Thanks for the update.