logo
down
shadow

Incorrect value getting with 20kg electronic load cell with HX711 and ESP32 module


Incorrect value getting with 20kg electronic load cell with HX711 and ESP32 module

Content Index :

Incorrect value getting with 20kg electronic load cell with HX711 and ESP32 module
Tag : arduino , By : ChristianM
Date : January 11 2021, 05:14 PM

hop of those help? Yeppee..!! I solved the error. There is a little change in the library of HX711. Change in shiftIn function as shown below:
uint8_t shiftIn(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder) 
{
    uint8_t value = 0;
    uint8_t i;

    for(i = 0; i < 8; ++i) {
        digitalWrite(clockPin, HIGH);     //remove comment from here
        if(bitOrder == LSBFIRST)
            value |= digitalRead(dataPin) << i;
        else
            value |= digitalRead(dataPin) << (7 - i);
        //digitalWrite(clockPin, HIGH);    //comment this line

        digitalWrite(clockPin, LOW);
    }
    return value;
}

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Opencart module needed : electronic transactions


Tag : development , By : ziqew
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , If you'd like to have a quick start guide for OpenCart development, you can check out my article here. As for vQmod changing drastically, I can assure you that it won't (unlike opencart's somewhat hectic changes between even minor versions). vQmod is authored by myself and Qphoria and is backward compatible right to version 1.0
To do what you've suggested, the simplest thing to me would still be to use a payment gateway if that's what you're developing rather than a module. They are essentially the same thing, just in a different area of OpenCart's admin and folder structure so it makes little difference how you do it, just more aesthetically pleasing. If your payment gateway requires data passed via a POST then check out the PayPal Standard files on how to do this - if it's via cURL then check out the PayPal Pro files

VueJS namespaced Vuex module getter returns incorrect value on page load


Tag : javascript , By : nabbed
Date : March 29 2020, 07:55 AM
seems to work fine As @thanksd pointed out, logging objects in the console shows the values at the viewing time. The real value of the property was actually false. Changing the lifecycle of the application solved the issue.

ESP32 to ESP32 AP/client WiFi connection problem


Tag : cpp , By : n1ckless_id
Date : March 29 2020, 07:55 AM
may help you . As @juraj mentions, in the Arduino code for ESP32, you cannot initiate a scan while an attempt to connect to AP is already ongoing.
Call scanNetworks() before attempting to connect (before the WiFi.begin(ssid, password);).

PyBluez over HCI working oddly on Raspberry Pi Compute Module with ESP32


Tag : development , By : jay
Date : January 09 2021, 02:14 PM
will help you I ultimately did solve this, but I'm not sure which change did it:
I reduced the baud rate to 115200. I switched it to classic bluetooth in the firmware flash. I disabled bluetooth sleep.
ret = esp_bt_controller_enable(ESP_BT_MODE_CLASSIC_BT);
if (ret != ESP_OK) {
    ESP_LOGE(tag, "Bluetooth Controller initialize failed: %s", esp_err_to_name(ret));
    return;
}

ret = esp_bt_sleep_disable();
if (ret != ESP_OK) {
    ESP_LOGE(tag, "Bluetooth Sleep Disable Failed: %s", esp_err_to_name(ret));
    return;
}

esp-idf build flash fails when esp32 when component #includes esp_types.h found in newlib/ not esp32/


Tag : cpp , By : Anthony Eden
Date : March 29 2020, 07:55 AM
it fixes the issue The version of the getting started guide to which you linked instructs you to use a Python script named idf.py to configure, build, and flash esp32 projects (after several other steps for installing the framework and supporting tools). Nowhere does the guide describe running make directly, though it seems that may constitute a change from earlier versions.
Although it seems likely that there are other alternatives, the most straightforward approach would be to follow the guide and use the idf.py script as it describes.
Related Posts Related QUESTIONS :
shadow
Privacy Policy - Terms - Contact Us © scrbit.com