• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

TFT ILI9341 driver mod for ILI9342 ?

Scheduled Pinned Locked Moved Projects and Themes
ili9341ili9342tft screenguidelcd
15 Posts 4 Posters 7.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tctctc
    last edited by 7 Jul 2017, 11:54

    Hi all!

    I recently bought a very nice 1/12 Vewlix arcade cabinet model.
    I want to mod it to a playable stuff by retropie with TFT display.

    After some research I found there have many resource on pi and ILI9341.
    As this screen is a portrait screen originally so I cant centering the display if I put on the model (just around 6cm width).

    I starting search around and bought a 2.4" landscape tft which using ILI9342 chips.

    2.4" TFT

    The size is just prefect to use on this project but saddly I cant found anyone use this clip on Pi except Arduino.
    After some research on Arduino side and basically difference between this 2 clip is just the orientation:

    ili9341 vs ili9342

    So I wondering anyone have experience on this issue? Can give me some hints or suggestion ??

    Thanks for watching and sorry for my english. :D

    alt text

    M 1 Reply Last reply 7 Jul 2017, 13:09 Reply Quote 0
    • M
      moosepr @tctctc
      last edited by 7 Jul 2017, 13:09

      @tctctc that looks like a nice cabinet!! will make a great project

      I have just had a quick look though the fbtft wiki and your correct, there is no ili9342 listed. If you follow the guide in my signature, see what happens for your screen. It might be interesting to see

      want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

      T 1 Reply Last reply 7 Jul 2017, 15:22 Reply Quote 0
      • T
        tctctc @moosepr
        last edited by 7 Jul 2017, 15:22

        thanks @moosepr! Your guide is the first few reference i read, its super helpful!
        I will post some test result a while later.

        If no luck, my alternative is to get a car AV display:
        car 2.5" display

        BTW.. someone already did this


        Its almost prefect if they have a screen right on the middle .

        M 1 Reply Last reply 7 Jul 2017, 23:25 Reply Quote 0
        • M
          moosepr @tctctc
          last edited by 7 Jul 2017, 23:25

          @tctctc yeah the ili9342 will be better as the driver chip with be along the longer edge of the screen, meaning you will be able to center it in the case.

          Are you going to make the controls work?

          want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

          T 1 Reply Last reply 10 Jul 2017, 02:26 Reply Quote 0
          • T
            tctctc @moosepr
            last edited by 10 Jul 2017, 02:26

            @moosepr No.. its too tiny to use..

            M 1 Reply Last reply 10 Jul 2017, 05:45 Reply Quote 0
            • M
              moosepr @tctctc
              last edited by 10 Jul 2017, 05:45

              @tctctc hahaha they do look tiny

              I have ordered a screen myself, so i will be able to test the driver in 20-40 days time šŸ˜›

              want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

              T D 2 Replies Last reply 10 Jul 2017, 07:58 Reply Quote 0
              • T
                tctctc @moosepr
                last edited by 10 Jul 2017, 07:58

                @moosepr You bought a IIL9342? thats great!!

                M 1 Reply Last reply 10 Jul 2017, 08:35 Reply Quote 0
                • M
                  moosepr @tctctc
                  last edited by moosepr 7 Oct 2017, 09:36 10 Jul 2017, 08:35

                  @tctctc yeah they look to be ideal for another project im after making. they design the screens to be viewed with the chip at the bottom, so a landscape design would be ideal

                  alt text

                  want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                  1 Reply Last reply Reply Quote 0
                  • D
                    davej @moosepr
                    last edited by 10 Jul 2017, 11:26

                    @moosepr said in TFT ILI9341 driver mod for ILI9342 ?:

                    @tctctc hahaha they do look tiny

                    I have ordered a screen myself, so i will be able to test the driver in 20-40 days time šŸ˜›

                    Having had a quick look at the datasheets it looks like the main difference will be with the gamma settings and the MADCTL register (command 36h on both).

                    The big problem seems to be finding details of the connector pinout. This page has details of a screen with the same part number but it has a different version number and appears to use a different driver chip. It does have pin descriptions but there's no guarantee that they are the same. The OP's display also claims to have a 12864 interface which seems to be the row of 20 holes at the top. This document has a brief description of that. Exactly how you would use that interface isn't clear either nor is how you would specify which you wanted to use.

                    M 1 Reply Last reply 10 Jul 2017, 14:47 Reply Quote 0
                    • M
                      moosepr @davej
                      last edited by 10 Jul 2017, 14:47

                      @davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch

                      alt text

                      want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                      D 1 Reply Last reply 10 Jul 2017, 20:08 Reply Quote 0
                      • D
                        davej @moosepr
                        last edited by 10 Jul 2017, 20:08

                        @moosepr said in TFT ILI9341 driver mod for ILI9342 ?:

                        @davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch

                        That's good. I couldn't find one in the OP's linked screen.

                        SPI is frequently used for an SD card interface so that is something to look out for.

                        Going by the pinout you linked to, it has a 16 bit MCU interface rather than a DPI one. DPI uses things like VSYNC, HSYNC and DOTCLOCK. The RD, /WR and RS labels in the pinout indicate the MCU interface. The existing driver copes with outputting to an MCU interface (it calls it parallel) but the ILI3941 driver assumes SPI. I'm not familiar with the fbtft driver though so can't be much help there.

                        In case you haven't realised, I've been playing with a ILI9341 screen for a microcontroller project. The microcontroller doesn't have enough memory for a frame buffer so I can't even use the fbtft driver for inspiration. Updating the screen is a real pain - particularly drawing diagonal lines.

                        M 1 Reply Last reply 10 Jul 2017, 21:37 Reply Quote 0
                        • M
                          moosepr @davej
                          last edited by 10 Jul 2017, 21:37

                          @davej ah yeah your right, I only skimmed the list for the simple spi connection pins.

                          These screens are always sold as MCU screens, but they are mainly designed for dumping images from the associated SD card. I think the ili9341 is great for tiny pi based devices, minimal cost and effort

                          want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                          1 Reply Last reply Reply Quote 0
                          • T
                            tctctc
                            last edited by tctctc 7 Dec 2017, 04:39 12 Jul 2017, 03:07

                            Hi guys,

                            The copy of data form the seller:
                            https://pan.baidu.com/share/link?shareid=4248892308&uk=1445663752
                            (click [äø‹č½½(3.6M)] to download)
                            although some file naming using chinese, but all inside is english.
                            hope its help!

                            the screen

                            module pins definition:
                            0_1499827195310_ƒ£øEĢ€ā€œĖĪ©ā‰ˆāˆ‚Ā®ā€œAĢ‚.jpg
                            *translate:

                            1. (right top corner) *If you bought 8bit version (default sell as 16bit version, please remind), just connect pins D0-7!
                            2. BL_VDD : backlight power source, can use 3.3V
                            3. (bottom right corner) These pins just for touch enabled screen, no need to handle if the screen without touch.

                            SPT2230A-FPC-V01 pins definition:
                            1_1499827195310_SPT2230A-FPC-V01ā€œĖĪ©ā‰ˆāˆ‚Ā®ā€œAĢ‚.jpg

                            1 Reply Last reply Reply Quote 0
                            • topic:timeago-later,3 months
                            • O
                              obsidianspider
                              last edited by 7 Oct 2017, 03:36

                              Did you ever get the ILI9342 screen to work with a Pi?

                              šŸ“· @obsidianspider

                              M 1 Reply Last reply 7 Oct 2017, 08:44 Reply Quote 0
                              • M
                                moosepr @obsidianspider
                                last edited by 7 Oct 2017, 08:44

                                @obsidianspider I got distracted with other projects, should really get back on it

                                want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                                1 Reply Last reply Reply Quote 1
                                7 out of 15
                                • First post
                                  7/15
                                  Last post

                                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                  This community forum collects and processes your personal information.
                                  consent.not_received