Search found 11 matches

by kiranmai1268
Tue Aug 16, 2022 10:11 am
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

hello again, I'm new to the python and need some help from you. actually, we are using 3 stepper motors for 1 pico and for each stepper motor I have independent codes, only difference is the pin number that is (for stepper motor 1 the pin is 2, for stepper motor 2 the pin is 6, for stepper motor 3 t...
by kiranmai1268
Tue Aug 02, 2022 3:35 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

we are trying to run code using RPi 4b
and i'm running in things in thonny.
by kiranmai1268
Tue Aug 02, 2022 1:23 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

we are getting the output as( 0,0,0) irrespective of load we are applying. I'm attaching the image below and the code we used. import time import sys EMULATE_HX711=False referenceUnit = 1 if not EMULATE_HX711: import RPi.GPIO as GPIO from hx711 import HX711 else: from emulated_hx711 import HX711 def...
by kiranmai1268
Tue Aug 02, 2022 11:16 am
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

yes, the same question
but we are not getting the exact value when applied pressure on load cell
can you know the reason why
is there anything that needs to change?
by kiranmai1268
Thu Jul 28, 2022 3:45 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - issue with the load cell

We are currently trying to connect the following load cell https://www.amazon.co.uk/gp/product/B07 ... UTF8&psc=1 We are trying to configure this with RPi4 B and RPi Pico. Currently, this is reading random values in a loop and hoping someone can help us with that. An image of the connections can be ...
by kiranmai1268
Wed Jul 20, 2022 10:42 am
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

I have tried scale.py but it gives me error: saying type object 'SPI' has no attribute 'Master' same error I had earlier, also you mentioned some changes has to be done to scale.py in order to work with Pico using micro python.
can you please specify

Thankyou
by kiranmai1268
Tue Jul 19, 2022 4:08 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

Thankyou it worked.

there is one more question, how to do calibrate the values, and is it possible to continuously print the values?

thanks again.
by kiranmai1268
Tue Jul 19, 2022 3:06 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

still getting the same error after placing the hx711_gpio.
by kiranmai1268
Tue Jul 19, 2022 2:36 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

What type of changes do I have to make on hx711_spi.py file, can you specify please? As I have tried the example code for Pico RP2040 also there is a same directory it still gives me error.

I have attached an error image please go through it.
by kiranmai1268
Tue Jul 19, 2022 1:31 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 54909

Re: HX711 - which lib should I use?

Hx711_gpio works perfectly fine but when running a scale.py it gives: no module name 'Hx711_gpio'. Also, tried combining the codes Hx711_gpio and scale.py but give me error: type object 'SPI' has no attribute 'MASTER'.

please give me some suggestion.