Project Name
                
            

Share this library with your friends on your favorite profile:


Examples

  • 2018-01-16 Family N

    Have you ever read the device spec? HX711 needs 0,2us to settle data after pos clock edge.
    Therefore the datasheed example reads out data after 1us (directly before or after negative edge of clock pulse) .Your code might work with very slow uc but its just a lucky coincidence.

    for (byte j = 3; j--;) {
    for (char i = 8; i--;) {
    digitalWrite(PD_SCK, HIGH);
    // !!!! need to insert delay 1us
    bitWrite(data[j], i, digitalRead(DOUT));
    digitalWrite(PD_SCK, LOW);
    // !!!! need to insert delay 1us
    }

  • 2016-06-15 Craig Hollabaugh

    Will do. I think I'm using a load sensor for loop feedback for my coil winder's tensioner, https://www.youtube.com/wat...

  • 2016-06-15 tzikis

    ceciliazy13 hey, good idea. could you please add it to our Feature Requests forum?
    http://feedback.codebender....

  • 2016-06-15 tzikis

    Craig Hollabaugh i know we (codebender) haven't, but someone else from the codebender community might have.

    if you do, please follow up with your observations :)

  • 2016-06-15 Craig Hollabaugh

    have you actually tested the output data rate, is 80SPS correct?

  • 2016-02-22 ceciliazy13

    I noticed I can download examples from library page, but is there a way I can download the library codes (as a zip.) to local so I can include them when I run Arduino IDE locally?

  • 2015-11-19 codebender

    This library and its examples were tested on 2016-06-11 with common Arduino boards. For more detailed information about the test results, please look at each example's comments.