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

    PSPi Version 2.0 - Raspberry Pi Zero in a PSP - Project is Now Complete!

    Scheduled Pinned Locked Moved Projects and Themes
    psppspipi zeroothermod
    82 Posts 19 Posters 77.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.
    • A
      adcraggles @adcraggles
      last edited by

      @adcraggles 1 for myself I meant

      1 Reply Last reply Reply Quote 0
      • adamspcA
        adamspc
        last edited by

        Hey guys, just updating to say I'm considering PSPi Version 2 to be complete. The custom PCB is being designed, and I'm planning to use it for Version 3. Follow along and get involved at my site.

        https://www.othermod.com

        1 Reply Last reply Reply Quote 2
        • adamspcA
          adamspc
          last edited by

          I made a Youtube video showing Version 2 in action.

          https://www.othermod.com

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

            Wow, now I'm thinking that I may go this route for my portable instead of a Gameboy Advance. That's really slick.

            📷 @obsidianspider

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

              Yeah its pretty Slick!! Have you got the analogue sticks working?

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

              adamspcA 1 Reply Last reply Reply Quote 0
              • adamspcA
                adamspc @moosepr
                last edited by

                @moosepr I'm working on it, but I probably won't add it to this one. I'm wiring up an analog/digital converter that converts the stick position (Ohm value) to a series of button presses. There is a little bit of hardware and a lot of software work left before I'm happy with it. I was just ready to have this finished, so I moved it to Version 3. I'll post a guide on my site once I have it working the way I want.

                https://www.othermod.com

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

                  @adamspc not sure on your plans for the analog to digital conversion, but can highly recommend these

                  https://www.dfrobot.com/index.php?route=product/product&search=beetle&description=true&product_id=1075

                  it is essentially an arduino leonardo, so you would be able to program it to read the analogue inputs, and convert them to keyboard commands to be sent to the pi via usb. The only problem with that, it would mess up your usb socket on the top.

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

                  adamspcA 1 Reply Last reply Reply Quote 0
                  • adamspcA
                    adamspc @moosepr
                    last edited by adamspc

                    @moosepr Very cool. That would definitely simplify everything. I'm trying to avoid using a USB hub in this project, so yea this would probably be a no-go. I've got options though. I'm using an MCP3002, and I've already added it to my PCB.

                    0_1475159804504_3D.jpg

                    https://www.othermod.com

                    1 Reply Last reply Reply Quote 2
                    • cyperghostC
                      cyperghost
                      last edited by

                      @adamspc
                      I'm sure I used the same car monitor as you in my build. But I power this one with 12V and then convert to 5V.
                      I als use the same PAM audio module as you in your build but I'm running in audio troubles. There is some noise during startup and loading games (always if the Pi acts) - the in game sound itself is quite fine, but it's annoying in idle.

                      Can you please take a look to my build: Popeye Pi and help me out? Maybe I setted something wrong in the command.txt? I just use mono audio and used GPIO18.
                      What GPIOs are you using?

                      adamspcA 1 Reply Last reply Reply Quote 0
                      • adamspcA
                        adamspc @cyperghost
                        last edited by adamspc

                        @cyperghost
                        I'm troubleshooting the same idle noise you are. I've resolved it temporarily by setting the OS volume at 100% and adding a resistor(150-250ohm) in series with each audio channel between the amplifier and speaker. This makes the noise far less audible, but makes your max volume lower. This is only a temporary solution, and I'm working on a permanent one.

                        Things I've tried:

                        • Different high/low-pass filters on the PWM
                        • Different high/low-pass filters on the PAM8403 output
                        • Ferrites on PWM and PAM8403 output

                        Things I'm going to try:

                        • Small capacitor and ferrite together on the amp output (waiting on parts)
                        • Capacitor on 3v3 line. The noise seems to be coming from the CPU and SD card activity, and I'm wondering whether leveling the voltage out will remedy the noise somewhat.
                        • Larger inductors on the PWM and PAM8403 output
                        • Band stop filter at the specific frequency that is giving the noise

                        I'm using GPIO 13 and 18. I also see that you're trying to bridge the audio channels instead of using two speakers. I read somewhere that you can take both positive outputs from the amplifier and connect them to two resistors in series, and then the connection point between the two resistors goes to the speaker. Something like this. I cannot remember where I saw it. This would also double as the resistor needed to lower the idle noise. Maybe try 150-250ohm. Worse case scenario you damage the $1 amp.
                        0_1475169160543_audio bridge.jpg

                        https://www.othermod.com

                        cyperghostC 1 Reply Last reply Reply Quote 0
                        • cyperghostC
                          cyperghost @adamspc
                          last edited by

                          @adamspc

                          I also see that you're trying to bridge the audio channels instead of using two speakers

                          No, not now. I don't want to solder a second audio channel.
                          Maybe it's possible to downmix by software :)

                          A solution (I also wrote in my guide) is to use annother audio module
                          https://www.adafruit.com/products/3006
                          What do you think?

                          I tried

                          • annother PAM module (red board)
                          • Bridged ground and PWM together with 47k resistor to resolve currents with the RC-filter
                          • shielding with metal mesh stripes (used for shield wires)...

                          Maybe the Adafruit is going better?

                          Thanks for the quick respone :)
                          Congrats for your nice build, it is a pleasure to visit your homepage

                          adamspcA 1 Reply Last reply Reply Quote 0
                          • adamspcA
                            adamspc @cyperghost
                            last edited by

                            @cyperghost
                            Not sure about the software downmixing. Sounds doable. I saw that Adafruit module a while back and I've wanted to try it. A pure digital solution sounds like a good one. Only reason I haven't done it yet is because I would need two of them and I've already spent way, way, way too much money building this project.

                            https://www.othermod.com

                            cyperghostC 1 Reply Last reply Reply Quote 0
                            • cyperghostC
                              cyperghost @adamspc
                              last edited by

                              @adamspc
                              No...
                              No need for two :)
                              One module downmixes to stereo to one speaker :)

                              I've opened a new thread...
                              https://retropie.org.uk/forum/topic/4331/possible-solution-for-static-noise-on-all-rpi-zero-builds

                              adamspcA 2 Replies Last reply Reply Quote 0
                              • adamspcA
                                adamspc @cyperghost
                                last edited by

                                @cyperghost
                                This might be a different module than I looked at a few months ago. I'm on a network that blocks most sites, so I cant do much research or watch videos. I'm going to research this when I get home.

                                https://www.othermod.com

                                cyperghostC 1 Reply Last reply Reply Quote 0
                                • cyperghostC
                                  cyperghost @adamspc
                                  last edited by

                                  @adamspc
                                  Maybe we misunderstood together.
                                  Each module provides space for only one speaker. But the module provides stereo input and downmix to stereo using single speaker.
                                  I think it makes not sense to use "real" stereo for small builds like we did.

                                  1 Reply Last reply Reply Quote 0
                                  • stahl80S
                                    stahl80
                                    last edited by

                                    No words! That's just incredible‼️👊

                                    1 Reply Last reply Reply Quote 1
                                    • adamspcA
                                      adamspc @cyperghost
                                      last edited by

                                      @cyperghost Ok so I bought and installed the I2S board on a breadboard. The software setup was very easy and the wiring only took like 5 minutes. It's great that it internally blends left and right audio channels. The ability to use two of these and get separate channels is cool too, but I tend to agree with you that separate channels in these small handhelds doesn't add much to the experience.

                                      Overall I'm very happy with it, but there are two issues:
                                      The speaker pops every time audio is started
                                      The audio has horrible static for a couple seconds when playback first begins

                                      I hope these issues exist because I used a breadboard, since the audio becomes crisp and clear a few seconds into playing. I'm going to try soldering it later.

                                      https://www.othermod.com

                                      1 Reply Last reply Reply Quote 0
                                      • adamspcA
                                        adamspc
                                        last edited by

                                        Soldering the connections fixed the static. The pop noise still remains when audio starts though. Has anyone else experienced this from an I2S board? Just curious before I start trying to filter it out.

                                        https://www.othermod.com

                                        cyperghostC 1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost @adamspc
                                          last edited by cyperghost

                                          @adamspc Yes same issue here.
                                          The speakers are poping if they are powered by the amp. But think about the PWM via PAM made the same sound (only once because the PWM signal wasn't muted after ending a gaming session)...

                                          If you compare I2S+AMP (the cheap adafruit sound module) with PWM+PAM-amp the start and end pop-sound is negligible. Maybe you can develop a filter for this :)

                                          EDIT:
                                          Don't forget to bridge gain and ground with 100kOhm resistor to receive +6 db more sound :)

                                          adamspcA 1 Reply Last reply Reply Quote 0
                                          • adamspcA
                                            adamspc @cyperghost
                                            last edited by

                                            @cyperghost
                                            Ok I wanted to confirm that others experience it before I tried fixing it. I'm going to try filtering it first, and if that doesn't work I'm going to try to delay the speaker's output for just a moment after the amp turns on.

                                            This amp is already pushing the puny PSP speakers to their max. I think any more db will damage them.

                                            https://www.othermod.com

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