nishant Posted April 17, 2018 Posted April 17, 2018 Hello every one I'm new to this site and I have recently purchased an Orange Pi Win Plus but got a lot of issues in configuring it. I'm now able to blink LED through Shell and C with WiringPi but I couldn't find any working Python 3 based Library for GPIO. I installed WiringPi from : https://github.com/OrangePiLibra/WiringPi This actually helped me to access GPIO through C/C++ and Shell but I couldn't find any thing for Python that's working. I came accross a new Python Library : "pyA64" but its not working. Also, the library "OPi.GPIO" doesn't supports my Board. I also tried this : https://github.com/lanefu/WiringPi-Python-OP but that's makes my "gpio" command to stop functioning. I need help!! Does anyone knows how to access GPIO on Orange Pi Win Plus through Python ?
fabbronet Posted April 20, 2018 Posted April 20, 2018 I never tried to use directly the GPIO with c/c++ but I skipped the whole hassle to find a working overlay using an 8 way i2c GPIO port expander. If you have electronic skills you can buy this chip: http://www.ti.com/lit/ds/symlink/tca9554.pdf and make a board for it or you can go with a plug&play alternative like this: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus You can manage the the i2c bus enabling it's overlay (add in /boot/armbianEnv.txt overlays=i2c0), install i2ctools (apt-get install i2c-tools) and smbus2 library for python (pip install...) good luck!
Renisson Posted July 2, 2018 Posted July 2, 2018 I'm starting with the orange pi win plus. Does anyone have tips on how to install phyton on it? Thank the all ;D
Igor Posted July 2, 2018 Posted July 2, 2018 3 hours ago, Renisson said: Does anyone have tips on how to install phyton on it? Python is installed by default ... while Python I/O libraries are not.
Renisson Posted July 13, 2018 Posted July 13, 2018 On 02/07/2018 at 02:22, Igor said: O Python é instalado por padrão ... enquanto as bibliotecas de E / S do Python não são. I need tips to use GPIO on orange pi Win plus. All my attempts were flawed
martinayotte Posted July 13, 2018 Posted July 13, 2018 There are many ways to use GPIO. You can use classic sysfs, ie : /sys/class/gpio You can also take the python Pine64 library : https://github.com/swkim01/RPi.GPIO-PineA64 You can even use that one since it has been ported for H5 with proper 64bits pointers : https://github.com/herzig/orangepi_PC_gpio_pyH5 EDIT : There is also this one coming from A64-OlinuXino : https://files.pythonhosted.org/packages/29/a8/e9ce35c362e6340713bbbffcf260c4ffca87b404d9811e5d400f33e6c5c8/pyA64-0.1.0.tar.gz
Recommended Posts