-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
load cell with HX711 #936
Comments
Maybe this is your problem ESP32 issue, clock speed too fast #75. And a tip. For future issues please give more details, code example, used IDE, used libraries, ... to make it easier for others to help. |
Yes. I have been working with ESP32 and HX711 and the main problem is the shiftIn function. It is too fast for HX711. See the HX specification of the protocol. One way is to add some delays into shiftIn, but this is not advisable if you intend to upgrade your ESP32 installation someday :-) The other way is to slow down ESP32 - include something like: |
But the final solution is that Espressif enables option for us to set the delays in the ShiftIn function itself!!! This is a feature request. |
I'm also fighting with this issue. Reducing CPU frequency resolves the problem but I need to put the device to sleep and it hangs, if I set the CPU frequency again down to 80MHz after sleep. I'm not 100% if it really is the shiftIn function. I tried lemio's code and I still have these issues. I attached an logic analyzer and you can find the screenshots of it here: bogde/HX711#75 There seems to be a strange glitch every now and then. Anyone of you guys has an idea what this could be? |
Hi there, we have been able to give the HX711 library some love based on all the valuable contributions and suggestions there. bogde/HX711#123 resp. [1] might already solve your problem, we will appreciate any feedback about this. With kind regards, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi Arduino/ESP32 community, following up on bogde/HX711#123 referenced above which folds many valuable contributions from the community into the library, we have been able to confirm hardware support for the following devices/architectures with the improved HX711 library by @bogde.
The library is also available from the Arduino Library Manager these days. With kind regards, |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
my issues is i have cod for load cell but when i loaded to the EPS32 program is working but ESP32 is not get date from HX711 but when i connect HX711 to arduino nano works perfectly i do not know whats happens in this devises ? what should i do ? any one work with this 2 board ?
The text was updated successfully, but these errors were encountered: