• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 93.0k 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
    last edited by 16 Jan 2017, 12:44

    Yeah I will be able to, bit worried about the next stage installing the drivers for the screen

    1 Reply Last reply Reply Quote 0
    • G
      gazredtyke
      last edited by 16 Jan 2017, 16:41

      @moosepr Hi mate, I've had a look at the link you posted for connecting the screen, I've done all the soldering but I'm a bit lost with what I need to do next. What do I need to input to get the driver for the screen and where does this need to be put?

      1 Reply Last reply Reply Quote 0
      • M
        moosepr @moosepr
        last edited by 16 Jan 2017, 16:52

        @moosepr said in Yet Another Pi Zero Portable!!:

        If i remember right, you need to go into the raspiconfig, and enable spi, disable overscan, and enable device tree, then you should be able to run the command "sudo modprobe fbtft_device pitft22" to actually get the screen active (the backlight should light). You can test it with the command "con2fbmap 1 1" which should pop your terminal session onto the tft screen (run "con2fbmap 1 0" to get it back)

        There is then an app you need to download and build which basically copies the output of the normal screen onto the tft. There is an adafruit guide here, https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays/pitft-setup basically replace the adafruit-28 with adafruit-22 and you should get somewhere near

        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 16 Jan 2017, 18:16 Reply Quote 0
        • G
          gazredtyke @moosepr
          last edited by 16 Jan 2017, 18:16

          @moosepr Top man, believe me, I've done well to get this far, I like to say I'm an enthusiastic novice!

          1 Reply Last reply Reply Quote 0
          • G
            gazredtyke
            last edited by 16 Jan 2017, 18:19

            Would I be able to ssh and terminal? Would I use the command 'sudo nano raspiconfig.txt'? Or could I just put my sd card into my linux laptop and edit the config file that way?

            M 1 Reply Last reply 16 Jan 2017, 19:13 Reply Quote 0
            • G
              gazredtyke
              last edited by 16 Jan 2017, 18:43

              Oh and one last question (I think!), I have a switch like the ones you used for the controller, where would I put that in the circuit so it powers both the pi and the screen on? I don't mind if it doesn't power it off as I can just select the shutdown option in emulation station

              1 Reply Last reply Reply Quote 0
              • M
                moosepr @gazredtyke
                last edited by 16 Jan 2017, 19:13

                @gazredtyke you need to type

                sudo raspi-config

                On the pi, this will let you change the "system settings" on the pi

                The switches I used on the controller part are momentary switches, they only stay "on" for as long as it is pressed. You will need something more like a latching switch or a side switch

                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 16 Jan 2017, 19:39 Reply Quote 0
                • G
                  gazredtyke @moosepr
                  last edited by 16 Jan 2017, 19:39

                  @moosepr Thanks, and where in the circuit would that go?

                  M 1 Reply Last reply 16 Jan 2017, 19:43 Reply Quote 0
                  • M
                    moosepr @gazredtyke
                    last edited by 16 Jan 2017, 19:43

                    @gazredtyke you would need it between the power and the pi. The screen gets its power from the pi, so once that is off, the screen is off too

                    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 16 Jan 2017, 22:54

                      @moosepr I haven't got a switch at the moment so for the time being I'll just twist the wire together, I've done the raspi-configuration step but couldn't find where to enable device tree, any ideas?

                      M 1 Reply Last reply 17 Jan 2017, 09:41 Reply Quote 0
                      • M
                        moosepr @gazredtyke
                        last edited by 17 Jan 2017, 09:41

                        @gazredtyke I think there was one item i couldnt find myself, If you try the next step anyway, see how you get on

                        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 17 Jan 2017, 10:11 Reply Quote 0
                        • G
                          gazredtyke @moosepr
                          last edited by 17 Jan 2017, 10:11

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

                          M 1 Reply Last reply 17 Jan 2017, 11:05 Reply Quote 0
                          • M
                            moosepr @gazredtyke
                            last edited by 17 Jan 2017, 11:05

                            @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 17 Jan 2017, 11:14 Reply Quote 0
                            • G
                              gazredtyke @moosepr
                              last edited by 17 Jan 2017, 11:14

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

                              M 1 Reply Last reply 17 Jan 2017, 11:37 Reply Quote 0
                              • M
                                moosepr @gazredtyke
                                last edited by 17 Jan 2017, 11:37

                                @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 17 Jan 2017, 11:47 Reply Quote 0
                                • G
                                  gazredtyke @moosepr
                                  last edited by 17 Jan 2017, 11:47

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

                                  M 1 Reply Last reply 17 Jan 2017, 12:01 Reply Quote 0
                                  • M
                                    moosepr @gazredtyke
                                    last edited by 17 Jan 2017, 12:01

                                    @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 17 Jan 2017, 20:19

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

                                      M 2 Replies Last reply 17 Jan 2017, 22:30 Reply Quote 0
                                      • M
                                        moosepr @gazredtyke
                                        last edited by 17 Jan 2017, 22:30

                                        @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
                                        • M
                                          moosepr @gazredtyke
                                          last edited by 18 Jan 2017, 20:28

                                          @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 18 Jan 2017, 21:45 Reply Quote 0
                                          109 out of 132
                                          • First post
                                            109/132
                                            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