Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to use XPT2046 touch controller 3.5inch RPi Display 480x320 pixels

Featured Replies

Hi everyone,

I’m trying to get a 3.5-inch RPi display with the XPT2046 touch controller (480x320 resolution) to work on my Orange Pi One (H3). I’ve been looking for guides, but most of them are Raspberry Pi-specific and not directly applicable to the Orange Pi.

Here’s what I’ve tried so far:

  • Installed Armbian on the Orange Pi One.
  • Connected the display via the SPI interface.
  • Installed fbtft and tried different configurations for the screen.

However, I haven’t been able to get the display to show anything or to interact with the touch input.

Does anyone have experience using this specific setup?

  • What drivers or overlays should I use?
  • Do I need to modify the dtb or dts files?
  • Any tips on configuring SPI and touch input in Armbian?

Any help would be greatly appreciated! Thanks in advance.

I have confirmed that the display has power because it turns on.

462551740_1593543178219587_7387040162722380434_n.jpg

I have seen success cases with ili9341, ili9488 and st7796... and one guy is trying with the ili9486 over in the unsupported sunxi section of this forum.

 

https://forum.armbian.com/topic/46824-orange-pi-zero-3-ili9486-tft-lcd/

 

https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/

 

https://forums.raspberrypi.com/viewtopic.php?t=358240&hilit=Ili9341#p2165638

 

I think that the success case of ili9488 (mine 😎), would be a good starting point. Use the same DTS, and look at the command byte sequence that the driver will use.

 

Get the datasheet for both ili9488 and ili9486, to see if the same commands have different addresses and parameters. Search in google for arduino examples, which will include a byte sequence.

 

Buy a ili9341 LCD, which has many success cases, and test that you can at least make that work. Then you can keep working with the same wiring.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.