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

    Yet Another Pi Zero Portable!!

    Scheduled Pinned Locked Moved Projects and Themes
    132 Posts 13 Posters 92.9k 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.
    • G
      gazredtyke @moosepr
      last edited by

      @moosepr I tried the next step but got an error message

      mooseprM 1 Reply Last reply Reply Quote 0
      • mooseprM
        moosepr @gazredtyke
        last edited by

        @gazredtyke whats the error? it could be that i have done a typo :P

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

        G 1 Reply Last reply Reply Quote 0
        • G
          gazredtyke @moosepr
          last edited by

          @moosepr can't remember, I'll have to try again when I get in from work

          mooseprM 1 Reply Last reply Reply Quote 0
          • mooseprM
            moosepr @gazredtyke
            last edited by

            @gazredtyke try this command instead

            sudo modprobe fbtft_device name=adafruit22

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

            G 1 Reply Last reply Reply Quote 0
            • G
              gazredtyke @moosepr
              last edited by

              @moosepr would it be adafruit28 as my tft is 2.8"?

              mooseprM 1 Reply Last reply Reply Quote 0
              • mooseprM
                moosepr @gazredtyke
                last edited by

                @gazredtyke I think it will be the 22. i cant see a 2.8 device listed on the driver wiki, in theory the 2.2, 2.4, and 2.8 inch screens are all identically internally, they just have different sized pixels

                https://github.com/notro/fbtft/wiki/LCD-Modules

                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
                • G
                  gazredtyke
                  last edited by

                  @moosepr The error message is "could not insert 'fbtft_device' : Invalid argument'

                  mooseprM 2 Replies Last reply Reply Quote 0
                  • mooseprM
                    moosepr @gazredtyke
                    last edited by

                    @gazredtyke I will have to get mine hooked up to a keyboard and see what I typed to get it going, it's been a while...

                    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
                    • mooseprM
                      moosepr @gazredtyke
                      last edited by

                      @gazredtyke try

                      sudo modprobe fbtft_device name=fb_ili9340

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

                      G 2 Replies Last reply Reply Quote 0
                      • G
                        gazredtyke @moosepr
                        last edited by

                        @moosepr still getting the same error mate, as I say though I couldn't find how to enable device tree

                        mooseprM 1 Reply Last reply Reply Quote 0
                        • mooseprM
                          moosepr @gazredtyke
                          last edited by

                          @gazredtyke I have just looked on mine and i dont think i could find the device tree bit, i sure cant now!! have you enabled the SPI?

                          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
                          • G
                            gazredtyke @moosepr
                            last edited by

                            @moosepr can you show a diagram of which gpio pin layout you followed? Maybe that's the issue?

                            mooseprM 1 Reply Last reply Reply Quote 0
                            • mooseprM
                              moosepr @gazredtyke
                              last edited by

                              @gazredtyke the error seems to suggest that it doest like the options being passed into the fbtft device call. my command scroll back doesnt go far enough back to see my initial testing bits. I need to go back to a fresh install of retropie and follow it all from the beginning.

                              If my new 2.2" screens ever come from china, i will be setting up another pi and will detail the lot

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

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                gazredtyke @moosepr
                                last edited by

                                @moosepr could you show the gpio layout? I seem to have 2 different ones 😮

                                mooseprM 1 Reply Last reply Reply Quote 0
                                • mooseprM
                                  moosepr @gazredtyke
                                  last edited by

                                  @gazredtyke im pretty sure that i used

                                  Display - Raspberry Pi
                                  BL - pin 12
                                  SCK - pin 23
                                  MISO - pin 21
                                  MOSI - pin 19
                                  CS - pin 24
                                  RST - pin 22
                                  D/C - pin 18
                                  VIN - pin 17
                                  GND - pin 20

                                  pinz

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

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    gazredtyke @moosepr
                                    last edited by

                                    @moosepr I've got the same with the exception I don't have anything on miso as that one is for the sd card isn't it?

                                    mooseprM 1 Reply Last reply Reply Quote 0
                                    • mooseprM
                                      moosepr @gazredtyke
                                      last edited by

                                      @gazredtyke that is what it said in the original link I sent you, but I'm pretty sure I linked the pin on my screen. I squashed the wires so it's hard to follow which is which, but I do seem to remember filling most of that block of pins on the pi

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

                                      G 1 Reply Last reply Reply Quote 0
                                      • G
                                        gazredtyke @moosepr
                                        last edited by

                                        @moosepr so maybe if I wire the miso to the pi?

                                        mooseprM 1 Reply Last reply Reply Quote 0
                                        • mooseprM
                                          moosepr @gazredtyke
                                          last edited by

                                          @gazredtyke give it a go. I'm pretty sure the only pins that are shared between the screen and the SD card are the power ones (but I could be wrong)

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

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            gazredtyke @moosepr
                                            last edited by

                                            @moosepr no joy 😭

                                            mooseprM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.