Jump to content

Search the Community

Showing results for tags 'orangepizero'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. CNX-Software just posted that H2 based Orange Pi Zero appeared on Aliexpress for $7. It has been showcased here before, but now is on sale officially, though I can't find 512MB version on the store pages. I'm eager to try 256MB version as my home IoT hub (mosquitto + nginx + uwsgi + Twisted, with MySQL database running on Zyxel NAS). It started with OPi PC then I switched to OPi One but I see it still can be lower spec device.
  2. Hi, From months i'm using the raspberry boards to monitor, control, log and to sending commands to remote stations. I've fighted against wifi devices that stop to work untill i've tried the raspberry pi3 and the edimax dongles, correct the sd errors (untill i've decided to run the boards with a readonly fs), installed the (software) watchdog, etc... but now everything works perfectly from months on more then 20 boards equipped with good power supply and sd. The last months i've tried to replace the raspberry pi board, with the orange pi lite board and armbian jessie 5.20 server. With the old version of orange pi pc, connected by ethernet, everything works fine, but with orange pi lite in cases of hard reset, it sometimes don't boot. I've tried with better power supply (2-3 models of good 3A 5v power supply), with no luck. Now finally see something happened while they is connected to a monitor and i don't know if this is the issue that happen when it don't boot, but i see that the system is frozen while systemd is showing " set cpufreq kernel... etc.." maybe this confirm what i've readed on other posts, there is something that don't works well between the voltage regulator and the cpu governor. Someone can confirm this issue? Everytime i've readed about this issue on orange pi one topics, is this the same issue discovered on orange pi lite? Someone can post me a link or a guide or a discussion where i can find something to fix this (and or others) problem, and if the fix exists, someone know if it is resolutive? This issue affect also the orange pi zero? Thanks for your attention and many thanks to anyone is working with those boards i hope to solve any problem and start to use the lite/zero boards for my projects, otherwise i have to wait for C.H.I.P.
  3. Hello, My project does not allow me to use SD card to boot and run my application. I can use SD card as drive to save my data. Is there any alternative way to do so ? Has anyone built a micro rootfs for O-Pi-ZERO NOR Flash ? Does anyone have an idea of the MINIMUM SIZE that is required to do so, if 2MB is too less ? Thanks Nbird.
  4. Hi I just download "../orangepizero/Debian_jessie_default.7z". When I try to login first time type password 1234 it not ask change it session hang. Below is ssh debug. What is wrong?? ... debug1: Trying private key: /root/.ssh/id_ecdsa debug1: Next authentication method: password root@91.154.12.130's password: < 1234> debug1: Authentication succeeded (password). Authenticated to 91.154.12.130 ([91.154.12.130]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. And nothing hapend after that.
  5. Yesterday I nearly burned my orange pi zero because of the faulty LAN cable, after that, everything I plugged into the expansion board couldn't be detected anymore by lsusb or dmesg, it works fine though if I plug in my thumb drive / usb wifi into the usb port on the main board (Next to the LAN port). How do I know for sure that my expansion board is broken and not the pin headers in the main board ? I'm not an electronic guy I don't know anything about soldering and stuff.
  6. On my new orange pi zero I hooked a pl2303 usb converter to the three serial pins and use "screen /dev/ttyUSB4 115200" to connect. This gives garbage on boot, with occasional strings of meaningful info like "Orange Pi" or "Debian". Same converter worked fine on my Raspberry Pi Zero. I'm suspecting the Orange Pi is just too fast and either the pl2303 or my Debian system can't keep up. Does anyone have the serial console working? Should I try a cp2102 instead, or maybe reconfigure to a slower speed? When I configured a DHCP server and hooked it up via ethernet, I can get in fine. Armbian 5.25 jessie, 3.4.113 kernel. 64GB sandisk Ultra plus uSD card, power from 3 amp DC-DC via 20cm cable to 13-pin connector. I'd use bigger cable for power but 4/0 doesn't fit in 2.54mm pins.
  7. It took me a while to get this ILI9340 based LCD monitor working with the Orange Pi Zero until I found a post on this forum that explains how the H2+ ports are mapped to the GPIO numbers in the Linux kernel. So I built an online tool that does the math for you: Here is a map of all the Orange Pi Zero GPIO pins: All the additional details are described in this blog post.
  8. I was unable to get UART working on my Orange Pi Zero. Note, that I am not trying to use UART to access the terminal, I need to use the UART port to say connect to an arduino, etc. Here is the output of some commands that I thought may be helpful. uname -a Linux orangepizero 4.10.0-sun8i #14 SMP Fri Feb 24 03:02:58 CET 2017 armv7l armv7l armv7l GNU/Linux dmesg | grep TTY [ 0.000000] Kernel command line: root=UUID=b5fc390b-23ef-47a8-83fb-0fd94a3d2dcc rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=8b708352-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 [ 0.001005] console [tty1] enabled [ 4.126456] console [ttyS0] disabled [ 4.146689] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A [ 4.146761] console [ttyS0] enabled Here's how I tested communication with UART. I wired up the pins (RX <--> TX) as per the pinout at http://linux-sunxi.org/Xunlong_Orange_Pi_Zero#Locating_the_UARTI would then do, screen /dev/ttyS[12] 57600 [screen is terminating] Any help is appreciated. Thanks!
  9. Orange Pi Zero shows error [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. More details How to fix this error?
  10. Hello. I updated my system to 5.25 version, and ralink usb wifi stopped working. As i can see, there is no drivers (mt7601Usta), but drivers exists at system. I tried to download drivers and complied it, but it didn't help me. Does anybody use wifi ralink dongles on orange pi zero 5.25 (3.4.113 debian) ?
  11. Had some free time to toy around with Orange Pi Zero Used a image "Armbian_5.26_Orangepizero_Ubuntu_xenial_dev_4.10.0.img" build with 'compile.sh BRANCH=dev BOARD=orangepizero KERNEL_ONLY=no PROGRESS_DISPLAY=plain RELEASE=xenial BUILD_DESKTOP=no' - which should not do anything special ? 1) First steps - run upgrades and normal tweaking (changed hostname, disabled ipv6, changed ntp, changed time-zone, generated correct locale) 2) Ensure that WLAN0 is working as client - using 'nmtui' created a new connection to my desktop WLAN router - disabled auto connect from eth0 - reboot with serial connection - run example speedtest-cli to see that the driver do work 3) Removed the client profile and redo the eth0 for auto connection 4) I used these lines to create the sample profile but them afterwards tweaked it around with nmtui 'edit profile' nmcli c add type wifi ifname wlan0 con-name ap-wlan0 autoconnect no ssid zmserver nmcli connection modify ap-wlan0 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared nmcli connection modify ap-wlan0 wifi-sec.key-mgmt wpa-psk nmcli connection modify ap-wlan0 wifi-sec.psk "password" nmcli connection up ap-wlan0 Key points here are 802-11-wireless.mode ap and shared - shared means that network manager creates "internet-connection sharing" like MacOS and Windows wizards - you cannot give dns-server or any other setting while using the shared - selection Ensure that the "automatically connect" is selected to make sure that the connection is started when booted 5) I do have the basic nat lines enabled with 'iptables-persistent' sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT 6) Actual profile root@iothub1:/etc/NetworkManager/system-connections# more AP [connection] id=AP uuid=8e0bb6d9-52f9-4000-bbfa-d49db6790598 type=wifi interface-name=wlan0 permissions= secondaries= timestamp=1487425840 [wifi] band=bg channel=1 mac-address-blacklist= mac-address-randomization=0 mode=ap seen-bssids=12:42:13:81:F5:29; ssid=IotHub1 [wifi-security] group= key-mgmt=wpa-psk pairwise= proto= psk=iothub123 [ipv4] dns-search= method=shared [ipv6] addr-gen-mode=stable-privacy dns-search= method=ignore Some output # nmcli d DEVICE TYPE STATE CONNECTION eth0 ethernet connected Wired connection 1 wlan0 wifi connected AP lo loopback unmanaged -- # nmcli c NAME UUID TYPE DEVICE AP 8e0bb6d9-52f9-4000-bbfa-d49db6790598 802-11-wireless wlan0 Wired connection 1 b9e400ce-f567-3f12-b459-366adc05a7f2 802-3-ethernet eth0 # ifconfig eth0 Link encap:Ethernet HWaddr 02:42:13:81:f5:29 inet addr:192.168.88.206 Bcast:192.168.88.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:45505 errors:0 dropped:0 overruns:0 frame:0 TX packets:28178 errors:0 dropped:0 overruns:0 carrier:0 collisions:20 txqueuelen:1000 RX bytes:66887562 (66.8 MB) TX bytes:2051800 (2.0 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 TX bytes:0 (0.0 wlan0 Link encap:Ethernet HWaddr 12:42:13:81:f5:29 inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:27567 errors:0 dropped:0 overruns:0 frame:0 TX packets:44475 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1901813 (1.9 MB) TX bytes:67699829 (67.6 MB) # iwconfig wlan0 wlan0 IEEE 802.11 Mode:Master Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off 7) Does it work ==> YES Is it fast ==> NO Is it realiable ==> DO NOT KNOW Feb 18 16:25:35 iothub1 wpa_supplicant[706]: wlan0: AP-STA-DISCONNECTED 78:45:61:ee:43:47 Feb 18 16:25:35 iothub1 kernel: [ 1723.628815] ieee80211 phy0: vif 0: set_key cmd 1 Feb 18 16:25:35 iothub1 wpa_supplicant[706]: Device is trying to offload WPS Probe Response while not supporting this Feb 18 16:25:38 iothub1 wpa_supplicant[706]: Device is trying to offload WPS Probe Response while not supporting this Feb 18 16:25:38 iothub1 wpa_supplicant[706]: wlan0: AP-STA-CONNECTED 78:45:61:ee:43:47 Feb 18 16:25:38 iothub1 kernel: [ 1726.789198] ieee80211 phy0: vif 0: set_key cmd 0 Feb 18 16:25:38 iothub1 kernel: [ 1726.789213] ieee80211 phy0: CCMP_PAIRWISE keylen=16! Feb 18 16:25:38 iothub1 dnsmasq-dhcp[902]: DHCPREQUEST(wlan0) 10.42.0.153 78:45:61:ee:43:47 Feb 18 16:25:38 iothub1 dnsmasq-dhcp[902]: DHCPACK(wlan0) 10.42.0.153 78:45:61:ee:43:47 ideapad Feb 18 16:26:07 iothub1 kernel: [ 1755.102706] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 53, RD DCE !! Feb 18 16:26:07 iothub1 kernel: [ 1755.109460] sunxi-mmc 1c10000.mmc: data error, sending stop command
  12. Hi, I have probably trivial question related to GPIO on Orange Pi Zero. So - I have a switch there connected ot 3.3V and then to GPIO (pin 12 on Zero). What I want to do is just to read GPIO state. When button pressed it goes to high state - normally. On RaspberryPi and Odroid C1 that works fine just using basic code with wiringpi2 or eventually wiringpi. So I tried the same on Zero compiling wiring for H3/H2. My code is basic in Python: import time import wiringpi import pyA20 as GPIO cykl = 1 wiringpi.wiringPiSetupGpio #or wiringPiSetup() wiringpi.pinMode(1,0) while cykl == 1 : do_call = wiringpi.digitalRead(1) if do_call: print 'pressed' time.sleep(0.05) On other arm machines it works. Did I missed something with ZERO? I do not have any error - but so far I never got change of the state to 1. I assume in mapping PIN 12 is GPIO1 or eventually GPIO7. Is this correct? I think I have missed something there - probably very basic..... Thanks in advance for help.... Michal
  13. Howdy, I set up a new OrangePi Zero with the Legacy 3.4.113 Ubuntu Xenial. I was able to get wifi working however when I try to do a sudo-apt get update or upgrade it freezes and crashes. I am using a 32gb Samsung Evo. Cpu temp is hovering around 57 C with no load. Any tips besides reinstalling the image?
  14. Hello everyone I just bought an orange pi zero (512mb) and installed ubuntu xenial ... I was able to connect to my wifi AP using nmtui, and now I am trying to "share" the internet with any device that is connected in eth0 ... I followed many tutorials and read several threads, but without success. My settings are defaults, I installed ubuntu xenial, just gave apt-get update and upgrade I would be grateful if anyone could help me ... thank you.
  15. Hey, I was wondering if anyone came across the board layout files. If eagle cad files were available that would be great! I'm assuming that they dont exist.. Or has someone designed a hat or shield for the OPi0? I want to design one and was hoping someone else beat me to it. If not i'll just have to measure it out and make it. I dont want to reinvent the wheel so that would be cool Thanks
  16. Hello, today I try to recompile armbian and produce some image which can be fited into nor flash. I would like to fit uboot, dtb and kernel into Winbond W25Q128FVSSIG and rootfs into sdcard. So I found some instruction in which I need to modify first kernel and dts (ref. http://linux-sunxi.org/Xunlong_Orange_Pi_Zerochapter SPI NOR flash). For Armbian it is quit difficult, when I issue ./compile.sh than everything regarding to Uboot is cleared. First what I need to do is modify sun8i-h3-orangepi-one.dts with following content &spi0 { status = "okay"; flash: m25p80@0 { #address-cells = <1>; #size-cells = <1>; compatible = "winbond,w25q128"; reg = <0>; spi-max-frequency = <40000000>; };}; Than I need to modify .config file of Uboot by adding CONFIG_SPI_BOOT=yes. But as I mentioned after issue ./compile.sh everything go back to let we say factory settings. How to workaround this issue to pass through necessary options. Final question is that if all of mentioned modification allows me to manipulate and see /dev/mtd0. Thanks in advanced Best Regards Voloviq
  17. I am running ubuntu xenial (legacy version) on my orangepi zero 256Mb version and using it as a web server with light torrenting. The SoC temperature reading in armbianmonitor reaches above 80C easily. When i log in via ssh after boot the temperature reads usually 60-65 C and normal operations easily cross 70C. This is my first SBC so I am not sure if this is normal? Can anyone tell me if these temperature readings are notmal or do i need heatsink to cool down my system? Thanks in advance.
  18. I upgraded some day ago to a new release and I experiencing increase cpu heat. My OPI Zero is running 24/7 and most of the time (99%) it has nothing to do. So its in idle. When I run >> ARMBIAN Ubuntu 16.04.1 LTS 3.4.113 have cpu idle temp around 38-39c (room temperature 22c) After the upgrade to >> ARMBIAN 5.25 stable Ubuntu 16.04.1 LTS 3.4.113 increased the idle temperature to 49-50c (room temperature 22c) Am I alone with this problem..? I dont see any increase in processor activities, but I did not analysed which processes are running and different after the upgrade. Been using, armbianmonitor -m to keep an eye on the temperature. To avoid OPI Zero does funky stuff (push it self up to top freq. in idle)... I even tried to force the top cpu frequency to the minimum (240MHz), but it did not helped regarding the temperature increase. Did the upgrade changed any voltage related parameter? How can I check that? --
  19. I would like to remove wifi from my Zero... dont need it. The device will not be used network connected. It will serve as an OTG usb dongle only. How to remove or reinstall all wifi related components? It would be also great how to enable / disable ethernet connection from command line... is it just nmcli network off / nmcli network on or is there a more efficient way to do it?
  20. Hey there So I was planning on using the OPZero on a robot that I had already made, which took use of SPIdev, and it was doing calls to the spidev driver in C. Now I noticed that the OPZero has 2 SPI channels, one for the NOR flash (Which isnt populated) on the back and another that goes to the GPIO headers on the device. Now I ran my script, and turns out that /dev/spidev0.0 is actually writing SPI commands to the rear SPI channel. This is apparenly SPI0 according to the schematics. Now following the schematics again, I want to access SPI1, which currently does not exist as a spidev file. I tried "modprobe spidev" to bring up the extra interface, but sadly nothing brought up /dev/spidev0.1 (Which I am assuming is the one I want.) Any pointers on how to get the extra SPI bus up and running? Btw, I have confirmed that it is writing to the rear SPI hooking up my logic analyzer to the rear and running my program. The signals came out perfectly on the back one, which is awesome, but I need the ones on the GPIO headers to work. Thanks for the help!
  21. Hello everyone, I need use gpio pins in my Orange Pi Zero. I found the pyA20 library: orangepi_PC_gpio_pyH3: https://github.com/duxingkei33/orangepi_PC_gpio_pyH3... I bought the DHT11 sensor, but I could not get it to work in any way. Is there anyone working on this subject? For example, my code block: #!/usr/bin/env python from pyA20.gpio import gpio from pyA20.gpio import port from pyA20.gpio import connector from time import sleep def bin2dec(string_num): return str(int(string_num, 2)) data = [] #GPIO.setmode(GPIO.BCM) PIN = port.PA6 gpio.init() gpio.setcfg(PIN, gpio.OUTPUT) gpio.output(PIN,gpio.HIGH) sleep(0.025) gpio.output(PIN,gpio.LOW) sleep(0.02) #gpio.setup(PIN, gpio.IN, pull_up_down=gpio.PUD_UP) gpio.setcfg(PIN, gpio.INPUT) gpio.pullup(PIN, 0) gpio.pullup(PIN, gpio.PULLDOWN) gpio.pullup(PIN, gpio.PULLUP) for i in range(0,500): data.append(gpio.input(PIN)) bit_count = 0 tmp = 0 count = 0 HumidityBit = "" TemperatureBit = "" crc = "" try: while data[count] == 1: tmp = 1 count = count + 1 for i in range(0, 32): bit_count = 0 while data[count] == 0: tmp = 1 count = count + 1 while data[count] == 1: bit_count = bit_count + 1 count = count + 1 if bit_count > 3: if i>=0 and i<8: HumidityBit = HumidityBit + "1" if i>=16 and i<24: TemperatureBit = TemperatureBit + "1" else: if i>=0 and i<8: HumidityBit = HumidityBit + "0" if i>=16 and i<24: TemperatureBit = TemperatureBit + "0" except: print "ERR_RANGE" exit(0) try: for i in range(0, 8): bit_count = 0 while data[count] == 0: tmp = 1 count = count + 1 while data[count] == 1: bit_count = bit_count + 1 count = count + 1 if bit_count > 3: crc = crc + "1" else: crc = crc + "0" except: print "ERR_RANGE" exit(0) Humidity = bin2dec(HumidityBit) Temperature = bin2dec(TemperatureBit) if int(Humidity) + int(Temperature) - int(bin2dec(crc)) == 0: print Humidity print Temperature else: print "ERR_CRC" In the meantime, as in the following photo: Thanks
  22. I would like to remove "everything" from the installation, which I don’t need, with the goal to minimize the footprint. I installed tasksel and its show a lot of packages on disk... so my question is what can be removed to keep a basic ubuntu server without a desktop interface and with some most used functions and files. I tried to remove some of them, like… ubuntustudio-videoubuntustudio-photography ubuntustudio-graphics mail-server ubuntu-gnome-desktop ... I can imagine to remove all CD installation and images as well... …but my problem is that if I for example remove “ubuntu-gnome-desktopâ€, the OPI Zero is not answering on ssh request any more. So, for me its looks like it does more than just removing the desktop components. Any idea how I can sort this out what package can be removed…?
  23. I'm running into some trouble with connecting some I2C devices to my OrangePi Zero. I need to reduce the I2C clock speed set by the OrangePi master. Can anyone direct me on how to do this?
  24. Hi, Trying to setup audio mux on orange pi boards, for now trying to stick on orange pi ZERO & ONE ( both of them ). By mux, meaning will try to setup some peers which can play locally or stream sources they have. Let's say all peers have - x2 line in - x1 mic - x1 line out Want to dynamically connect any source to any output on any peer. For example after choosing, you can able to play line in of peer 1 on peer 1 output OR peer1 line in on peer 2 output And I think CD quality is more than enough. Trying to find any tools that will help to make this. Two solution points needed: - hardware: ?? as far as I can find, there is "line in" on ONE, maybe also in ZERO but how to connect them? ( can see on the chip specs but no luck on orange boards ?) Or is it more easy to connect a usb sound card which have these inputs ? (actually line in is the problem , maybe muxing mic in or ... ) By the way trying to hold the cost. Find some cheap usb sound tools , dont know if suitable or not. And ok if it needs to solder, for an optimum solution. - software: Lots of choices available, if doable mpd seems to be fine ( not sure if dynamic enough ) or ffmpeg seems to be an easy one. Headless solutions will be good so all terminal tools without GUIs. Can you share your ideas about this project ? Right direction to a path or any comments on a title will deepen the approach.
  25. Hey Guys, IM finally trying to make use of my OPi0 and Im planning on creating a daughterboard/hat/shield similar to the expansion board they sell, but with only the bits i need. One thing i'm wondering is if its possible to feed the power (5v) via the pins on the expansion board and not using the OTG input. Im trying to keep it as clean as possible and dont want to have the OTG connection for power. Is the regulator only on the OTG? Last I checked, my power supply gives out a steady 5.3v feed @5amps (driving some power hungry pixels). In regards to sound. I wanted to use an LMA386 amp on my custom daughter board to boost the output for a 4 ohm speaker i'm going to use. I noticed on the expansion board that two pins are use for left/right channel output. Since its a mono speaker, i'll only need one channel. im assuming that should be ok right? or should I bridge the left/right and pass that to the amp? Thanks for your time.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines