Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:lcd_led_marquees [2022/02/13 02:45] – corrections to the DIY section atari | hardware:lcd_led_marquees [2023/08/14 12:47] (current) – added installation instructions for LCD WiFi setup atari | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Pixelcade ===== | ===== Pixelcade ===== | ||
- | The premier digital marquee manufacturers! [[https:// | + | The premier digital marquee manufacturers! [[https:// |
{{: | {{: | ||
<WRAP center round info> | <WRAP center round info> | ||
- | Pixelcade themselves offer [[https:// | + | Pixelcade themselves offer [[https:// |
</ | </ | ||
Line 30: | Line 30: | ||
</ | </ | ||
- | Pixelcade offer their marquees in two delicious | + | Pixelcade offer their marquees in two flavors, Pixelcade LED (8-bit, low-res) and Pixelcade LCD (high res). The installation instructions change depending on the model. |
==== Pixelcade LED ==== | ==== Pixelcade LED ==== | ||
Line 38: | Line 38: | ||
</ | </ | ||
- | This is the lower resolution LED panel that's more suited to pixel-art display than full-color images. It's easy to tell this one from the LCD panel as it has a USB port on the back, while the LCD panel does not. | + | {{: |
- | Installation is simple. Power on the Pixelcade | + | Pixelcade LED marquees are based on LED panels for a low-res 128x32 display suited for 8-bit, pixel art marquee artwork. Pixelcade and the community has created and updates |
- | <code bash> | + | Installation is simple. Power on the Pixelcade panel and plug in its USB port into the Batocera machine: |
- | curl -kLO -H " | + | |
+ | {{: | ||
+ | |||
+ | Then [[: | ||
+ | |||
+ | < | ||
+ | curl -kLO -H " | ||
</ | </ | ||
- | After the downloading and installation is complete, | + | <WRAP center round info> |
+ | In case that doesn' | ||
+ | </ | ||
+ | |||
+ | After the downloading and installation is complete, the 1941 game marquee | ||
- | If the panel did not display the marquee, refer to the [[# | ||
==== Pixelcade LCD ==== | ==== Pixelcade LCD ==== | ||
Line 56: | Line 65: | ||
</ | </ | ||
- | This is the higher resolution LCD panel that's suited | + | This is the higher resolution LCD panel that's suited |
- | Installation uses a different command from the LED panel, so be careful. Power on the Pixelcade | + | To set up the Pixelcade |
- | <code bash> | + | <code> |
+ | cd / | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | You will be asked a series of questions (FIXME what questions? | ||
+ | |||
+ | Power on the Pixelcade LCD and if you see the Pixelcade retrowave banner then the Pixelcade has successfully connected to the WiFi network: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Once confirmed, finish setting up Batocera' | ||
+ | |||
+ | <code - bash> | ||
curl -kLO -H " | curl -kLO -H " | ||
</ | </ | ||
- | If the panel did not display the marquee, refer to the [[# | + | <WRAP center round info> |
+ | In case that doesn' | ||
+ | </ | ||
If you have both panels and want to use them at the same time, it is possible to install both these scripts at once. | If you have both panels and want to use them at the same time, it is possible to install both these scripts at once. | ||
- | ==== Pixelcade | + | ==== Pixelcade |
A simple web interface can be used to upload new artwork to the panel' | A simple web interface can be used to upload new artwork to the panel' | ||
- | {{https:// | + | {{https:// |
+ | {{https:// | ||
+ | |||
==== Pixelcade advanced scripting ==== | ==== Pixelcade advanced scripting ==== | ||
Line 110: | Line 137: | ||
</ | </ | ||
- | ===== Using the two HDMI outputs | + | If you wish to simply see the events that are being fired off by Pixelcade' |
- | It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic marquee. [[https:// | + | For Pixlecade LED |
- | Artwork needs to be sourced and placed in the appropriate '' | + | < |
+ | curl localhost: | ||
+ | cd / | ||
+ | </ | ||
- | Place '' | + | For Pixelcade LCD |
- | <file bash game.sh> | + | <code> |
- | #!/bin/bash | + | killall java |
- | System=$1 #system | + | /userdata/system/pixelcade/ |
- | Romname=${2%.*} #romname | + | </code> |
- | rom=${Romname## | + | |
- | /userdata/marquee.sh Gameselected $System " | + | |
- | </file> | + | |
- | Place '' | + | Now you'll get the following debug output: |
- | <file bash system.sh> | + | {{: |
- | # | + | |
- | System=$1 #System name | + | |
- | / | + | |
- | </ | + | |
- | Place '' | + | ===== Using the two HDMI outputs on a RPi4 ===== |
- | <file bash marquee.sh> | + | It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic |
- | #!/bin/bash | + | |
- | case $1 in | + | <WRAP center round important> |
- | Start) | + | This has broken on **v34** and higher. Stay on **v33** or lower if you intend to use this. |
- | Romname=$3 | + | </WRAP> |
- | Gamepath=$2 | + | |
- | marqueeimage=$Gamepath/ | + | |
- | if [ -f "/ | + | |
- | then | + | |
- | ffmpeg -i / | + | |
- | fi | + | ===== Using two computers ===== |
- | if [ -f "/ | + | [[https://forum.batocera.org/d/7269-dynamic-marquee-setup-for-all-platforms|Link to original forum post.]] [[https://www.youtube.com/watch? |
- | then | + | |
- | fbv /userdata/roms/ | + | |
- | elif [ -f " | + | |
- | then | + | |
- | fbv $marqueeimage | + | |
- | else | + | |
- | fbv /userdata/roms/mame/images/mame.png -fer | + | |
- | fi | + | |
- | ;; | + | This can be done using Batocera installed onto a device and another computer/Raspberry Pi connected to a separate display. So far, this has been tested successfully using Batocera installed on an x86_64 computer/Raspberry Pi with another Raspberry Pi acting as the marquee. |
- | Gameselected) | + | |
- | System=$2 #system name | + | |
- | Romname=$3 #romname | + | |
- | + | ||
- | if [ -f "/userdata/ | + | |
- | then | + | |
- | fbv /userdata/ | + | |
- | elif [ -f "/ | + | |
- | then | + | |
- | fbv "/ | + | |
- | else | + | |
- | fbv / | + | |
- | fi | + | |
- | + | ||
- | ;; | + | |
- | + | ||
- | Systemselected) | + | |
- | imagepath="/ | + | |
- | if [ -f " | + | |
- | then | + | |
- | fbv " | + | |
- | else | + | |
- | fbv / | + | |
- | fi | + | |
- | + | ||
- | ;; | + | |
- | + | ||
- | esac | + | |
- | </ | + | |
- | + | ||
- | Place '' | + | |
- | + | ||
- | <file bash script.sh> | + | |
- | # | + | |
- | + | ||
- | case $1 in | + | |
- | gameStart) | + | |
- | + | ||
- | gamepath=${5%/ | + | |
- | romname=${5## | + | |
- | / | + | |
- | ;; | + | |
- | + | ||
- | gameStop) | + | |
- | killall ffmpeg | + | |
- | ;; | + | |
- | esac | + | |
- | </ | + | |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 214: | Line 175: | ||
==== My Pixelcade LED/LCD panel isn't working! ==== | ==== My Pixelcade LED/LCD panel isn't working! ==== | ||
- | It could be that it's simply not plugged in correctly. Ensure that the USB cable on both ends is firmly secure in their ports. On the Batocera machine itself, it might be worth checking if it's functional on a different port (such as a USB 3.0 port if you were using a 2.0 port, or vice-versa). | + | Pixelcade takes a few more moments after ES has started before it "kicks in". |
+ | |||
+ | If it's still not working, it could be that it's simply not plugged in correctly. Ensure that the USB cable on both ends is firmly secure in their ports (or if using the LCD panel, that it's paired to the same Wi-Fi network as Batocera). On the Batocera machine itself, it might be worth checking if it's functional on a different port (such as a USB 3.0 port if you were using a 2.0 port, or vice-versa). | ||
If it's still not working, try out the following: | If it's still not working, try out the following: | ||
Line 226: | Line 189: | ||
~/ | ~/ | ||
</ | </ | ||
- | * If using the LED panel (not the LCD one), run '' | + | * If using Pixelcade |
+ | |||
+ | ==== Further Pixelcade troubleshooting ==== | ||
+ | |||
+ | Refer to [[https:// | ||
- hardware/lcd_led_marquees.1644716720.txt.gz
- Last modified: 22 months ago
- by atari