Upgrade to Raspberry Pi 5

Would it be possible to upgrade a Picade X, now working on a Pi 4, to the new Raspberry Pi 5?

It would be a dream machine for emulating, at 2.5x the speed of the Pi 4.

Some hurdles to jump, like different form factor, but as the 40 pin interface is still the same, certainly worth it!

Or just a cheapish Picade X 5?

Assuming all your Picade software will run on Pi OS Bookworm, I would say doable.

1 Like

I was hoping you would jump in, @alphanumeric , thank you. The new on/off switch on the board might render the Picadeā€™s own on/off button unusable, I thought. The software would be the most challenging part I suppose, weā€™d have to wait for Pimoroni to port it if it doesnā€™t run.

I guess weā€™ll have to wait a few weeks and test!

1 Like

would be a fantastic upgrade!

One wrinkle in this ā€œmay beā€ the added RP1 chip on the Pi 5. It now does all the GPIO stuff that the SOC ā€œused to doā€ on previous Piā€™s. Just something to keep in mind.

That ā€œmightā€ mess up how the buttons and Joystick work, software wise?

1 Like

This is what Iā€™m also thinking about. Would love to find out if the picade hat x works on rp5. Might be worth the investmentā€¦

My thoughts on this, the buttons may not be a problem if they are just emulating keys over the GPIO pins via the kernel. If anything uses pigpio/rpi.gpio/wiringpi youā€™re stuffed.
The power button can just be rewired in to the Pi5 header (fit one first, probably an angled on to make it easier)
Plasma is probably out (gpio).

Off to look at github
links hear for ease
Picade X HAT USB-C (pimoroni.com)
GitHub - pimoroni/picade-hat: Picade HAT input daemon and setup script

I had a thought, you can use a PICADE X Player USB module if the Picade XHAT doesnā€™t emulate the keys via GPIO (for controller use)ā€¦although now I need to find out if the sound would output on the picadeā€™s speaker

Yep, picadehat didnā€™t work for me. Looks like a complete rewrite is needed for both picade.dtbo and plasma led programs

I was thinking maybe getting the audioshim module, but the rp5 uses all new configuration, so itā€™s unlikely going to work so no inbuilt audio for now. Not that I really use the internal speaker as I have my picade connected to external speakers via my hdmi splitter which has an audio headphone output.

For the controls, the picade player x usb module will do at this stage.

2 Likes

The Pi 5 works fine with this:

Install with:
git clone GitHub - pimoroni/picade-hat: Picade HAT input daemon and setup script -b feature/pi5
cd picade-hat
make
sudo make install

open up: sudo nano /boot/firmware/config.txt
and add these lines:

dtoverlay=picade
usb_max_current_enable=1
hdmi_group=2
hdmi_mode=16

save the file and reboot

3 Likes

Iā€™ve just tried this following your instructions @Gamegear84 and its all working. Thanks for posting. Iā€™ve just got to learn how to load game ROMS now!

1 Like

Cool šŸ˜Ž load Roms is quit easy you have to add them in home/pi/retropie/roms and also you can add bios files I think it was /home/pi/retropie/bios and thatā€™s it

perfect, thank you. I have a fairly large collection of ROMs from an old Super Console X that Iā€™ve had for a few years, ripped those and loaded up the MAME and Atari 2600 folders and boom, most are playing quite nicely now.

Fantastic. My Pi4 was slow when emulating N64, even overclocked, but a Pi5 might just run X-Wing well!
Thank you

Itā€™s a great news to read that the Picade X HAT USB-C can work with a PI 5 but Is there any electrical or electronical risk to use it with a Raspberry Pi 27W USB-C Power Supply which delivers an output of 5.1V 5A. On the Hat itā€™s written 5V 3A. Is Pimoroni will support this use case? Will the warranty apply?

The Current Rating of the Power Supply is the maximum current it can supply. The actual current supplied by the Power Supply depends on the load connected. A higher rating isnā€™t going to hurt anything. The 5V 3A means the power supply should be capable of supplying ā€œat leastā€ 3A @ +5V. Anything less and you may have issues trying to power all your blinky lights etc.;)
5V 5A means it can supply ā€œup toā€ 5A @ +5V

1 Like

I just followed @Gamegear84ā€™s instructions and it worked great. Thank you for posting. Iā€™m running a browser-based JS game I wrote in kiosk mode. The 4 wasnā€™t fast enough but the 5 is great, very happy to get it working

Hello, this solution works just fine for the buttons and to Power the pi 5 from the hat. But if you run the Picade from an Pi OS lite the sound doensā€™t work. There is no control available for the alsamixer. To make it works, you also have to copy the asound.conf from the git repo into /etc/ AND test the sound to have the alsamixer working with the hat. It took me hours to understand that having a correct alsa conf was unsufisant to have the alsamixer working until you test sound with the speaker-test command BEFORE running alsamixer.

1 Like

Hello; after transferring the asound.conf I get the following error:
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
playback open error: -524, Unknown error 524
Any ideas?