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

SCK_DELAY 1 necessary for ESP32 #35

Closed
christian172 opened this issue Feb 19, 2020 · 2 comments
Closed

SCK_DELAY 1 necessary for ESP32 #35

christian172 opened this issue Feb 19, 2020 · 2 comments

Comments

@christian172
Copy link

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.

@Blubbaa
Copy link

Blubbaa commented Apr 5, 2020

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.

@olkal
Copy link
Owner

olkal commented Apr 8, 2020

Thanks! ESP32 info now included in readme.md and config.h

@olkal olkal closed this as completed Apr 8, 2020
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants