Is there anyone here who would be helpful with the links below?
I want Arduino Uno connection to ILI9341 TFT LCD....
DISP. Arduino Uno.
CS > ?
Reset > ?
DC > ?
Mosi > ?
Sck > ?
Miso > ?
Is there anyone here who would be helpful in describing which connections should be used from the Arduino Uno to the ILI9341 TFT LCD
See Attachment:
With best regards
Monie
Arduino Uno connection to ILI9341 TFT LCD
-
- Posts: 73
- http://meble-kuchenne.info.pl
- Joined: Wed Oct 19, 2022 4:06 pm
- Has thanked: 1 time
-
- Valued Contributor
- Posts: 1554
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 138 times
- Been thanked: 741 times
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi Monie,
Easiest to use the standard SPI pins - so d10 is CS, d11 is MOSI, d12 is MISO and d13 is sck. The others you can choose to suit
Did you get it working with your esp32 'duino board?
Martin
Easiest to use the standard SPI pins - so d10 is CS, d11 is MOSI, d12 is MISO and d13 is sck. The others you can choose to suit
Did you get it working with your esp32 'duino board?
Martin
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi Martin
Did you get it working with your esp32' duino board? Yes, very nice
Working on getting Arduino uno together with ILI9341 working. So I'll try with your suggestion Martin
Monie
Did you get it working with your esp32' duino board? Yes, very nice
Working on getting Arduino uno together with ILI9341 working. So I'll try with your suggestion Martin
Monie
-
- Valued Contributor
- Posts: 1554
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 138 times
- Been thanked: 741 times
Re: Arduino Uno connection to ILI9341 TFT LCD
One tip - output a 1 to d10 (CS) at the start of your program (before initialising the display). The MCU here likes d10 to be an output for SPI to work correctly (you can use another pin for CS, however, d10 must still be set as an output)
If you don't do this - occasionally you'll find nothing happens (no output on SPI).
Ben might have modified the component to do this - but the extra output won't hurt...
Martin
If you don't do this - occasionally you'll find nothing happens (no output on SPI).
Ben might have modified the component to do this - but the extra output won't hurt...
Martin
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi Martin
I keep getting error message!
See Compiler Messages fail
----------------------------------
C:\Users\sun\Desktop>"C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\Users\sun\Desktop\DisplayArdinoUnoToLI9341.elf" "C:\Users\sun\Desktop\DisplayArdinoUnoToLI9341.c" -lm -Wl,-gc-sections
Den angivne sti blev ikke fundet.
Error returned from [avr-gcc.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avra.bat reported error code 0x3
Autoclose turned off
FINISHED
-------------------------------------------
Attached file: Display connection to Ardino UNO
DISP. too Arduino Uno.
CS > D10
Reset > D33 (Port D.6)
DC > D27
Mosi > D11
Sck > D13
Miso > D12
Led > (Port B.5)
D/C > ?
TOUCH.
Disp. ESP.
Sck. > TX2 = A17
Cs. > D4 = A4
Din > D21 = A21
Do > D5 = A5
See my setup in Connections below!
Monie
I keep getting error message!
See Compiler Messages fail
----------------------------------
C:\Users\sun\Desktop>"C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\Users\sun\Desktop\DisplayArdinoUnoToLI9341.elf" "C:\Users\sun\Desktop\DisplayArdinoUnoToLI9341.c" -lm -Wl,-gc-sections
Den angivne sti blev ikke fundet.
Error returned from [avr-gcc.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avra.bat reported error code 0x3
Autoclose turned off
FINISHED
-------------------------------------------
Attached file: Display connection to Ardino UNO
DISP. too Arduino Uno.
CS > D10
Reset > D33 (Port D.6)
DC > D27
Mosi > D11
Sck > D13
Miso > D12
Led > (Port B.5)
D/C > ?
TOUCH.
Disp. ESP.
Sck. > TX2 = A17
Cs. > D4 = A4
Din > D21 = A21
Do > D5 = A5
See my setup in Connections below!
Monie
Arduino Uno connection to ILI9341 TFT LCD
Hi Martin
For all the time error message: " The specified path was not found." As shown below...
Attached file: Can you see what I'm doing wrong and how to fix it?
Monie
For all the time error message: " The specified path was not found." As shown below...
Attached file: Can you see what I'm doing wrong and how to fix it?
Monie
Last edited by monie on Wed Jun 28, 2023 8:44 am, edited 8 times in total.
-
- Valued Contributor
- Posts: 1614
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi
The subject line is "Arduino Uno connection to ILI9341 TFT LCD" and you are asking
The chart you attached uses an ESP32 WROOM 32 and incidentally it compiles to Hex without issue for me.
Regards
The subject line is "Arduino Uno connection to ILI9341 TFT LCD" and you are asking
Just a shot in the dark, but have you actually tried using an Arduino Uno...?Can you see what I'm doing wrong and how to fix it
The chart you attached uses an ESP32 WROOM 32 and incidentally it compiles to Hex without issue for me.
Regards
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi chipfryer27
I have an Arduino Uno attached!
Can also be seen in the document: Compiler Messages 27-06-2023.pdf
I do not use ESP32 WROOM 3 - But use only "Ardini Uno R3 and ILI9341 TFT LCD" i Flowcode v10
Flowcode Project:
Monie
I have an Arduino Uno attached!
Can also be seen in the document: Compiler Messages 27-06-2023.pdf
I do not use ESP32 WROOM 3 - But use only "Ardini Uno R3 and ILI9341 TFT LCD" i Flowcode v10
Flowcode Project:
Monie
-
- Valued Contributor
- Posts: 1614
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi
If you look in the chart you initially attached, you will see that under Build>Project Options the target is set as an ESP32_Wroom_32 not an Arduino.
If you change the target to an Arduino and then check pin allocations, you may be get better results.
I've often forgotten to change the target from previous, only realising when things wouldn't work.
Regards
If you look in the chart you initially attached, you will see that under Build>Project Options the target is set as an ESP32_Wroom_32 not an Arduino.
If you change the target to an Arduino and then check pin allocations, you may be get better results.
I've often forgotten to change the target from previous, only realising when things wouldn't work.
Regards
-
- Valued Contributor
- Posts: 1614
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: Arduino Uno connection to ILI9341 TFT LCD
Hi
I've downloaded your latest attachment that when simulated displays "Hey, you behind the screen there" which is far more amusing than "Hello World"
It compiles to Hex without issue for me. I can't check in Hardware as I don't have the components.
Regards
I've downloaded your latest attachment that when simulated displays "Hey, you behind the screen there" which is far more amusing than "Hello World"

It compiles to Hex without issue for me. I can't check in Hardware as I don't have the components.
Regards