Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

How to Declare Pins in Raspberry Pi #40

Open
akshaykuppu opened this issue Jan 29, 2021 · 1 comment
Open

How to Declare Pins in Raspberry Pi #40

akshaykuppu opened this issue Jan 29, 2021 · 1 comment

Comments

@akshaykuppu
Copy link

How to declare the I2C pins for the HX711 in the Raspberry Pi 3 B+? I'm very new to programming raspberry pi and arduino and I want to know where and how can I set pin # 29 and # 31 as data and clock pins and set the read samples.

Thank you for your help.

@james-e-morris
Copy link
Contributor

@akshaykuppu look at the simple_example.py where you can see the dout_pin and sck_pin defined. The dout_pin is you signal. The SCK pin is the clock.

I don't support this codeset, but I just made a new version of my own that samples multiple HX711 in parallel, if you're interested in trying that out:
https://pypi.org/project/hx711-multi/
https://github.com/Morrious/hx711-multi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants