-
Notifications
You must be signed in to change notification settings - Fork 124
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
SCK_DELAY 1 necessary for ESP32 #35
Comments
Thank you, this fixed the exact same issue for me too. +1 for the idea to mention this configuration for the ESP32 in the README. |
Thanks! ESP32 info now included in readme.md and config.h |
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Dec 17, 2023
tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 19, 2024
author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 19, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 19, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 21, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 22, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
FabianSperrle
added a commit
to FabianSperrle/clevercoffee
that referenced
this issue
Jan 26, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
LoQue90
pushed a commit
to rancilio-pid/clevercoffee
that referenced
this issue
Jan 26, 2024
e8d7458 author Fabian Sperrle <fabian.sperrle@uni.kn> 1702580259 +0100 committer Fabian Sperrle <fabian.sperrle@uni.kn> 1705696789 +0100 Start configuration for second HX711 WIP: start cleanup Fix startup of second HX711 Brew by weight should not stop when time is reached Bugfix: Set correct calibration weights for scale 2 and clean up output Enable HX711 library feature for more consistent readings on ESP32 tldr: ESP32 is too fast for the library in default mode, so they added a flag that introduces timeouts and makes the readings more realiable Starting point for further reading: olkal/HX711_ADC#35 Fix compile error for single HX711 Fix debug message: calibration instead of tare Config override causes issues with pin numbers for some reason? disable for now re-introduce constant for timeout and tare to avoid duplication If we show decimal seconds we can also show decimal grams Remove superfluous space Re-add HX711 config flags and move scale interrupt up in main to avoid messing with timestamps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more a FYI.
It seems that ESP32 needs the 1s sck_delay. Maybe you could add this to Readme
Previously i used Version 1.0.2 or 1.1.0 and updated now to 1.1.6 . With the new Version and no delay the values went like this: From 0 to around 50 fine , and after that than suddenly jumped to around -33500 and stayed there in the 5 digits, slightly decreasing with increasing force.
With the delay everything seems to be back to normal.
The text was updated successfully, but these errors were encountered: