Jump to content

Orange Pi PC Plus- Armbian OS - Reading HX711 from the GPIO pins


eabre

Recommended Posts

Hi,

I'm a beginner for orange pi series, so I bought an orange pi pc+ and I tried to use load cell with HX711. I've searched all github links and common forums but I couldn't find anything about to reading HX711 by orange pi pc+ or any device using armbian os. If I need to explain in more detail, I've checked the HX711 libraries to use reading functions of gpios. Is there anybode help me. I want to use Orange Pi in my bachelor thesis because it is cheaper than Raspberry Pi so I really need help.

Link to comment
Share on other sites

Firstly I installed OPi.GPIO from here https://github.com/rm-hull/OPi.GPIO. After that, I installed HX711 for Raspberry and changed all parts that were RPi.GPIO to OPi.GPIO but system gave me that error. What should I do as I said I am beginner in orange pi

image.thumb.png.6227cfc8ac19ebce4e20fa9da7637610.png

On 3/4/2021 at 3:07 AM, Igor said:

https://docs.armbian.com/User-Guide_Armbian-Config/

 

armbian-config -> system -> hardware

Enable and connect to I2C and you are half done. The rest is the same as on Rpi.

 

Link to comment
Share on other sites

Also, I enabled the I2C0 as you said, and connected the wires from hx711 to orange pi

               GND->GND(physical pin6)

hx711:     VCC->3.3V(physical pin1)                                  :orange pi

               SCK->SCL(GPIO3 whic is physical pin5)

                DT->SDA(GPIO2 which is physical pin3)

 

and I tried to detect i2c with "i2cdetect -y 0 command" but it detect nothing;

 

image.png

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines