This tutorial no longer works with Recalbox 8.0 !
Hyperion is a free and open source project to turn your Raspberry Pi into an Ambilight system !
With Hyperion and Recalbox, you can transform your retrogaming and multimedia system into a magnificent immersive experience!
First of all, we're not talking about using Hyperion with a part of your Recalbox like Kodi.
You'll be able to use Hyperion's features in EVERY RETRO GAME you play on Recalbox!
The image you see on your TV (LCD or CRT) will be dynamically extended on the wall using RGB LEDs.
What does it look like? Take a look at Sonic 3 on Sega Genesis:
And on video:
Hyperion supports numerous LED strips (see this page) with different protocols:
The tests were done on WS2812b with PWM and SPI. I've never been able to get PWM to work properly, so we'll describe how to make your Recalbox / Hyperion installation with WS2812b mode in SPI.
This section is missing from the Hyperion documentation, so we'll explain how to use it here.
Support for WS2812b with a wire over SPI has been added by penfold42 with this commit. Thanks.
The following tutorial uses a soldering iron. If you already have one, the rest of the equipment is pretty cheap. But if you want to make something without soldering, see the tutorial here.
You'll need
Visit kubii.fr to find everything you need.
Of course, if you want to save money you can:
I tested my 220 LED Hyperion strip with an Aukru 5V 3A and it worked almost fine, but when all the LEDs are white, the end of the strip is a bit yellow...
Measure the edges of your TV and cut 1 strip per edge according to this measurement.
Solder the strips together OR solder connectors to the strips. Follow the arrows on the strip to find out which connector to use (IN or OUT).
Here's a preview of the result:
To allow the Raspberry Pi to send data to the LEDs, you have the following options:
If you are on a Raspberry Pi 2 or 3, you have more GPIOs but the placement remains the same. The Raspberry Pi is connected to its own power supply and to the LED power supply ground. The Raspberry Pi sends the data via the SPI MOSI GPIO to the LED data cable. The regulator is connected between the LEDs and their power supply.
If you choose to regulate the GPIO voltage, use the diagram above, remove the regulator and connect the level shifter between the MOSI GPIO and the LED data cable.
Hypercon is a graphical interface that allows you to configure your Hyperion installation and create the configuration file to be placed on the Recalbox.
Download and start Hypercon by following the official tutorial.
You can find many resources on Hypercon configuration on the Hyperion documentation.
Here's how to configure Hypercon for your Recalbox and WS2812b in SPI mode:
Then click on the Create Hyperion Configuration button. Save the json file in hyperion.config.json
.
Copy this file to your recalbox in the location /recalbox/share/system/config/hyperion/
hyperion.enabled=0
to hyperion.enabled=1
.recalbox-user-config.txt
file on the boot partition and add the line dtparam=spi=on
:echo 'dtparam=spi=on' >> /boot/recalbox-user-config.txt
You've got a fully functional Ambilight system! Try out retro games, films and anime with Kodi and let the beauty of the colours enhance your multimedia experience!