web2rgbmatrix

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

web2rgbmatrix

Unread post by kconger »

After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup.

https://github.com/kconger/MiSTer_web2rgbmatrix

Current features
  • Matrix: Display animated or static GIFs from SD card or by HTTP POST
  • Matrix: Display text by request
  • Matrix: Screen Savers: Blank, Tetris Clock, Plasma, Starfield, and Toasters
  • Web: Display status of Wifi, SD Card, loaded GIF, settings and connected client
  • Web: Settings for Wifi, matrix text color, matrix brightness, screen saver, and client timeout
  • Web: SD Card File Browser with upload support
  • Web: OTA updates
  • Web: HTTP calls for scripting
  • FTP: FTP Server for SD card file management
  • Serial: MiSTer_tty2x service support, requires GIFs installed on rgbmatrix SD Card
  • Serial: Debug output
  • MiSTer FPGA/RetroPie: Linux service that displays an animated and/or static GIF logo of the current running core.
  • MiSTer FPGA/RetroPie: Text fallback for missing GIFs
  • MiSTer FPGA/RetroPie: Store GIFs on system, storing on the requesting system introduces a playback delay due to the transfer
  • MiSTer FPGA/RetroPie: Update Script
Screen Savers in action: https://github.com/kconger/MiSTer_web2r ... nSavers.md

matrix-webui.jpg
matrix-on.jpg
matrix-off.jpg
matrix-rear.jpg
matrix-rear-open.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
neogeo81
Posts: 374
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 32 times
Been thanked: 45 times

Re: web2rgbmatrix

Unread post by neogeo81 »

Any chance of buying a already setup set?
AngelicLiver
Posts: 313
Joined: Fri May 29, 2020 8:50 am
Has thanked: 66 times
Been thanked: 86 times

Re: web2rgbmatrix

Unread post by AngelicLiver »

This is an awesome project, thanks!

I still haven't managed to get this working with the ESP32 I2C Matrix module I used (couldn't get hold of a Trinity board anywhere). Admittedly I haven't taken the time to work out the kinks mind you, I'm guessing the pins are different. 🤷‍♂️
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

neogeo81 wrote: Mon Sep 05, 2022 7:31 am Any chance of buying a already setup set?
I have no plans to build and sell these, it was just a one-off for myself. :)
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

AngelicLiver wrote: Mon Sep 05, 2022 9:02 am This is an awesome project, thanks!

I still haven't managed to get this working with the ESP32 I2C Matrix module I used (couldn't get hold of a Trinity board anywhere). Admittedly I haven't taken the time to work out the kinks mind you, I'm guessing the pins are different. 🤷‍♂️
Before I received my Trinity I used an ESP32-S2 to start developing. The pins needed to be defined completely differently, see below. The HUB75 library README has details. https://github.com/mrfaptastic/ESP32-HU ... el-I2S-DMA

Code: Select all

  
  //Pins for an Adafruit Feather ESP32-S2
  mxconfig.gpio.b1 = 39;
  mxconfig.gpio.b2 = 12;
  mxconfig.gpio.g1 = 10;
  mxconfig.gpio.g2 = 13;
  mxconfig.gpio.r1 = 38;
  mxconfig.gpio.r2 = 11;
  mxconfig.gpio.a = 18;
  mxconfig.gpio.b = 17;
  mxconfig.gpio.c = 16;
  mxconfig.gpio.d = 15;
  mxconfig.gpio.clk = 9;
  mxconfig.gpio.lat = 5;
  mxconfig.gpio.oe = 6;
  
AngelicLiver
Posts: 313
Joined: Fri May 29, 2020 8:50 am
Has thanked: 66 times
Been thanked: 86 times

Re: web2rgbmatrix

Unread post by AngelicLiver »

Ooh thanks, I'll have a play around when I next get a chance!
User avatar
RealLarry
Top Contributor
Posts: 767
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 85 times
Been thanked: 328 times

Re: web2rgbmatrix

Unread post by RealLarry »

Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

RealLarry wrote: Fri Sep 09, 2022 1:08 pm Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...
Thank you for the offer! I do plan on adding one at some point. Since tty2rgb is a different project I think it would be best to call it something like web2rgb. I'll reach out when I have something ready.
User avatar
RealLarry
Top Contributor
Posts: 767
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 85 times
Been thanked: 328 times

Re: web2rgbmatrix

Unread post by RealLarry »

kconger wrote: Fri Sep 09, 2022 4:06 pm
RealLarry wrote: Fri Sep 09, 2022 1:08 pm Are you planning an updater script for your MiSTer files? I'm asking because I've made a simple all inclusive updater and already included your project for future use. It is named tty2rgb there, but could be renamed to web2rgbmatrix or whatever if your updater would become available...
Thank you for the offer! I do plan on adding one at some point. (...) 'll reach out when I have something ready.
You're welcome! Just gimme sign...

Since tty2rgb is a different project I think it would be best to call it something like web2rgb.
Interesting and exciting to see more display technics coming to the family! :)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup. This weekend I finished my project and posted the details on GitHub, I hope others find it helpful.
Congratulations, this is a very cool thing!

How do you bind the displays with the wooden frame?
With adapters and screws from the back side?

Note, we added -qq to our inotifywait‘s for console quietness if we are not running debug mode.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Sat Sep 10, 2022 2:08 pm
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078) I was inspired to create a wireless RGB matrix marquee for my MiSTer setup. This weekend I finished my project and posted the details on GitHub, I hope others find it helpful.
Congratulations, this is a very cool thing!

How do you bind the displays with the wooden frame?
With adapters and screws from the back side?

Note, we added -qq to our inotifywait‘s for console quietness if we are not running debug mode.
The 3D printed brackets are screwed in at an angle into the frame. I can provide the STLs if interested.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

My Display has 3mm LED's so I think your STL's doesn't fit.

Anyway, it works really great.
IMG_small.jpg

My used Parts:
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
kirabate
Posts: 16
Joined: Wed Sep 16, 2020 2:37 am
Has thanked: 4 times
Been thanked: 6 times

Re: web2rgbmatrix

Unread post by kirabate »

Sup man, i can't make this to work, i flash de module, i have an ESP32 Trinity, i did everything but my MISTer just don't detect de module. Im in this Point. Img. 1

When I run the updater I get this screen img2 .
You do not have the required permissions to view the files attached to this post.
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

Thanks for testing. Try to run the update script again, hopefully, I've resolved the issue.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Thu Sep 15, 2022 9:56 am Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?
Sure, seems reasonable.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

...my Housing.

The size is about 40x10cm.
The back is (actually) made of cardboard and and holds magnetically. The magnets are part of the display accessories.

image0.jpeg
image2.jpeg
image1.jpeg
image4.jpeg
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Fri Sep 16, 2022 12:25 pm ...my Housing.

The size is about 40x10cm.
The back is (actually) made of cardboard and and holds magnetically. The magnets are part of the display accessories.
Very nice!
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

Thx.
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078)...
"Awesome" is the right word for these two rgbmatrix projects.
Many many thanks to you and hellbent.

Note, the only thing that doesn't work for me is uploading gifs to SD.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Fri Sep 16, 2022 2:01 pm Thx.
kconger wrote: Mon Sep 05, 2022 3:34 am After seeing @hellbent's awesome tty2rgbmatrix project(viewtopic.php?t=5078)...
"Awesome" is the right word for these two rgbmatrix projects.
Many many thanks to you and hellbent.

Note, the only thing that doesn't work for me is uploading gifs to SD.
Thank you.

For your problem is it through the web UI, FTP, or MiSTer script?
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.

The WebUi says Upload finished but the Picture was not found for showing it.

Both ways are showing a file on the SD Card but without further details like file size or date’s.

I am using an 8GB SD with Fat32.

Is the MiSTer Script able to upload pics to SD?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: web2rgbmatrix

Unread post by jca »

SD card full?
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Fri Sep 16, 2022 3:16 pm Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.

The WebUi says Upload finished but the Picture was not found for showing it.

Both ways are showing a file on the SD Card but without further details like file size or date’s.

I am using an 8GB SD with Fat32.

Is the MiSTer Script able to upload pics to SD?
Ah yes, that is fixed locally. I'll commit and push that up.

The update script can upload the GIFS to the SD over FTP, it's disabled by default since it's a complete overwrite every time.
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Fri Sep 16, 2022 3:16 pm Using FTP with WinSCP the transfer was never finished, the Upload Dialog/Counter stays at 100% and doesn’t close.
For FTP you must set your client to use only 1 connection, this is a limitation of the SimpleFTPServer library.
venice wrote: Fri Sep 16, 2022 3:16 pm The WebUi says Upload finished but the Picture was not found for showing it.
I've released a new version that fixes this issue.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

Jepp, FTP works fine now. I tried uploading and deleting a file.
Note, the Web Gui still shows v1.0.

I tried my tty2x Daemon (viewtopic.php?p=60138#p60138) with web2rgbmatrix but I only get the Corename shown on the Display.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Sat Sep 17, 2022 12:43 pm Jepp, FTP works fine now. I tried uploading and deleting a file.
Note, the Web Gui still shows v1.0.

I tried my tty2x Daemon (viewtopic.php?p=60138#p60138) with web2rgbmatrix but I only get the Corename shown on the Display.
Thanks for testing the tty client, I can't easily test without disassembling mine.

I released 1.2 which hopefully resolves tty support.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

kconger wrote: Sat Sep 17, 2022 2:58 pm Thanks for testing the tty client, I can't easily test without disassembling mine.
That was the reason for me to use magnets :mrgreen:
My are similar to these https://www.adafruit.com/product/4631
kconger wrote: Sat Sep 17, 2022 2:58 pm I released 1.2 which hopefully resolves tty support.
Thumbs Up, it works fine.

The Universal tty2x Daemon is now available at Github: https://github.com/venice1200/MiSTer_tty2x

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Sat Sep 17, 2022 4:08 pm
kconger wrote: Sat Sep 17, 2022 2:58 pm Thanks for testing the tty client, I can't easily test without disassembling mine.
That was the reason for me to use magnets :mrgreen:
My are similar to these https://www.adafruit.com/product/4631
kconger wrote: Sat Sep 17, 2022 2:58 pm I released 1.2 which hopefully resolves tty support.
Thumbs Up, it works fine.

The Universal tty2x Daemon is now available at Github: https://github.com/venice1200/MiSTer_tty2x
Thanks for confirming, I've updated my README to link to tty2x.
kconger
Posts: 95
Joined: Sun Sep 12, 2021 2:58 am
Has thanked: 113 times
Been thanked: 74 times

Re: web2rgbmatrix

Unread post by kconger »

venice wrote: Thu Sep 15, 2022 9:56 am Hi,
as some of hellbent's really great animated gifs doesn't have the Game Logo as last Picture within the gif (because of the gif loop), e.g. MarioBros,
I had the idea to play these animated gifs at first (if there is one availbale) from a different folder on SD, and if the video is over show the static gif.

This is similar to the function of tty2tft which plays available videos before the Logo is shown.

@kconger, what do you think?
Version 1.3 will now play the animated GIF before the static GIF if available. Details are in the README.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: web2rgbmatrix

Unread post by venice »

It works great, many thanks.

I/we only need to find a few replacements for some static gifs.
The defender galaga pic is a bit too retro and the defender pic contains just a few pixels.

Question, Is there a short blackout between the animated and the static gif?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

Post Reply