Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:14 02 Aug 2025 Privacy Policy
Jump to

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 : ILI9341 Manual?

     Page 3 of 3    
Author Message
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 07:03am 05 Sep 2022
Copy link to clipboard 
Print this post

Hi Jim,
I am using the non_VGA firmware, PicoMiteV5.07.04.uf2

So when I did
1. OPTION SDCARD GP13, GP10, GP11, GP12 ** This is instruction on the VGA board

From the manual, they are CS, CLK, MOSI, MISO

So then I tried
2. OPTION SYSTEM SPI GP10, GP11, GP12 and got
Pin 14 (GP10) is in use.

Tried it the other way after RESET

3. OPTION SYSTEM SPI GP10, GP11, GP12  for CLK, MOSI, MISO
then
4. OPTION SDCARD GP13 for CS

5. OPTION LCDPANEL ST7735, L, 24, 25, GP11 for DC, RST, CS (Except my display doesn't have DC.

Message: Pin 15 is reserved on startup.

>>>OPTION LCDPANEL ILI9341, orientation, DCpin, RESETpin, CSpin

I'm using the ST7735, the ILI9341 is parallel according to someone and NG here.

6. OPTION LCDPANEL ST7735, L, 22, 21, 24 with MOSI pin GP11 (15) connected to SDA on the LCD, 21 on CS, 22 on *RS* and 24 on RST.

GUI TEST LCDPANEL did nothing.


> option list
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION LCDPANEL ST7735, LANDSCAPE,GP17,GP18,GP16
OPTION SDCARD GP13

Paul
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 07:24am 05 Sep 2022
Copy link to clipboard 
Print this post

  Quote  6. OPTION LCDPANEL ST7735, L, 22, 21, 24 with MOSI pin GP11 (15) connected to SDA on the LCD, 21 on CS, 22 on *RS* and 24 on RST.

GUI TEST LCDPANEL did nothing.



Probably because RST and CS are the wrong way round - I assume you have also connected the SPI clock? RS==DC
Edited 2022-09-05 17:25 by matherp
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 07:35am 05 Sep 2022
Copy link to clipboard 
Print this post

  Quote  Message: Pin 15 is reserved on startup.

You were trying to use pin 15(GP11) for SYSTEM SPI and Lcdpanel CS.
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 07:48am 05 Sep 2022
Copy link to clipboard 
Print this post

It took me a while to find it but RS stands for "Register Select"
DC is the usual designation and simpler to remember - Data/Control

LCD:
GND : Power Ground
VCC : 5V power input
CS : Chipselect for LCD,
SDA : LCD Data for SPI, connect to MOSI pin
SCL : SCLK ,connect to SPI clock pin
RS/DC : Command/Data Selection
RES : LCD controller reset, active low

SDcard:
CS (SD-CS) : Chipselect for TF Card,
SCLK (SD-Clock): SPI Clock
MOSI (SD-DI) : SPI Master out Slave in
MISO (SD-DO) : SPI Master in Slave out
VK7JH
MMedit
 
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 07:57am 05 Sep 2022
Copy link to clipboard 
Print this post

Ah!, it was the SPI CLK that was missing! THe other pins were OK, maybe I wrote them down here incorrectly.  I now have masses of circles!



Many thanks. It's not at all obvious for us Newbies what needs to go where.

Is there a way of changing the LCDPANEL orientation option without resetting everything?

Thanks again.
Paul

 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:08am 05 Sep 2022
Copy link to clipboard 
Print this post

The first thing to do is OPTION LIST and make a copy for future reference.


OPTION LCDPANEL DISABLE
then re-enter your display with the required orientation
VK7JH
MMedit
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2567
Posted: 05:09pm 05 Sep 2022
Copy link to clipboard 
Print this post

Happy days you have got it working :)
I do not know what you have got working though.
There is an expression, "I have lost the thread".
The hello world st7735, does it have anything to do with ili9341?
"Hi Jim,
I am using the non_VGA firmware, PicoMiteV5.07.04.uf2"

I am to. ili9341 no problems, touch ,sd, graphics all seem fine.

Is it the same but no touch screen?
Edited 2022-09-06 03:30 by stanleyella
 
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 02:12am 06 Sep 2022
Copy link to clipboard 
Print this post

Hi,
The thread strayed from the ILI9341 to the ST7735, the problems were the same in getting a display to work.

I got the SSD1306I2C working OK, then it was the ST7735 that was the challenge.
Finally got there.

The two LCDs (photos above somewhere) that I have supposedly run as ILI9341 on the Arduino but I was told they won't work on the pico because they re parallel wiring? It's up the thread somewhere.

Next job is to get the RTC, DS18B20 and DHT22 fired up and displaying.

Paul
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2567
Posted: 07:06pm 06 Sep 2022
Copy link to clipboard 
Print this post

  VK2AHB said  Hi,
The thread strayed from the ILI9341 to the ST7735, the problems were the same in getting a display to work.

I got the SSD1306I2C working OK, then it was the ST7735 that was the challenge.
Finally got there.

The two LCDs (photos above somewhere) that I have supposedly run as ILI9341 on the Arduino but I was told they won't work on the pico because they re parallel wiring? It's up the thread somewhere.

Next job is to get the RTC, DS18B20 and DHT22 fired up and displaying.

Paul

ili9341 does work on arduino uno and nano 328p fine. It is the programming language and the driver support.
I have seen the ili9341 data sheet and the list of "EQ" that needs setting up.
You can see it in arduino c+ include lib and other systems as include glcd type.
It is beyond me so credit to mmbasic for the driver.

I think "parallel wiring" is sharing spi like touch clk, mosi, miso with the display and sd card mosi, miso, clk.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:47pm 06 Sep 2022
Copy link to clipboard 
Print this post

  VK2AHB said  
The two LCDs (photos above somewhere) that I have supposedly run as ILI9341 on the Arduino but I was told they won't work on the pico because they re parallel wiring? It's up the thread somewhere.

The ILI9341 modules are available in Parallel or SPI interface. Your modules as per the photos are parallel.
Only the SPI versions are supported on the picomite.

Jim
VK7JH
MMedit
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2567
Posted: 10:07pm 06 Sep 2022
Copy link to clipboard 
Print this post

  TassyJim said  
  VK2AHB said  
The two LCDs (photos above somewhere) that I have supposedly run as ILI9341 on the Arduino but I was told they won't work on the pico because they re parallel wiring? It's up the thread somewhere.

The ILI9341 modules are available in Parallel or SPI interface. Your modules as per the photos are parallel.
Only the SPI versions are supported on the picomite.

Jim

I understand parallel now. On 8 bit a whole port just for data.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2642
Posted: 04:08am 07 Sep 2022
Copy link to clipboard 
Print this post

There are MMBasic drivers for parallel LCDs on 'Mites that have enough pins to make it worthwhile.
Eg. the ARMMite F4 is an affordable one which has a 'truck load' of pins.
Assuming you can still get the modules.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2567
Posted: 03:31pm 07 Sep 2022
Copy link to clipboard 
Print this post

  phil99 said  There are MMBasic drivers for parallel LCDs on 'Mites that have enough pins to make it worthwhile.
Eg. the ARMMite F4 is an affordable one which has a 'truck load' of pins.
Assuming you can still get the modules.


Would using a port expander defeat the speed increase from using a parallel port?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 04:17pm 07 Sep 2022
Copy link to clipboard 
Print this post

I suspect so - and you'd probably still have to write a driver.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025