Wiring an ILI9341 SPI TFT to an arduino

Arduino-related hardware discussion (including Teensy and other Arduino clones)
Post Reply
User avatar
Sushi
Posts: 67
Joined: Sat Jul 23, 2016 8:17 am
Has thanked: 4 times
Been thanked: 22 times

Wiring an ILI9341 SPI TFT to an arduino

Post by Sushi » Sat Jun 02, 2018 6:46 pm

Hey guys,

I'm developing a board to connect an arduino to an ILI9341 touch screen. To make things simple, I'm using the same 18 pin screens Helder uses. I've encountered one problem, though. As I'm testing on a breadboard, I don't know what to do with the SDA/SDO lines. I know I'm supposed to connect those to MOSI/MISO on the arduino. However, nothing appears on the screen.

Any advice on how I should properly wire this up? I'm getting a level shifter tomorrow to replace the resistors I'm using for the arduino's 5V logic, so that may help, but I still don't understand whether SDO is to MISO or MOSI.


User avatar
VeteranGamer
Posts: 1257
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 345 times
Been thanked: 665 times

Re: Wiring an ILI9341 SPI TFT to an arduino

Post by VeteranGamer » Sun Jun 03, 2018 3:47 am

Sushi wrote:
Sat Jun 02, 2018 6:46 pm

Any advice on how I should properly wire this up? I'm getting a level shifter tomorrow to replace the resistors I'm using for the arduino's 5V logic, so that may help, but I still don't understand whether SDO is to MISO or MOSI.

this may be of some help.....

http://educ8s.tv/arduino-2-8-ili9341-tutorial/





Image

Image


(just replicate the pinouts on your bare ili9341 LCD)




NB: this may also be useful for those who want to take part in the Community Competition/Challenge (ESP32)....



.
Last edited by VeteranGamer on Sun Jun 03, 2018 10:15 am, edited 1 time in total.

User avatar
Sushi
Posts: 67
Joined: Sat Jul 23, 2016 8:17 am
Has thanked: 4 times
Been thanked: 22 times

Re: Wiring an ILI9341 SPI TFT to an arduino

Post by Sushi » Sun Jun 03, 2018 8:43 am

I should mention that I'm not using a driver board on the LCD. I have the pure LCD panel and I've soldered some wires directly to the pins on the ribbon connector. Because I can't find datasheets for these displays, I've just been going off of the pinouts provided by the sellers' pages. However, I can't figure out what to do with SDA/SDO.

User avatar
VeteranGamer
Posts: 1257
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 345 times
Been thanked: 665 times

Re: Wiring an ILI9341 SPI TFT to an arduino

Post by VeteranGamer » Sun Jun 03, 2018 10:09 am

Sushi wrote:
Sun Jun 03, 2018 8:43 am
I should mention that I'm not using a driver board on the LCD. I have the pure LCD panel and I've soldered some wires directly to the pins on the ribbon connector. Because I can't find datasheets for these displays, I've just been going off of the pinouts provided by the sellers' pages. However, I can't figure out what to do with SDA/SDO.

i figured from the link you provided you were using a bare LCD
(i did also mention it in my previous post, which has the wiring diagrams for the two different arduino boards )


the pin outs for these screens are pretty much the same across the different sizes

Image


it might have not been a bad idea to use moosepr board for testing purposes (just to be on the safe side)

https://oshpark.com/shared_projects/zUNmnlLF



.

User avatar
Sushi
Posts: 67
Joined: Sat Jul 23, 2016 8:17 am
Has thanked: 4 times
Been thanked: 22 times

Re: Wiring an ILI9341 SPI TFT to an arduino

Post by Sushi » Sun Jun 03, 2018 11:40 am

Awesome, thanks! I just ordered some of those boards (should make testing much easier).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest