Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weight still gives some wrong values #24

Open
lpatiny opened this issue Jun 14, 2020 · 5 comments
Open

Weight still gives some wrong values #24

lpatiny opened this issue Jun 14, 2020 · 5 comments
Labels
bug Something isn't working Programmation

Comments

@lpatiny
Copy link
Member

lpatiny commented Jun 14, 2020

In order to have reliable weight value we could try to:

  • change the priority of the thread
  • calculate the median of 10 values
  • reduce the allowed difference between acquisition. Should be less than 2% probably
@lpatiny lpatiny added bug Something isn't working Programmation labels Jun 14, 2020
@lpatiny lpatiny self-assigned this Jun 14, 2020
@andrescvargasr
Copy link
Collaborator

There is a hardware issue with the weight, everytime that the protocol restart, the EMPTY and MAX are in other place in the flask (test with no change and avoid touch the bioreactor). Try to check the HX711 datasheet for more information.

@lpatiny lpatiny removed their assignment May 4, 2022
@lpatiny
Copy link
Member Author

lpatiny commented May 4, 2022

@andrescvargasr did you try to look at the raw value ? Can you should example of the raw values after each restart in this issue ?

@andrescvargasr
Copy link
Collaborator

We saw the raw values and we obtain different values in static test for the wieght, apparently we need to change the values for the resistors in the board (move compatibility for 5V to 3.3 V).

@andrescvargasr
Copy link
Collaborator

For 3.3 V power source in the analog stage in the HX711 we need to replace the resistor R31 in the bioreactor v6.0.1 from 8,2 kOhm to 15 kOhm to assure than V_AVDD is less than 3.3 V - 100 mV = 3.2 V. In this case, with R30 = 20 kOhm and R31 = 15 kOhm, we obtain: V_AVDD = 2.92 V. With this change we can assure the transistor is ON and it can send enough current to the load cells.

Equation:

V_AVDD = V_BG * (R30 + R31) / R31; V_BG = 1.25 V, R30 = 20 kOhm, R31 = 15 KOhm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Programmation
Projects
None yet
Development

No branches or pull requests

2 participants