• Content Count

  • Joined

  • Last visited

About Sp0T

  • Rank
    Advanced Member

Recent Profile Visitors

638 profile views
  1. Dear All, It was my bad. Forget to remove pins from gpio. Regards, Sp0T
  2. Dear All, I try to use the UART3 on my Orange Pi mini but it just won't work. I put a jumper on Pin 8 and pin 10 on the header. Also give read/write premmission to all users. Based on this UART3 is /dev/ttyS2 [ 0.000000] console [tty1] enabled [ 0.954713] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A [ 0.985810] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A [ 1.016890] sunxi-uart.3: ttyS2 at MMIO 0x1c28c00 (irq = 36) is a U6_16550A [ 1.047968] sunxi-uart.7: ttyS3 at MMIO 0x1c29c00 (irq = 52) is a U6_16550A [ 6.01
  3. Thank you everyone. Based on your hints, i was able to controll a port. And at last i understand it Thank you, Sp0T
  4. So gpio_pin_10 = port:PI12 is physically the 12nd pin on the header?
  5. This one worked: echo 16 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio16/direction echo 1 > /sys/class/gpio/gpio16/value But i still don't know which physical port is this?
  6. The result: root@orange:~# echo 225 > /sys/class/gpio/export -bash: echo: write error: Invalid argument root@orange:~#
  7. Hello, From the script.bin file(linked in the first post) [gpio_para] gpio_used = 1 gpio_num = 88 Yes, i tried and i got error because there are only 88 ports declared into the script.bin file. Regards, Sp0T
  8. Some future more information, my board is an Orange PI mini A20. I tried to use the formla by xunxi : (position of letter in alphabet - 1) * 32 + pin number But all the numbers are over 88 and i'm not able to export them at all. I try to calculate out gpio_pin_16 = port:PH01 but i don't really know it this port 1 or port 16 or none of them. it was (8 - 1) * 32 + 1 which is 225 but there are no 225 the max is 88 If anyone can help i would thanks that. Regards, Spot
  9. Hello Everyone, I would like to play with my A20 board a bit and would like to use the GPIOs. I checked the forum but it's still not clear what to do and how. Can someone explain to me how to get for example pin 16 on the board? This is the fex: Thanks, Sty
  10. Thank you guys for the great helps. Electron is looks promising, and It's up to date. I found another solution too. I Have an A20 board, where I installed Lazarus, but I cannot slove the I/O ports handling. Thanks for a great site now I found a solution on that. It's called PXL Library http://asphyre.net/products/pxl. I'll try out both solution and compare them based on resource using, GUI Development...etc Regards, Sp0T
  11. Hello Guys, The main reason I bought my orange pi One is to create custom softwares on it(mostly on Linux distro). I checked google and can't really decide which is the best programming language, which have a nice IDE, able to handle GPIO-s and other periferials like SPI, COM...etc, able to create a fair looking UI. Can someone suggest me some ideas? Programming language does not really matter. Any ideas are welcome Regards, G.
  12. @Igor The main problem was when you tried to play a video with the Orange Pi/Orange Pi Mini A20 boards the screen was black. It's caused by the default script.bin configuration. After I changed the settings the HW accelerated video playback worked. Regrads, Sp0T
  13. Once i tried rellla's install notes http://linux-sunxi.org/User:Rellla/Armbian. The codec pack not worked because i messed up the things. Also you need these patches http://linux-sunxi.org/User:Rellla/Armbian/vlc too but the "configure.diff" not worked for me(failed) which need some debugging.
  14. Same issue with dev on A20. Also i found out another thing. MPV sometimes fail to decode movie. I'll upload images compared dev and master here Compare dev vs master: Also i noticed if you force fps to 24 the image quality is better. Maybe it1s my monitor or mpv but the colors are not good. I'll try vlc tomorrow.
  15. Yes. dev repo have better contrast, brightness. I'll try to play a full movie and monitor A20 temperature and CPU usage. What i found as issue is only a small one. When the video starts there is no screen at all but if you put it on full screen it's works fine. I'm still testing it and try to find the best config. there are some movies (like avi) where the color is mixed wrong(both dev and master). Sp0T