• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 88.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.
  • M
    moosepr @obsidianspider
    last edited by 12 Apr 2017, 20:39

    @obsidianspider as long as it doesnt end up as playing with fire, then its all good!

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

    O 1 Reply Last reply 12 Apr 2017, 21:19 Reply Quote 1
    • O
      obsidianspider @moosepr
      last edited by 12 Apr 2017, 21:19

      @moosepr I'm looking more into the ILI9163 screen driver issue, and it looks like the Arduino community has seen these before. I'm wading though a long thread, but I'm not sure how helpful it ill be.

      πŸ“· @obsidianspider

      M 1 Reply Last reply 12 Apr 2017, 21:27 Reply Quote 0
      • M
        moosepr @obsidianspider
        last edited by 12 Apr 2017, 21:27

        @obsidianspider just for the hell of it, try this as your fbtft.conf

        options fbtft_device name=flexfb width=128 height=160 speed=40000000 init=-1,0x01,-2,150,-1,0x11,-2,500,-1,0xB1,0x01,0x2C,0x2D,-1,0xB2,0x01,0x2C,0x2D,-1,0xB3,0x01,0x2C,0x2D,0x01,0x2C,0x2D,-1,0xB4,0x07,-1,0xC0,0xA2,0x02,0x84,-1,0xC1,0xC5,-1,0xC2,0x0A,0x00,-1,0xC3,0x8A,0x2A,-1,0xC4,0x8A,0xEE,-1,0xC5,0x0E,-1,0x20,-1,0x36,0xC0,-1,0x3A,0x05,-1,0xE0,0x0f,0x1a,0x0f,0x18,0x2f,0x28,0x20,0x22,0x1f,0x1b,0x23,0x37,0x00,0x07,0x02,0x10,-1,0xE1,0x0f,0x1b,0x0f,0x17,0x33,0x2c,0x29,0x2e,0x30,0x30,0x39,0x3f,0x00,0x07,0x03,0x10,-1,0x29,-2,100,-1,0x13,-2,10,-3

        its basically what notro mentioned in his message https://github.com/notro/fbtft/wiki/flexfb#sainsmart-18-st7735r

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

        O 1 Reply Last reply 12 Apr 2017, 21:42 Reply Quote 0
        • O
          obsidianspider @moosepr
          last edited by 12 Apr 2017, 21:42

          @moosepr said in Pi in a Dreamcast VMU Build - WIP:

          options fbtft_device name=flexfb width=128 height=160 speed=40000000 init=-1,0x01,-2,150,-1,0x11,-2,500,-1,0xB1,0x01,0x2C,0x2D,-1,0xB2,0x01,0x2C,0x2D,-1,0xB3,0x01,0x2C,0x2D,0x01,0x2C,0x2D,-1,0xB4,0x07,-1,0xC0,0xA2,0x02,0x84,-1,0xC1,0xC5,-1,0xC2,0x0A,0x00,-1,0xC3,0x8A,0x2A,-1,0xC4,0x8A,0xEE,-1,0xC5,0x0E,-1,0x20,-1,0x36,0xC0,-1,0x3A,0x05,-1,0xE0,0x0f,0x1a,0x0f,0x18,0x2f,0x28,0x20,0x22,0x1f,0x1b,0x23,0x37,0x00,0x07,0x02,0x10,-1,0xE1,0x0f,0x1b,0x0f,0x17,0x33,0x2c,0x29,0x2e,0x30,0x30,0x39,0x3f,0x00,0x07,0x03,0x10,-1,0x29,-2,100,-1,0x13,-2,10,-3

          No dice. I just get a white screen with that.

          I went back to options fbtft_device name=fb_ili9163 gpios=reset:25,dc:24 speed=40000000 bgr=1 rotate=0 custom=1 fps=60 and while I have the junk pixels on the bottom and right, at least I have output to the display.

          Just to be thorough I went into /boot/config.txt and commented out the bits that I put in to change the resolution to 128x128 and that didn't affect the garbage pixels. It did get games to take up the entire screen (aside from the right and bottom) again, so at least I know I can tweak that once I get the pixel addressing figured out.

          In looking at various screens online, it's impossible to know which one you're going to get. All of the different websites and sellers use the same photo and descriptions.

          The snazzy $40 Adafruit OLED is also out of stock, so that's not really an option, even if I wanted to spend $40 on a tiny screen, which I don't.

          πŸ“· @obsidianspider

          M 1 Reply Last reply 12 Apr 2017, 22:03 Reply Quote 0
          • O
            obsidianspider
            last edited by 12 Apr 2017, 22:02

            I'm going to tinker with the driver more, but this is what things look like with the proper aspect ratio inside the VMU case. I am probably going to make a bezel out of black electrical tape to hide the white case from the screen, and while I'm doing it, covering up those bad pixels won't kill me. It'd be a hack, crappy solution, but it'd work.

            0_1492034537839_correct-aspect-ratio.jpg

            Next up I'm going to remove a screen from the PCB and see if I can get that working connected to my test Pi.

            πŸ“· @obsidianspider

            1 Reply Last reply Reply Quote 1
            • M
              moosepr @obsidianspider
              last edited by 12 Apr 2017, 22:03

              @obsidianspider yeah I got the same with that code, I was just hoping you might get lucky as you have a slightly different screen

              The big chunk of code has some logic, -1 is for sending a command to the screen, -2 is for a delay, and -3 is the end of message. I need to find some time to compare that string with the commands that are in the 2 drivers that kinda work, and see if I can get the flex one working. I think my boards will be with me early next week, so once I have one soldered up I will be in need of a working driver!

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

              O 1 Reply Last reply 12 Apr 2017, 22:04 Reply Quote 0
              • O
                obsidianspider @moosepr
                last edited by 12 Apr 2017, 22:04

                @moosepr I believe in you.

                πŸ“· @obsidianspider

                1 Reply Last reply Reply Quote 0
                • O
                  obsidianspider
                  last edited by 26 Apr 2017, 20:22

                  After spending another few hours trying to get rid of the garbage pixels, I'm going to try ordering screens from a different seller, also located in China. At $3.50/each, I've spent well more than that in the amount of time I've been farting around with parameters and drivers. The first screens will be getting added to the parts bin. In the mean time I can use one to mock up component placement.

                  I also ordered some piezos from digi-key. Those will be here much quicker as they're from a US seller.

                  I have some power switches, so that won't be an issue, but I do still need to sort out the battery situation. It looks like a 500mAh one from Adafruit will work, but they are currently out of the Powerboost 500C that I want for another build, so I'll be waiting until that's in stock because Adafruit has a pretty hefty minimum shipping charge and I want to group things into as few orders as possible.

                  πŸ“· @obsidianspider

                  1 Reply Last reply Reply Quote 0
                  • O
                    obsidianspider
                    last edited by obsidianspider 5 Aug 2017, 20:54 8 May 2017, 19:52

                    Today the postal carrier dropped off a small package from China. Inside were three little screens, with a minor difference on the back. These said "v2.1".

                    …and they WORK!

                    0_1494272994615_v2.1-1.44-tft.jpg

                    No garbage pixels. Plus, these came with plastic screen protector film on them. The first screens did not. Oh well, money wasted on those unless I can figure out another driver.

                    If you're an instagram kind of person, here's a short video of it working.

                    Next up I'll be trying to remove one of the new working screens from the board and wire that up.

                    πŸ“· @obsidianspider

                    S 1 Reply Last reply 14 May 2017, 07:01 Reply Quote 4
                    • A
                      Arvester
                      last edited by 11 May 2017, 09:48

                      I follow your build from some time now, and started to buy all pieces a few days ago. I hope the screens I bought are the new version !

                      O 1 Reply Last reply 11 May 2017, 11:28 Reply Quote 0
                      • O
                        obsidianspider @Arvester
                        last edited by 11 May 2017, 11:28

                        @Arvester Unfortunately with these cheap boards there are tons of variants and it's almost impossible to know which one you're going to get. Good luck!

                        πŸ“· @obsidianspider

                        1 Reply Last reply Reply Quote 0
                        • S
                          satri360 @obsidianspider
                          last edited by 14 May 2017, 07:01

                          @obsidianspider Wonderful! I've got V1.1 LCD and also have the garbage pixels. Need to find a way to fix/conceal as I have 5pcs of them...

                          O 1 Reply Last reply 14 May 2017, 09:43 Reply Quote 0
                          • O
                            obsidianspider @satri360
                            last edited by 14 May 2017, 09:43

                            @satri360 since the 1.44" screen doesn't fill the entire opening I was going to make a bezel either out of black electrical tape or thin plastic so you don't see the white part. I figured if the v2.1 screens didn't fix the issue I would just make the bezel slightly larger to cover those rows. It's a bit hacky, but I figure it's not much different than how on older CRT televisions there was often a region of the picture tube that you didn't see due to the case, etc.

                            πŸ“· @obsidianspider

                            1 Reply Last reply Reply Quote 0
                            • A
                              Arvester
                              last edited by 21 May 2017, 11:40

                              So, do you have a reference about what battery could fit ?
                              For now, I have the VMU and the Pi Zero, I'm waiting for the screens to arrive (probably next week).

                              O 1 Reply Last reply 21 May 2017, 11:54 Reply Quote 0
                              • O
                                obsidianspider @Arvester
                                last edited by 21 May 2017, 11:54

                                @Arvester said in Pi in a Dreamcast VMU Build - WIP:

                                So, do you have a reference about what battery could fit ?

                                I haven't gotten that far yet. I have an idea of what may fit, but I need to fit things into my test case and measure.

                                πŸ“· @obsidianspider

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Arvester
                                  last edited by 2 Jun 2017, 11:46

                                  Have you seen that ?

                                  https://www.adafruit.com/product/910

                                  It would fit vertically, but needs power boost to achieve 5V. And then it would be 160x240px, much more than the 128x128 we found anywhere else.

                                  O M 2 Replies Last reply 2 Jun 2017, 11:50 Reply Quote 0
                                  • O
                                    obsidianspider @Arvester
                                    last edited by 2 Jun 2017, 11:50

                                    @Arvester It would not be a perfect fit. The 1.44" screen barely fits as it is, and that screen also has a huge logic board that would take up a ton of room we don't have. It's also $40 for one screen. I paid $3 for one of the 1.44" screens.

                                    πŸ“· @obsidianspider

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      moosepr @Arvester
                                      last edited by 2 Jun 2017, 15:07

                                      @Arvester yeah it actually says 6-15VDC so that might need a spot more boosting, and the extra board for the composite decoder chip too might eat up some space.

                                      you can actually run the cheepo 1.44" screens straight to the pi with just a resistor for the backlight if your soldering is up to it (excuse the cat hair in the photo!!)

                                      cat hair city!!

                                      anything to save a few mm :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

                                      1 Reply Last reply Reply Quote 1
                                      • A
                                        Arvester
                                        last edited by 3 Jun 2017, 07:38

                                        I have finally received my screens, unfortunately there's only one v1.1, the other one is something I never ordered (I ordered the two same) , there's a HUGE chip on the pcb and there is soldering points at the two ends, taking much more place. I can't use this. I didn't noticed at first glance, and I opened the wrong one first, 3$ lost ^^

                                        Oh, and there's no problem with cat hair, I'm invaded too ^^

                                        M 1 Reply Last reply 3 Jun 2017, 23:07 Reply Quote 0
                                        • M
                                          moosepr @Arvester
                                          last edited by 3 Jun 2017, 23:07

                                          @Arvester that's a pain, nothing worse try waiting for weeks for bits and they arrive wrong 😞

                                          Black rug and white cat was never a good idea πŸ˜›

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

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]