HX711 / I2C

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ljoncz
New user
Posts: 7
Joined: 11 Sep 2019, 16:11

HX711 / I2C

#1 Post by ljoncz » 09 Jun 2024, 22:59

Hi,

is there a way to use Gravity I2C 1Kg Weight Sensor Kit - HX711 with EspEasy?
https://www.dfrobot.com/product-2289.html

EspEasy detects the i2c device, but the list of supported devices is empty.
I'm using ESP_Easy_mega_20240414_collection_A_ESP8266_4M1M_VCC binary.

Thanks
Lech

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: HX711 / I2C

#2 Post by Ath » 09 Jun 2024, 23:09

We have working support for HX711 using the 'regular' interface board, but not this I2C implementation. And it's not a simple hack to support that, as the regular board has some quite specific handling to support both the A and B channel that's available. Not sure if that's even supported in that I2C board.

If you haven't yet ordered that unit, you'd better order one with the regular HX711 board instead. F.e. this one: https://www.dfrobot.com/product-1031.html
If you want this specific hardware setup, you can replace the I2C board with a regular HX711 board, as the loadcell is a generic device, as shown in the plugin documentation
Last edited by Ath on 09 Jun 2024, 23:15, edited 1 time in total.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: HX711 / I2C

#3 Post by Ath » 09 Jun 2024, 23:11

ljoncz wrote: 09 Jun 2024, 22:59 EspEasy detects the i2c device, but the list of supported devices is empty.
I'm using ESP_Easy_mega_20240414_collection_A_ESP8266_4M1M_VCC binary.
The Collection builds do not include the list of devices supported to reduce the build size (and fit in more useful stuff/features).
/Ton (PayPal.me)

TD-er
Core team member
Posts: 9884
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: HX711 / I2C

#4 Post by TD-er » 10 Jun 2024, 07:42

Also you'd better use ESP32 (or some variant of the ESP32) for new projects instead of the ESP8266 as the latter one is really limited in RAM and storage space for the build.

ljoncz
New user
Posts: 7
Joined: 11 Sep 2019, 16:11

Re: HX711 / I2C

#5 Post by ljoncz » 10 Jun 2024, 10:50

Thank you guys for the replies.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests