Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : New 4 inch LCD
Page 7 of 12 | |||||
Author | Message | ||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2127 |
I ordered one to. £11.98 ae total but then cancelled because I chose no touch. reordered touch version £13.12. see what happens, will it be worth it. present one works fine but not great to look at. changing to usb ili9488 |
||||
PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 858 |
I had a senior moment...kept clicking on the touch model, nothing happening. Then I realised that I was clicking on the image that Pete posted, not the actual site |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
I think I have found the problem of the 4" panel always being Portrait on the MM2. I found a backpack from a year or so ago that already had the ILI9488 driver loaded and it worked in Landscape although it was reversed so I needed RLandscape. To do this I needed to change the Startup file in the library. So I deleted the library and reinstalled the driver with RL set and now I'm back to having Portrait only. There must be a bug in the latest ILI9488 driver and I dont have a copy of an older one to try. Can some one point me to a copy of the driver from an earlier time. Edit... Found one from 2019 so I have copied and pasted to MMEdit. Will try that. Edit... Tried the driver from Peter's original post set to RL and it is still Portrait. I don't know what to try. Edited 2024-03-28 09:53 by palcal "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
I don't think I will ever solve this. I started from scratch this morning with an MM Backpack V3 (Silicon Chip). I flashed it with the latest V5.0505. I loaded the driver, cycled the power. I get the 'driver loaded' message. Options say LCDpanel user 0,0. Then I do "GUI calibrate" and it is portrait when the MM.Startup file is Reverse Landscape. I can't be doing anything wrong, I have tried 2 MM2's, 3 displays and two PCs. The displays work fine with a Picomite. Can someone confirm that they have this driver working with an MM2. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
Setup a 3.5" ILI9488 on a MM2 V 5.05.05 28 pin and followed the PDF with the driver and it seems to work OK. You need to use numbers for the orientation, not letters. > Micromite MKII MMBasic Ver 5.05.05 Copyright 2011-2022 Geoff Graham ILI9488 driver loaded > gui calibrate Done. No errors > option list OPTION BAUDRATE 115200 OPTION LCDPANEL USER 0, 0 OPTION TOUCH 7, 15 GUI CALIBRATE 0, 3835, 331, -1293, 925 > gui test touch > list Sub MM.Startup ILI9488 2, 23, 6, 1 End Sub CSub ILI9488 000002A0 'spi_write_data |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
Yes, my Startup sub uses the pin numbers 2,23,6,RL as per the V3 backpack. I have made countless MM backpacks usually using ILI9341 Display. I am sure I am doing it correctly. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9115 |
Are you using numbers for the orientation? If you use something like "rlandscape" or "RL" this is treated as a variable with the value 0 unless you set option explicit - yet another reason to do that Edited 2024-03-29 19:08 by matherp |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
Thanks Peter, will try that tomorrow. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
So I used OPTION EXPLICIT and declared RL as a string and it has made no difference. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3801 |
As I understood it, use a number to mean what you want (for each of the settings), not a string at all. John |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
I have used Sub mm.startup ILI9488 2,23,6,RL End sub How can I use a number for RL "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3801 |
Does Peter's example not help? He used 1 (I don't know why). John |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
So for RL, use 3 VK7JH MMedit MMBasic Help |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
Thanks for that Jim, I should have read tyhe manual more closely. It is now Landscape but now I touch two targets and I get the Touch Hardware Failure. Which does not happen with a PicoMite. I have had this problem before, can't remember what I did. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Are you sure the LCD has a touch controller on it? I was baffled for a while by this problem on one pulled out of storage until I looked and saw it had no touch chip. I also remember this early on in Picomite development with ILI9341, where it was sensitive to how long you pressed--long press vs short quick press. Otherwise, (for ILI9488), can you just use GUI CALIBRATE 0, 3950, 3882, -1244, -859 ? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
Definately has touch it works fine on a Picomite, I just tried it again on the Pico and it calibrated. I remembered about short and long touch, I tried that but still no go. I entered the calibration as you suggested and still no touch. I will reflash and start from scratch. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
I refashed but it is still the same. The error says Touch Hardware Failure but that cant be because it calibrates and works OK on a PicoMite. Edit... I tried another MM2 same result no touch. Tried the Picomite again and all works fine ??? Edited 2024-03-30 07:43 by palcal "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
The usual problem with touch on an ILI9488, when replacing a ILI9341 is LCD_DO (MISO). That pin is usually connected to T_DO (also goes to MISO) but is faulty preventing touch working. Make sure LCD_DO is not connected or cut it off. The MM2 firmware can't read pixels, Blit or Image Save on any display so doesn't need that pin at all. In my previous post you will see touch can work correctly with the ILI9488 on a MM2. The ILI9488 Display Driver.pdf that accompanies the driver in the V 5.05.05 download explains all. I followed it and it worked first time. Edit. Have just tested another ILI9488 and it also worked first go, so not a fluke and not a driver issue. Edited 2024-03-30 07:47 by phil99 |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1873 |
I dont get a PDF with my Driver downloads it is a link to the page in the Manual. I cut off the MISO pin. Edit... Sorry it is a separate PDF which I have followed. Edited 2024-03-30 08:01 by palcal "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
This is from the V_50505 ZIP file:- Micromite_Firmware\Display Drivers\ILI9488 3.5 inch LCD\ILI9488 Display Driver.pdf Could you be using an older driver? If so perhaps it isn't compatible with V_50505. |
||||
Page 7 of 12 |
Print this page |