Jump to content

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


Recommended Posts

Posted

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.

Posted

Thanks for the answer but I have a problem about orange pi libraries. Can you share the link of the library you used?

Posted

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.

 

Posted

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines