Jump to content

GeorgeFlorian

Members
  • Posts

    5
  • Joined

  • Last visited

  1. I am back to square one. I fired up the project, after I've made the script with all the pins that I needed and my project still doesn't work. I have put the following lines of code inside /etc/rc.local so that it fires up on every boot: ``` echo 362 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio362/direction echo 68 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio68/direction echo 35 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio35/direction echo 71 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio71/direction echo 81 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio81/direction echo 34 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio34/direction echo 360 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio360/direction echo 64 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio64/direction echo 65 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio65/direction echo 361 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio361/direction echo 66 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio66/direction echo 67 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio67/direction echo 234 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio234/direction ``` I am trying to drive some RGB LED Panels using this library: https://github.com/hzeller/rpi-rgb-led-matrix
  2. It appears that I have some life in the Pins after all. How can I make them "wake-up" on every boot ?
  3. I can't use echo 101 > /sys/class/gpio/export I have a rather strange error. I am the root and I can't do a thing to export. root@bananapim3:/sys/class/gpio# ls -l total 0 --w------- 1 root root 4096 Jan 1 1970 export lrwxrwxrwx 1 root root 0 Jan 1 1970 gpiochip0 -> ../../devices/platform/soc/1c20800.pinctrl/gpio/gpiochip0 lrwxrwxrwx 1 root root 0 Jan 1 1970 gpiochip352 -> ../../devices/platform/soc/1f02c00.pinctrl/gpio/gpiochip352 lrwxrwxrwx 1 root root 0 Jun 25 09:35 gpiochip414 -> ../../devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp20x-gpio/gpio/gpiochip414 --w------- 1 root root 4096 Jan 1 1970 unexport root@bananapim3:/sys/class/gpio# echo 101 > /sys/class/gpio/export bash: echo: write error: Invalid argument Also, which one is GPIO 101 ? I can't figure it out. I presume this is the formula for the pin number: (position of letter in alphabet - 1) * 32 + pin number Looking through the pin-out of the Banana Pi M3 I have some weird named pins like: PL10-S-EINT10 PC4 PC4 I hope that PL10-S-EINT10 is actually PL10, and by using the formula I have (12 - 1)*32 + 10 = 362 and that PC4 PC4 is a typo and it should've been PC4 which, using the formula, should be: (3-1)*32+4 = 64 EDIT: I've tried that script with PL10-S-EINT10 which is Pin 7 and I got a signal on the oscilloscope. Also, I can't find PE17 on the Banana Pi3.
  4. Hello ! I have a Banana Pi M3 that has 0 output on every pin. I measured 0 output using an oscilloscope. I have been on all of the forums I can think of and I got no answer. How can I make the pins of this damned board work like the ones from a Raspberry Pi ? How does one define a pin ? What does defining a pin means ? Because the pins look dead to me. How do I make them start ? How do I make them to output something... anything ? I am a total and complete noob and I have no idea of the kernel voodoo that has to be done. I am using ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi
  5. Hello ! I’ve been trying for the past few days to make the Banana Pi M3 work with hzeller/rpi-rgb-led-matrix LED Library. But it doesn’t. I’ve tried with Jessie: Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=raspbian ID_LIKE=debian then I’ve tried with armbian: Linux bananapim3 4.19.38-sunxi PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=debian No luck. The project works perfectly fine with Raspberry Pi Zero: Linux raspberrypi 4.19.42+ PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian I’ve followed the troubleshooting guide from the library. Is there somebody who made it work ? I really need it for a project and I can’t just fix this damned board. I will try and get other boards. More info: https://github.com/hzeller/rpi-rgb-led-matrix/issues/834
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines