¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Is it possible to do a display driver swap?


 

Hello,

Let's say I want to use another display with an incompatible controller, does just the ili9341.c file need to be changed? Will it be just a drop-in replacement?


 

So what I want to do is using another display, for example a display with an ili9486 controller instead of the ili9341.

What I want to know is how hard it is to modify the software. Do I just replace the "ili9341.c" file for another one (maybe from the internet)? Or do I have to modify all of the firmware?


 

ili9486 controller instead of the ili9341
Arduino folks do this sort of thing:


Practicing on e.g. a blue pill with Arduino_STM32 would seem a safer approach.


 

To replace the display with ili9486, you need to modify the ili9341_init_seq[] at line 151 of ili9341.c and change the LCD width and height at various files. But if you want to replace with ili9488, there will be more work. Please see my post at

/g/nanovna-users/message/5322

You can find the places to change the LCD width and height at my change list. Just look for "LCD_*".



Ken


 

Thank you. I actually have found an interesting ili9486 display. It's a 4.0" display for 13 us bucks, found here:


 

Hi

How about using tablets for user interaction? I have no idea if the USB communication is fast enough. But there is A LOT of older tablets that are unused and being en route to scrap. I mean if they are stripped for all the clutter and just run Android and a simple 1:1 viewer of what would otherwise be shown on the NanoVNA itself.

Bo


 

On Tue, Oct 22, 2019 at 08:41 AM, Bo, OZ2M wrote:
How about using tablets for user interaction? I have no idea if the USB
communication is fast enough. But there is A LOT of older tablets that are
unused and being en route to scrap. I mean if they are stripped for all the
clutter and just run Android and a simple 1:1 viewer of what would otherwise
be shown on the NanoVNA itself.
Unfortunately, older Android OSes don't support the libraries needed by the application.
I think the earliest OS is Android 6 for the WEBusb app which runs nicely on my 8" tablet.


 

necessaryevil86,

Before you make the order, it¡¯s better to ask seller the detail spec. the list below is what the current NanoVNA supports.

- 3.3V (5V if jump wire)
- 4-wire SPI. It seems the eBay one is parallel
- Raw resistive touch signals, X+, X-, Y+, and Y-. The eBay one is SPI with interrupt (TP_IRQ). If you purchase this one, you not only have to do some jump wiring, but also modify the touch related C code. You can refer to the NanioVNA-F, which uses SPI for touch function.

Ken


 

Ken,

Thank you for information. The touch signals are going to be a problem for me, unless it is possible to tap in to the raw signals. The display itself might work. Both ili9341 and ili9486 support multiple interfaces, so if it has more wires it doesn't necessarily mean that it only supports parallel.

I could look for another display...