Comments on: ESP32 with Load Cell and HX711 Amplifier (Digital Scale) https://randomnerdtutorials.com/esp32-load-cell-hx711/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 23 Dec 2024 11:12:23 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-993796 Mon, 23 Dec 2024 11:12:23 +0000 https://randomnerdtutorials.com/?p=109850#comment-993796 In reply to Nikita.

Hi.
I’m not sure.
Please check the wiring and power source.
Regards,
Sara

]]>
By: Nikita https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-993680 Sun, 22 Dec 2024 22:44:06 +0000 https://randomnerdtutorials.com/?p=109850#comment-993680 Sarah, hi. Thank you for your work. My question is why my calibration factor is constantly different and always very small, if you had it -471.497, then I have it 0.001 every time it shows a different mass, please tell me what the problem is!

]]>
By: Rodrigo D https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-858788 Wed, 06 Sep 2023 04:53:59 +0000 https://randomnerdtutorials.com/?p=109850#comment-858788 In reply to Salomé.

Yes, it really works! Thanks for sharing! I had this problem and now finally my code can run.

However, as mentioned earlier, in ESP32 you don’t even need to reduce your speed anymore, as the newer versions of the library can handle ESP32 at full speed. Here I’m using it along with configured OTA, a 3.5″ TFT display and a bunch of other stuff and it’s running normally at 240MHz.

]]>
By: Salomé https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-853172 Fri, 04 Aug 2023 13:40:14 +0000 https://randomnerdtutorials.com/?p=109850#comment-853172 It seem the arduino-esp32 API changed some functions in the arduino-esp32 version 2.0.9 package.

#include “soc/rtc.h”

void setup(){
Serial.begin(115200);

rtc_cpu_freq_config_t config;
rtc_clk_cpu_freq_get_config(&config);
rtc_clk_cpu_freq_to_config(RTC_CPU_FREQ_80M, &config);
rtc_clk_cpu_freq_set_config_fast(&config);

scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
}

and then it should work properly again.

Kind regards,
Salomé

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-837397 Fri, 26 May 2023 15:21:45 +0000 https://randomnerdtutorials.com/?p=109850#comment-837397 In reply to Sirius.

Hi.
That’s probably an issue with the wiring.
Regards,
Sara

]]>
By: Sirius https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-837238 Thu, 25 May 2023 07:19:32 +0000 https://randomnerdtutorials.com/?p=109850#comment-837238 😭]]> HI Sara, I ran it , but the result says
one reading : nan | average: nan
😭😭

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-826841 Sat, 25 Mar 2023 11:04:49 +0000 https://randomnerdtutorials.com/?p=109850#comment-826841 In reply to Arunendu Ghosal.

We have a tutorial showing how to write to an OLED of a similar board: https://randomnerdtutorials.com/esp32-built-in-oled-ssd1306/
Just make sure to double-check the pinout of your specific board. Then, it is easy to adjust to use the proper pins.
Regards.
Sara

]]>
By: Arunendu Ghosal https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-826346 Tue, 21 Mar 2023 19:26:16 +0000 https://randomnerdtutorials.com/?p=109850#comment-826346 Thanks Sara – this was a great demonstration and I am able to get the weight displayed in the serial monitor -BUT I have hard times with 2 of the below:

Displaying in the OLED (I am using “AITIAO 2PCS 0.96″ OLED ESP-WROOM-32 ESP32 Display 2.4GHz WiFi Bluetooth Dual Mode Development Board Display for Wemos D1 AP STA”). Bought from Amazon : a.co/d/b8NK4sG
Also can I transfer the weight of the item to count considering I have n of items with same weight.

Can we have an example for that please.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-809298 Tue, 10 Jan 2023 17:22:24 +0000 https://randomnerdtutorials.com/?p=109850#comment-809298 In reply to Giuseppe Pezzella.

Hi.
Yes, you can use other GPIOs depending on the board you’re using.
Make sure you use a safe pin for input — check the ESP32 GPIO guide: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
Regards,
Sara

]]>
By: Giuseppe Pezzella https://randomnerdtutorials.com/esp32-load-cell-hx711/#comment-809086 Mon, 09 Jan 2023 18:46:39 +0000 https://randomnerdtutorials.com/?p=109850#comment-809086 Hi
which kind of pins can be used instead of GPIO16 and GPIO4 and why?

For example GPIO17 and GPIO16 also can be used but other GPIO couple no.

Why??

Thanks

]]>