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

    Pi in a Dreamcast VMU Build - WIP

    Scheduled Pinned Locked Moved Projects and Themes
    buildprojecthandheldvmudreamcast
    157 Posts 7 Posters 94.4k 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.
    • mooseprM
      moosepr
      last edited by

      WOW!!

      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
      • cellyC
        celly @obsidianspider
        last edited by celly

        @obsidianspider yes! Glad you got it all. Can't wait to see the finished product.

        Currently Playing: Tetris (Gameboy)

        1 Reply Last reply Reply Quote 1
        • A
          ABrugsch
          last edited by

          are those actual Garbage Pail Kids? wow memories!
          (or do they still make them?) one of the things that annoyed me moving from USA to UK as a kid was that the garbage pail kids got smaller, and went from having a cutout shape for the sticker part to just being fully rectangular. I think I ended up throwing my collection away, or just sticking them to things...

          obsidianspiderO 1 Reply Last reply Reply Quote 1
          • obsidianspiderO
            obsidianspider @ABrugsch
            last edited by

            @ABrugsch They're Garbage Pail Kids!

            0_1491478569732_gpk.jpg

            πŸ“· @obsidianspider

            1 Reply Last reply Reply Quote 1
            • obsidianspiderO
              obsidianspider
              last edited by

              My screens showed up in the mail today!

              No protective stickers over the actual display itself, so hopefully the minor imperfections I'm seeing on both screens are just some dirt.

              0_1491850466296_vmu-screens-arrived.jpg

              A quick mockup of setting a screen inside a VMU looks very promising.

              0_1491850523748_screen-in-vmu-mockup.jpg

              πŸ“· @obsidianspider

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

                @obsidianspider chip at the top sure it better!! plus the driver being upside down to begin with, means not having to worry about changing 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

                obsidianspiderO 1 Reply Last reply Reply Quote 0
                • obsidianspiderO
                  obsidianspider @moosepr
                  last edited by

                  @moosepr Now I'm trying to figure out what GPIO pins map to the pins on the red board.

                  πŸ“· @obsidianspider

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

                    @obsidianspider is this any use?

                    linez

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

                    obsidianspiderO 1 Reply Last reply Reply Quote 1
                    • obsidianspiderO
                      obsidianspider @moosepr
                      last edited by

                      @moosepr This is about where I'm at. Your diagram helps quite a bit. I'll have to see if I can follow the traces and translate that to the pins on the red board before I try soldering things up. I want to make sure things work stock before I take it apart.

                      0_1491854589717_figure-out-pins.jpg

                      πŸ“· @obsidianspider

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

                        @obsidianspider lets see if i can fill in the blanks for you
                        1 - 3.3v
                        2 - gnd
                        3 - gpio 8 (pin 24)
                        4 - gpio 25 (pin 22)
                        5 - gpio 24 (pin 18)
                        6 - gpio 10 (pin 19)
                        7 - gpio 11 (pin 23)
                        8 - 3.3v (can be the same as pin 1)

                        my schematic is a little messy, lots of crossovers. tis something i need to refine

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

                        obsidianspiderO 2 Replies Last reply Reply Quote 0
                        • obsidianspiderO
                          obsidianspider @moosepr
                          last edited by

                          @moosepr Well, it looks like I came up with the same answer, so that's good. Now I need to tweak a RetroPie setup to see if I can get things working!

                          πŸ“· @obsidianspider

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

                            @obsidianspider thats the easy bit

                            raspi-config - enable spi

                            sudo nano /etc/modules - add in

                            spi-bcm2835
                            fbtft_device

                            sudo nano /etc/modprobe.d/fbtft.conf - add in

                            options fbtft_device name=fb_ili9163 gpios=reset:25,dc:24 speed=40000000 bgr=1 rotate=0 custom=1 fps=60

                            reboot

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

                            obsidianspiderO 1 Reply Last reply Reply Quote 0
                            • obsidianspiderO
                              obsidianspider @moosepr
                              last edited by

                              @moosepr I'm workin on it! I'm workin on it!

                              πŸ“· @obsidianspider

                              1 Reply Last reply Reply Quote 0
                              • obsidianspiderO
                                obsidianspider
                                last edited by

                                So, it works, kind of. Both screens are showing garbage data on the pixels on the right, one is showing them on the bottom as well. I haven't tried adjusting resolution yet, but the screen is mirroring what's going to HDMI correctly, aside from the garbage pixels.

                                I do have overscan disabled in /boot/config.txt

                                0_1491856951163_bad-pixels-1.jpg
                                0_1491856966147_bad-pixels-2.jpg

                                πŸ“· @obsidianspider

                                mooseprM 1 Reply Last reply Reply Quote 0
                                • lilbudL
                                  lilbud
                                  last edited by

                                  @obsidianspider do the dead pixels show up under the VMU bezel?

                                  Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                  Backlog: http://backloggery.com/lilbud

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

                                    @obsidianspider hmmm are those the 128x128 screens, or the 128x160?

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

                                    obsidianspiderO 1 Reply Last reply Reply Quote 0
                                    • obsidianspiderO
                                      obsidianspider @moosepr
                                      last edited by

                                      @moosepr they're the "red board" screens.

                                      0_1491858478837_red-board.jpg

                                      Setting the HDMI resolution to 128 x 128 in /boot/config.txt didn't help.

                                      0_1491857792320_garbage-pixel-smb.jpg

                                      Great refresh rate though. Very smooth.

                                      @lilbud The whole screen shows. I'm going to actually end up coloring in the white surround black to hide it a bit. This is just "set in" but you get the idea.

                                      0_1491858223586_sonic-mockup.jpg

                                      πŸ“· @obsidianspider

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

                                        @obsidianspider just for shits and giggles, try running it with the other driver

                                        options fbtft_device name=fb_st7735r gpios=reset:25,dc:24 speed=40000000 bgr=1 rotate=0 custom=1 fps=60

                                        then if that works, try adding some size in there

                                        options fbtft_device name=fb_st7735r gpios=reset:25,dc:24 speed=40000000 height=128 bgr=1 rotate=0 custom=1 fps=60

                                        all in sudo nano /etc/modprobe.d/fbtft.conf of course

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

                                        obsidianspiderO 1 Reply Last reply Reply Quote 0
                                        • obsidianspiderO
                                          obsidianspider @moosepr
                                          last edited by

                                          @moosepr That gave me a different kind of garbage. The bad pixels moved to the other side, things are upside down, and the bottom output is garbled.

                                          0_1491859412621_other-garbage.jpg

                                          0_1491859426922_other-garbage-2.jpg

                                          πŸ“· @obsidianspider

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

                                            @obsidianspider odd!! it behaves differently to the one i have got. Although mine is probably wired differently (you may also have a totally different screen on the board)

                                            notro did point me in the direction of using the flex driver, where you can basically set the full init commands. I did start looking, but decided to wait till my boards arrived (they have literally just been marked as shipped!!)

                                            here is all i know so far https://github.com/notro/fbtft/issues/453

                                            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
                                            • 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.