nopnop2002

Members
  • Content count

    58
  • Joined

  • Last visited

About nopnop2002

  • Rank
    Advanced Member

Recent Profile Visitors

418 profile views
  1. IR Receiver for NanoPi Neo

    Pin assignment of this module is probably below. The left :Signal ->IR receiver pin.pin #6 on the 12 pin header Medium :Gnd The right :3.3v An IR receiver power supply has to be 3.3V. Don't use 5V. Check this. https://www.marinostore.com/sensores/87-receptor-infravermelho-tl1838-vs1838-vs1838b.html Installation is same as OPI-PC.
  2. Nanopi Neo Air and WiringNP

    There is 2 Repository. https://github.com/friendlyarm/WiringNP https://github.com/wertyzp/WiringNP friendlyarm's WiringNP have a mapping bug. gpio of pin#35 and #36 won't work. static int pinToGpio_m1 [64] ={ 0, 6, // 0, 1 2, 3, // 2, 3 200, 201, // 4 5 1, 203, // 6, 7 12, 11, // 8, 9 67, 17, //10,11 64, 65, //12,13 66, 198, //14,15 199, -1, //16,17 -1, -1, //18,19 -1, 20, //20,21 21, 8, //22,23 // 13, 9, //24,25 /nopnop2002 16, 9, //24,25 // 7, 16, //26,27 /nopnop2002 7, 13, //26,27 15, 14, //28,29 19, 18, //30,31
  3. OPI PC with lirc ( IR transmit )

    @yigido I'm sorry by the slow response.
  4. eMMC backup

    I fixed my post.
  5. I finally mapped the GPIO on the OPZ+2 (H3)

    @specialist383 For Python users,you can control all pin using python-periphery. https://github.com/vsergeev/python-periphery.git
  6. Try this https://github.com/nopnop2002/OrangePi-ZERO-FAN-HAT
  7. NanoPi Neo Air - Unable to load i2c-sunxi

    @moonki123 Try this 1.edit /etc/modprobe.d/fbdev-blacklist.conf and add 2 line. blacklist pcf8591 blacklist bmp086 2.reboot system
  8. 1.Update package $ sudo apt-get update $ sudo apt-get upgrade 2.Download flashrom-0.9.9.tar.bz2 from here. https://www.flashrom.org/Flashrom/0.9.9 3.Install flashrom-0.9.9 to Opi-ZERO $ sudo apt-get install pciutils $ sudo apt-get install libftdi-dev $ sudo apt-get install libusb-dev $ sudo apt-get install libpci-dev $ bzip2 -d flashrom-0.9.9.tar.bz2 $ tar xvf flashrom-0.9.9.tar $ cd flashrom-0.9.9/ $ make $ sudo make install 4.Write SPI Flash image $ cd $ dd if=/dev/zero count=2048 bs=1K | tr '\000' '\377' > spi.img $ dd if=/usr/lib/linux-u-boot-orangepizero_5.31_armhf/u-boot-sunxi-with-spl.bin of=spi.img bs=1k conv=notrunc $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0 -c MX25L1605 -w spi.img Note: linux-u-boot-orangepizero_5.31 depends on the version of the kernel. 5.Writing an image to USB memory You will need to use an image writing tool (like Win32DiskImager.exe) to install the Armbian image on your USB memory. 6.Shutdown A SD card is removed from Opi-ZERO. A USB memory is stuck into Opi-ZERO. 7.Power On
  9. Orange pi zero fbtft unreliable

    @Dmitry_ Thank you. I'll try it.
  10. Orange pi zero fbtft unreliable

    Can I install QT by a self or cross?
  11. Orange pi zero fbtft unreliable

    I replaced a TFT from ILI9341 SPI to ILI9341 8-Bit-Parallel. My FrameBuffer APP keeps working for more than 12 hours. I think the cause of crash is not so much FrameBuffer driver as SPI driver.
  12. Orange pi zero fbtft unreliable

    @glow I tested my graphic program using mgrx. https://github.com/nopnop2002/mgrx_rpi It crashed in 6 minutes later. EDIT: Crash also happens in OrangePi-PC. But it doesn't occur in RaspberryPi.
  13. Orange pi zero fbtft unreliable

    I tried same command, and it's work fine. orangepi@orangepizero:~$ sudo modprobe fbtft_device custom name=fb_ili9340 gpios=dc:3,reset:0 speed=32000000 busnum=1 rotate=90 orangepi@orangepizero:~$ con2fbmap 1 8 orangepi@orangepizero:~$ uname -a Linux orangepizero 3.4.113-sun8i #18 SMP PREEMPT Thu Jun 15 02:16:06 CEST 2017 armv7l GNU/Linux LED-----ZERO ---------------- CS-------Pin#24 RESET---Pin#13 D/C-------Pin#15 SDI-------Pin#19 SCK-------Pn#23
  14. Tiny 3$ lcd on orange pi

    When I made a mistake in wiring, it was indicated as follows. $ sudo ./lcd_id c Read Registers on MCUFRIEND UNO shield controllers either read as single 16-bit e.g. the ID is at readReg(0) or as a sequence of 8-bit values in special locations (first is dummy) reg(0x0000) 80 80 ID: ILI9320, ILI9325, ILI9335, ... reg(0x0004) 84 84 84 84 Manufacturer ID reg(0x0009) 89 89 89 89 89 Status Register reg(0x000a) 8a 8a Get Powsr Mode reg(0x000c) 8c 8c Get Pixel Format reg(0x0061) e1 e1 RDID1 HX8347-G reg(0x0062) e2 e2 RDID2 HX8347-G reg(0x0063) e3 e3 RDID3 HX8347-G reg(0x0064) e4 e4 RDID1 HX8347-A reg(0x0065) e5 e5 RDID2 HX8347-A reg(0x0066) e6 e6 RDID3 HX8347-A reg(0x0067) e7 e7 RDID Himax HX8347-A reg(0x0070) f0 f0 Panel Himax HX8347-A reg(0x00a1) a1 a1 a1 a1 a1 RD_DDB SSD1963 reg(0x00b0) b0 b0 RGB Interface Signal Control reg(0x00b4) b4 b4 Inversion Control reg(0x00b6) b6 b6 b6 b6 b6 Display Control reg(0x00b7) b7 b7 Entry Mode Set reg(0x00bf) bf bf bf bf bf bf ILI9481, HX8357-B reg(0x00c0) c0 c0 c0 c0 c0 c0 c0 c0 c0 Panel Control reg(0x00c8) c8 c8 c8 c8 c8 c8 c8 c8 c8 c8 c8 c8 c8 GAMMA reg(0x00cc) cc cc Panel Control reg(0x00d0) d0 d0 d0 Power Control reg(0x00d2) d2 d2 d2 d2 d2 NVM Read reg(0x00d3) d3 d3 d3 d3 ILI9341, ILI9488 reg(0x00da) da da RDID1 reg(0x00db) db db RDID2 reg(0x00dc) dc dc RDID3 reg(0x00e0) e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 GAMMA-P reg(0x00e1) e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 GAMMA-N reg(0x00ef) ef ef ef ef ef ef ILI9327 reg(0x00f2) f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 Adjust Control 2 reg(0x00f6) f6 f6 f6 f6 Interface Control I'm using Armbian_5.30_Orangepipc_Debian_jessie_default_3.4.113 and https://github.com/zhaolei/WiringOP.git
  15. Tiny 3$ lcd on orange pi

    Check your Wirering. If your TFT is for Arduino MEGA(16bit Parallel), it doesn't work. If your TFT is REAL ILI9341 TFT for Arduino UNO(8bit Parallel), reg(0x00d3) is model id(00 00 93 41).