eabre Posted March 3, 2021 Posted March 3, 2021 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.
Igor Posted March 4, 2021 Posted March 4, 2021 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.
eabre Posted March 5, 2021 Author Posted March 5, 2021 Thanks for the answer but I have a problem about orange pi libraries. Can you share the link of the library you used?
eabre Posted March 6, 2021 Author Posted March 6, 2021 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 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.
eabre Posted March 7, 2021 Author Posted March 7, 2021 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;
Gabriel Bastos Posted May 19, 2021 Posted May 19, 2021 Hello , were you successful connecting? how did you solve it?
Recommended Posts