Jump to content

Johhny Blue

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Johhny Blue

  1. Thanks Olivluca. It worked perfectly for me. J.
  2. Can someone help me with a way to set the internal pullup resistors on a couple of gpio's on boot up? I want to use a couple of buttons without external resistors and without the resistors I get random triggers. I want to use command line without something like wiringGPIO Thanks for any help. J.
  3. I have been playing around with this as it is really annoying and have found that (on my board) by unmuting mic1, playback will be instant - but there is a loud pop/click. Does anyone know how to remove the click/pop? J.
  4. Hi Mitch. I am trying to get the on board audio on my neo to work. Can you point me in the right direction with what I should be selecting in buildroot? Also, I amn try to get USB storage to work so i can plug in a USB stick - any hints on this one? Thanks. J.
  5. Hey Igor. Thanks for the reply. I checked out your links and it is way beyond me. I looked the current fex file and found these 2 occurrences of PA 15 [card_boot] logical_start = 40960 sprite_work_delay = 500 sprite_err_delay = 200 sprite_gpio0 = port:PA15<1><default><default><default> next_work = 3 and [spi1] spi_used = 0 spi_cs_bitmap = 1 spi_cs0 = port:PA13<2><1><default><default> spi_sclk = port:PA14<2><default><default><default> spi_mosi = port:PA15<2><default><default><default> spi_miso = port:PA16<2><default><default><default> and PA16 [audio0] audio_used = 1 lineout_vol = 31 cap_vol = 5 audio_hp_ldo = "none" adcagc_used = 0 adcdrc_used = 0 dacdrc_used = 0 adchpf_used = 0 dachpf_used = 0 audio_pa_ctrl = port:PA16<1><default><default><0> So I really don't know what to change it to (without killing my system), that will allow me to connect a button between that port and ground. Is it even possible with those ports or should I look elsewhere?
  6. Hi, I realise the NeoCore is not yet supported, but I hope someone can help me with a problem that I am having using the GPIO as buttons. I would like to use the gpio marked GPIOPA13,P A14, PA15,P A16 and PA2 I think these are used by the UART and SPI - I don't require this functionality. I think I have to modify the fex, I have looked, but do not want to kill my system Isit possible to use those gpio? Can someone point me in the right direction? TIA. J.
  7. Hi. I have multiple USB wifi sticks and I would like to be able to connect to my wifi network without having to enter the device mac etc. using nmtui. Is it possible to use wlan0 as the device? Thanks. J.
  8. Hi Guido. I have been searching for a way to play audio on my blue tooth speaker for ages and was really excited when I saw your post. I compiled it according to your instructions and I can see and pair my speaker.But when I try to play a file I get this error My device shows as a ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) I am using the latest Armbian. Do you have any suggestions for me? Thanks. J.
  9. Thanks @tkaiser for your reply. I naively just used the sd card from an existing Armbian Nano Pi Neo board and it all seemed to work. I may try the Neo air image or will wait for a supported image. J.
  10. Hi. I have received my new Neo Core and would like to flash my image to eMMC. I tried nand-sata-install but it says there is no target. On the Friendly Arm site they have a utility called eflasher, but I think this does not support Armbian. Is there a way to do it or a guide that I have missed? Thanks. J.
  11. Hi, I am using the Armbian NanoPiDuo image and I have enable sound through armbian-config. It work well except for a small issue. When a file is sent to play, it misses out on about .5 seconds of the first part of audio. So if I run speaker-test -t wav, instead of the sound playing "front left" it just play the work left, the continues playing "front left" correctly. If I stop speaker test and run again straight away it work as planned. If I wait a few seconds the original problem occurs. To my basic knowlege, it seems like it is initialising the sound out. Is anyone else having this problem? Are there any settings I can adjust to fix the problem? I know these are not completed versions, so I understand if it can not be fixed at the moment. Thanks V.
  12. Hi. I am hoping to connect this type of IR receiver to my NanoPi Neo. https://www.jaycar.com.au/arduino-compatible-infrared-receiver-module/p/XC4427 I am hoping that all I need to do is connect 5v, ground and signal to the IR receiver pin to pin 6 on the header. Can anyone help me with the software and what I need to do to install lirc so the IR receiver is recognised? TIA V.
  13. HI.. I have an opi zero and I want to copy the card and use it in a NanoPi Neo I plugged it in and it works but displays Orange Pi Zero on the login screen. What steps should I take to make it work best in the NanoPi Neo? Thanks. V.
  14. Hi All. Are there any rules to setting the CPU frequency and DRAM frequency using this tool? Eg: can you set the CPU Frequency to 827mHz (just a weird number) or are there specific multiples that are needed? Are there any combinations to avoid or that are best suited together? Thanks. J.
  15. Hi. Did you find a solution to this? I would like this type of config too. J.
  16. Hi All. I have 4 buttons connected to my gpio on my OPI zero and it all works fine.I use python to get the status. What I would like to do is make each button have 2 or 3 functions, ie: if press for 1 second or less, perform short.sh, if 2-4 seconds, perform medium.sh and if greater than 4 second perform long.sh I have attached my current python code. Can this be done with this version of gpio for OPI zero? Thanks in advance for any suggestions. JB 4button.py
  17. Well I think that this is a great idea. I have 3 builds I would like, but I do not have the capability to create them. You could also branch out to the Rasberry Pi community - a lot more users and I reckon lots of builds. (Although it is not Armbian) $5 is reasonable and I am sure many '000's would be built. I would pay $10! V.
  18. For info, I am using the latest beta image and experiencing the same flaky behaviour with wifi. Sometime is works - nearly always with ethernet plugged in and other time I can see it has grabbed an IP from my router but I can't ping or ssh. I do not have a debug connector so can't give more info. Hopefully it will be resolved when a full release comes. J.
  19. Hi Everyone. I have an Orange Pi One and I can use the micro USB (otg) port as a standard USB port - I can plug in a memory stick or USB speakers and it works fine. Is it possible to have the same functioniality with the OPI Zero? I tried and it does not work - I am powering the board through the GPIO header. Even if I plug in USB speakers that have an LED indication - no LED lights, so I guess no power. I looked at the fex file from the OPI One and could not see the difference there in the OPI Zero. I know it is in beta, so I do not expect it straight away, but it would be good to know if it is possible Thanks for any help. J
  20. Hi, I want to use the latest version of mpg123. The version in the repository is 1.20.1-2. I have compiled the latest version myself (1.23.8) , but I am curious as to the timing and process of when packages get updated. Thanks for your input. V.
  21. Hi. I am just wondering what the fastest time people have getting from plug in power to command prompt on something like the NanoPi M1 or Neo. I use one of mine as an command line mp3 player (mpg123) and pretty much that;s all it does apart form some gpio buttons. It does not use network. Are there any tips on speeding up boot so playback can commence faster? I have never build a version of Armbian, but I am willing to give it a try - would a custom version be much faster? Any thoughts would be greatly appreciated. Are there any other images floating around that could demo a faster speed? J.
  22. I have this python matrix keypad working on my rpi and hope someone can help me convert it to pyA20. Thanks again. #!/usr/bin/env python import RPi.GPIO as GPIO import time import os from time import sleep GPIO.setmode(GPIO.BOARD) MATRIX= [[1,2,3], [4,5,6], [7,8,9], ["u",0,"d"] ] ROW=[7,11,13,15] COL=[12,16,18] for j in range(3): GPIO.setup(COL[j],GPIO.OUT) GPIO.output(COL[j],1) for i in range(4): GPIO.setup(ROW[i],GPIO.IN,pull_up_down = GPIO.PUD_UP) try: while(True): for j in range(3): GPIO.output(COL[j],0) for i in range(4): if GPIO.input(ROW[i]) == 0: print MATRIX [i][j] print "/usr/local/bin/" + str(MATRIX [i][j])+".sh" a = str("/usr/local/bin/" + str(MATRIX [i][j])+".sh") print a os.system (a) sleep(0.2); time.sleep(0.2) while (GPIO.input(ROW[i])==0): pass GPIO.output(COL[j],1) except KeyboardInterrupt: GPIO.cleanup()
  23. Thanks Man. It is simple once you see it like you have written it. On some other example I can see import RPi.GPIO as GPIO Is it as simple as swapping RPi.GPIO to pyA20.gpio and matching the correct pins? V.
  24. Hi Everyone. I have been looking for a way to connect this keypad directly to my Orange Pi PC+ directly through gpio without resistors. https://www.adafruit.com/product/1332 I also need software (hopefully either bash or python) to read a key press and then either run a script or perform a command. If anyone here done this or even connected 1 switch to gpio (without resistors), could you please post the solution or a link to follow. Thanks. V
  25. If I use the overlay as above, does this protect the SD from corruption if my board is subject to random power outages? I saw in another post about removing commit and adding sync to fstab, are there any other steps I can take to make it more reliable in the case of random power outages? Thanks. J
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines