Jump to content

Sári Zoltán

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Sári Zoltán

  1. Step-by-step Guide to Install ILI9486 Display on Orange Pi Lite: 1.Create the overlay source file: cd /boot sudo nano spi-display-overlay.dts Paste your custom overlay configuration for SPI, DC, and reset GPIOs. 2.Compile the overlay to a binary (.dtbo) sudo dtc -@ -I dts -O dtb -o spi-display-overlay.dtbo spi-display-overlay.dts 3.Move the compiled overlay to the system overlays directory sudo cp spi-display-overlay.dtbo /boot/overlay-user/ 4.Enable the overlay in Armbian environment sudo nano /boot/armbianEnv.txt Add the line: overlays=spi-display-overlay 5. Reboot the system 6. Verify the framebuffer device is created: ls /dev/fb* Output should include /dev/fb0 7.Redirect framebuffer output to the SPI display sudo cat /dev/fb0 > /dev/fb0 It's just a test, it's a static image 8.Modify /boot/armbianEnv.txt Edit the armbianEnv file and add the following lines to ensure the framebuffer continuously updates on your display: extraargs=console=tty1 fbcon=map:0 fbcon=font:VGA8x8 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u ( 9.Troubleshoot reset GPIO if needed ) If display stays white, try another GPIO pin for reset in the overlay and recompile. Step 10: Post it on the Armbian forum and Reddit. I haven’t worked with the touch sensor yet, but it’s already 5 AM 0.o I hope this helps, and good luck!
  2. Hi everyone! I thought I’d share my experience. I successfully got a display working on my Orange Pi Lite using this: https://github.com/jonathan-gatard/ili9486-xpt2046/tree/main I followed the instructions from the link above. At first, I connected the screen to the Pi and configured the pins in the device overlay. However, the reset pin, which was PD25, kept giving errors. Later, I rewired the display to a different pin, but it still didn’t work. Finally, when I moved it to a third pin, PC08, it worked! Until then, the screen just showed white, but after that, it started working perfectly. spi-display-overlay.txt
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines