Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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.

  • Author

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

  • Author

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.

 

  • Author

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.