# HX711 load cell node

**URL:** <https://discourse.nodered.org/t/hx711-load-cell-node/9154>\
**Category:** General\
**Created:** [18 March 2019 22:34 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154 "2019-03-18T22:34:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@khalil](https://discourse.nodered.org/u/khalil)\
**Post date:** [18 March 2019 22:34 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/1 "2019-03-18T22:34:23Z")

</div>

Hi everyone. I'm still a beginner and I'm preparing a program that displays the current weight on node red using a load cell and hx711 and raspberry pi3. I have the python program that calculates the weight it works well but when I try to associate this with node red I'm completely blocked since I would like to take the result generated by my python program and display it on nod red directly. I looked in the node red palette if an hx711 library do exist but i found nothing then Ive decided to build my own node red hx711 node I found that i have to assemble three types of files : html js and jason to do this. I found these three files well prepared by someone but I'm stuck there I don't know how to do that

am i thinking right ? can anybody tell me how to do that just by using raspberry ?

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [19 March 2019 08:25 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/2 "2019-03-19T08:25:24Z")

</div>

Welcome to the forum!.  
You can use the exec node to execute your python program and return the result.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [19 March 2019 08:59 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/3 "2019-03-19T08:59:13Z")

</div>

Yes - agree - to start with I'd recommend just using the the exec node (possibly with python -u option to ensure the output is unbuffered). Creating your own node that uses external libraries on day one is hard. Get it working how you want it to work - then see if there are sensible options that a bespoke node could help with, then think about implementing.

---

<div class="post-metadata">

**Author:** ![khalil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@khalil](https://discourse.nodered.org/u/khalil)\
**Post date:** [20 March 2019 00:04 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/4 "2019-03-20T00:04:21Z")

</div>

thank you guys for the answer. its really helpfull

---

<div class="post-metadata">

**Author:** ![Pjlals](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pjlals/32/69483_2.png) [@Pjlals](https://discourse.nodered.org/u/Pjlals)\
**Post date:** [2 June 2023 14:43 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/5 "2023-06-02T14:43:17Z")

</div>

Sir , if I use python file in exec node , whole node res gets crash ..

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 June 2023 15:06 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/6 "2023-06-02T15:06:31Z")

</div>

@Pjlals This thread is four years old so I’m going to close it. Please start a new thread explaining your problem.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 June 2023 15:06 UTC](https://discourse.nodered.org/t/hx711-load-cell-node/9154/7 "2023-06-02T15:06:36Z")

</div>


